سؤال

Using Osmbonuspack: In my App, I can show the Markers/Bubbles on a map. Works great.

When clicking on a Bubble/Marker, I would like to do an action, e.g. displaying information in another Frame of the App. So, navigating to another screen of my App.

How can I attach a click handler to the Markers? Depending on the one clicked, I will show the related information.

So, no options menu is needed this time.

هل كانت مفيدة؟

المحلول

Yesterday I saw that the API of the Osmbonuspack has been redesigned. The API is much more intuitive. Great.

In step 0 of tutorial the basics are shown. Just add a setOnClickListener ... and GO!

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top