In ionic app which is based on google map Api v3
. I want to make your location button
withlocation pointer
visible in app. is there any possible way?
Regarding to Google documentation https://developers.google.com/maps/documentation/android-api/location#my-location
I add these lines to code but no result:
let mapOptions = {
center: latLng,
zoom: 15,
MyLocationEnabled: true,
setMyLocationButtonEnabled: true,
zoomControl: false,
disableDefaultUI: true,
mapTypeId: google.maps.MapTypeId.ROADMAP,
}
Any help Duds ? what I tried, all failed?
Are you using the native implementation or the Javascript SDK?
I’m using Javascript SDK.
did You have sloved that issue??
No , from Iran we can not use google API easily anymore we switched to using openstreet with leaflet.