Closed hengseyha closed 1 year ago
Can you please share a reproduction? You can use https://vite.new/vue
Hi @HusamIbrahim ,
To clarify the missing controller is on fullscreen , zoom in and zoom out button both desktop and mobile browser.
I use typescript for the project.
Please check the link here: https://camrealtyfrontend.web.app/
And drag on map also not working properly. Can you check this?
TypeScript shouldn't be a problem. Can you share a minimal reproduction on StackBlitz or CodeSandbox (or even a repo)? Without that I can't help much I'm afraid.
Let me prepare this.
@hengseyha did you find a way to make the drag work properly ? When I disable draggable on the map, the cursor is the default one which is good When I enable it, it's the grab cursor but it doesn't work
Same here!
Same here, the draggable cursor is there, but I can not drag the map.
If I remove the draggable option from the Marker component, the map gets draggable.
@olgber Do you mean dragging the map or a marker. Can you share an example?
I mean dragging the map is not working when the marker is draggable. Dragging the marker is working fine. If I set the marker option draggable to false, then the map becomes draggable.
<GoogleMap ref="mapRef" :api-promise="apiPromise" style="width: 100%; height: 300px" :center="center" :map-type-control="true" :fullscreen-control="true" :zoom="15"> <Marker ref="mapMarkerRef" :options="markerOptions" @dragend="test($event)" /> </GoogleMap>
Seems to work fine on latest
https://github.com/inocan-group/vue3-google-map/assets/39692071/659a3a31-69ea-4b28-a2b8-c50236ee7676
I am using "vue3-google-map": "^0.19.0"
It was the anchorPoint option that prevented the dragging, removed it and it is working fine now. Thanks for your assistance :)
Please help, google map doesn't show map control