Android HERE SDK. How to add info bubble to a MapPolyline

511 Views Asked by At

I have a question about infobubble in HERE map SDK. My application is plotting MapPolylines and laying out on the Map. What I need is how to add infobubble when I clicked one of the Polylines.

I am trying to extend the functionality of MapMarker and did some implementations but it is not possible.

Thank you for your help in advance.

1

There are 1 best solutions below

2
David Leong On BEST ANSWER

MapMarkers can show static images and can show an android view if it is tapped. Is this what you are looking for?

Perhaps you can register a MapGesterListener and listen to tap events? When a tap is received, you can call Map.pixelToGeo( PointF ) and put a map marker there with a static image.