Global Robot Empire Member Dec 23, 2024 #1 Is there any way to change the default Google Maps MyLocation Icon to a Directional Image – which Rotates according to Bearing I'm using Google Maps, GPS and Google Maps Extras – thank you Martin Pearman for this Library. I searched forum and in a post – Martin instructed to use OSMDroid and modify the JAR by replacing the Image file. Thing is – I'm not using OSMDroid. Any help is thoroughly appreciated. Thank you. Attachments maps2.png 83 KB · Views: 106 Last edited: Dec 23, 2024
Is there any way to change the default Google Maps MyLocation Icon to a Directional Image – which Rotates according to Bearing I'm using Google Maps, GPS and Google Maps Extras – thank you Martin Pearman for this Library. I searched forum and in a post – Martin instructed to use OSMDroid and modify the JAR by replacing the Image file. Thing is – I'm not using OSMDroid. Any help is thoroughly appreciated. Thank you.
Erel B4X founder Staff member Licensed User Longtime User Dec 24, 2024 #2 You can hide the default button with: B4X: gmap.GetUiSettings.MyLocationButtonEnabled = False Put your own ImageView above the map and handle the CameraChange event or use a timer to update the rotation based on the camera bearing. Upvote 0
You can hide the default button with: B4X: gmap.GetUiSettings.MyLocationButtonEnabled = False Put your own ImageView above the map and handle the CameraChange event or use a timer to update the rotation based on the camera bearing.