I am trying to create dialogs in jQuery Mobile that appear when you click the google maps marker.
Example URL: http://cyclestreets.darkgreener.com/location/ (scroll to London, UK to see markers).
I have part of the way with this code:
google.maps.event.addListener(map_marker, 'click', function() {
$.mobile.changePage({ url: $("#photo"), data: "id=" + marker.id, type: "GET"}, 'pop', false, true);
});
But, a few issues with style and data:
source
share