| | |
| | | <div class="mt-auto mb-32 flex gap-2 flex-col"> |
| | | <div |
| | | class="size-8 rounded flex-center cursor-pointer bg-[#fcfcfc] font-thin" |
| | | title="清除标记" |
| | | @click="clearMarker" |
| | | > |
| | | <span class="ywifont ywicon !text-[26px] ywicon-qingchu" ></span> |
| | | </div> |
| | | <div |
| | | class="size-8 rounded flex-center cursor-pointer bg-[#fcfcfc] font-thin" |
| | | :title="fullScreenTitle" |
| | | @click="toggleFullScreen" |
| | | > |
| | |
| | | activeMapToolPanel.value = type; |
| | | }; |
| | | |
| | | const clearMarker = () => { |
| | | props.olMap.clearMarker(); |
| | | }; |
| | | const locationLoading = ref(false); |
| | | const locationCurrent = async () => { |
| | | locationLoading.value = true; |