bibiloute wrote: > Hello everyone, > > After various research, I have not answered my question, then: > > Is there a way to differentiate several markers in the same places in > a "MapActivity? > > I placed markers at the same place but only the first reaction to an > event "OnTap." > > I have seen solutions based on Javascript, but it seems that we can't > insert Javascript in MapActivity.
I have several MapView samples that may help: http://github.com/commonsguy/cw-android/tree/master/Maps/NooYawk/ http://github.com/commonsguy/cw-advandroid/tree/master/Maps/NooYawkRedux/ http://github.com/commonsguy/cw-advandroid/tree/master/Maps/EvenNooerYawk/ http://github.com/commonsguy/cw-advandroid/tree/master/Maps/ILuvNooYawk/ http://github.com/commonsguy/cw-advandroid/tree/master/Maps/NooYawkAsync/ They all build on the previous one, because they come from some of my books. If by "differentiate several markers" you just want to distinguish their taps, the first project demonstrates that. If by "differentiate several markers" you want different icons per marker, the ILuvNooYawk (4th) project demonstrates that. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android App Developer Books: http://commonsware.com/books -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe from this group, send email to android-beginners+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.

