Search code examples
androidmapquest

MapQuest marker click listener and Infowindow using Mapquest direction API in android


i'm using mapquest direction API and able to do alomost every operation with map like adding multiple markers, drawing a route between multiple markers and so on. but i'm stuck at marker click Listener event and showing a infowindow on click event. So please help me if there exist any work around.


Solution

  • Rather than using the MapQuest JavaScript api, which will be deprecated in the near future, use the MapQuest Leaflet plugins which is what MapQuest.com is using now. You can still add multiple markers, draw route highlights, and get better event handling on mobile devices.