This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
OnMapClick() and onLocationLayerClick are called one by one #12011
Labels
Android
Mapbox Maps SDK for Android
SEMVER-MAJOR
Requires a major release according to Semantic Versioning rules
Milestone
Hello
My app has the map. I need to handle clicks on the location marker (blue point for current location) on the map. For the location marker I use custom icon (don't know if it is important or not).
My map has
OnMapClickListener
andOnLocationLayerClickListener
.And
onMapClick()
andonLocationLayerClick()
are called one by one (both!) if I click on the location marker.But I need that
onMapClick()
is not called if I click on the location marker cause it leads to unexpected behavior.mapbox sdk:
com.mapbox.mapboxsdk:mapbox-android-sdk:6.1.1
location layer plugin:
com.mapbox.mapboxsdk:mapbox-android-plugin-locationlayer:0.5.2
device: Sumsumg S7 edge. android version 7.0
Could you help with that?
Please let me know if you need any info about code or steps to reproduce.
Thanks
The text was updated successfully, but these errors were encountered: