question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

how to activate userlocation marker ? setMyLocationEnabled

See original GitHub issue

is there a method to display default user location like in google maps sdk ?

map.setMyLocationEnabled(true);

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
starandcommented, Apr 8, 2019

You can try the following:

                        map.getPositionIndicator().setZIndex(50);
                        map.getPositionIndicator().setVisible(true);

But, positioning indicator will be shown only after position update.

0reactions
Xgamefactorycommented, Apr 12, 2019

i guess you forget to add default image for position indiciator and forgot to mention it in docs and your github examples )

we added image marker but still no position indicator is visible.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Android map Marker size and user location smooth movement
1) I'm displaying user location with setMyLocationEnabled(true) , but on location change it don't get a smooth movement, but only a change ...
Read more >
GoogleMap.setMyLocationEnabled - Tabnine
How to use ... setMyLocationEnabled (Showing top 20 results out of 324) ... @Override public void onInfoWindowClick(Marker marker) { if (marker.
Read more >
Location Data | Maps SDK for Android - Google Developers
You can use the My Location layer and the My Location button to show your user their current position on the map. Call...
Read more >
Introduction to Google Maps API for Android with Kotlin
Here you enable the zoom controls on the map and declare MapsActivity as the callback triggered when the user clicks a marker on...
Read more >
Google Maps Current Location in Android Studio ... - YouTube
In this video tutorial#03 for our android google maps App (Google Maps Nearby Places App, The Finder App), you guys will learn how...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found