Dear Community,
Im trying to set a marker on a google jquery mobile maps.
Using this code:
$(document).live("pageshow", "#map_page", function() {
$('#map_canvas').gmap().bind('init', function(ev, map) {
$('#map_canvas').gmap('addMarker', {'position': '57.7973333,12.0502107', 'bounds': true}).click(function() {
});
});
});
Is there a way to set the marker based on an address?
Or is there a way to get the coordinates based off this addres? I could not find any simple example on how to make this work and have searched for about 2 hours to find a way to do it.
Also how would one set the zoom ?
Hope someone can share a quick example for me newbie,
Kind regards!