Closed gabrielGallardo closed 8 years ago
How to use this property?, i try this:
var mapa = maps.createView({ mapType: maps.MAP_TYPE_NORMAL, myLocationEnabled: true });
But nothing.
Sorry, this works fine, however I would like to see the compass that appears on google maps on the top right, is it possible?
Nope, that's not exposed by the Google Maps SDK.
Ok, thanks.
Actually there is: https://developers.google.com/maps/documentation/ios-sdk/controls#compass
GMSMapView *mapView_;
mapView_.settings.compassButton = YES;
There is a PR for compassButton and more...
Reopening! I read the issue too fast. Of course myLocationEnabled
!= compassEnabled
. @yozef do you want to add it to your existing PR? EDIT: https://github.com/hansemannn/ti.googlemaps/pull/30 already takes care of it, great! 🚀
You can use the
myLocationEnabled
for this.