OpenStreetMap Forum

The Free Wiki World Map

You are not logged in.

#1 2019-01-01 18:37:52

WorldWide2018
Member
Registered: 2018-01-23
Posts: 29

MapOverlay Android - ClickListener for Polygon (Overlay) in MapView

Hello together,

there are several functions i tried to use, to interact with the overlays on my map, but it did not work. I've researched and tried to overwrite the Overlay class and the functions "SingleTap", "DoubleTap", "TouchEvent" and further, but no result.

Can someone show me how to get a response (Log, Toast, Anything) if i tap within the Polygon (Overlay). Thanks many time, i tried everything and nothing worked.

Offline

Board footer

Powered by FluxBB