-
Notifications
You must be signed in to change notification settings - Fork 169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to enable Show Location button? #44
Comments
I believe you enable my location
|
Not exactly. This is how I enable it:
In iOS Also this only shows the blue dot where your location is. What I want is to display the button at the bottom-right corner, which when pressed moves the map camera to your location. I am sure that this is possible with GMaps API since there is another nativescript-googlemaps plugin which does this by default. But your plugin has more rich API :) |
+1 |
Hi, I got this code to work on android and ios. Hope it helps.
Here is a more complete sample. (not tested). Sorry for the bad formating of the code under. //Plugin from : https://github.com/NathanaelA/nativescript-permissions
|
I confirm that the example is working on my side. Thanks, @Stavanger75 ! |
How I do add input autocomplete directions to mapview with angular and typescript on nativescript? |
@Stavanger75 . |
I got the map working like mentioned by @Stavanger75 , BUT something very weird is going on here!
how is that possible that console.log prints |
Hi,
I am wondering how to enable the Location Button on my map (bottom right):
http://imgur.com/R1KFUtJ
BTW
animateToLocation
method of thegMap
object throws error when executed:which resulted in app crash.
The text was updated successfully, but these errors were encountered: