ajouter un marqueur sur google maps
Bonjour
dans une appli jquery, j'ai ce code pour afficher une carte :
Code:
1 2 3 4 5 6 7 8 9 10 11
| $('.page-map').live("pagecreate", function() {
var lat = 47.4833,
lng = 1.1833;
var latlng = new google.maps.LatLng(lat, lng);
var myOptions = {
zoom: 14,
center: latlng,
mapTypeId: google.maps.MapTypeId.ROADMAP
};
var map = new google.maps.Map(document.getElementById("map-canvas"),myOptions);
}); |
Comment je peux ajouter un marqueur sur le point lat = 47.4833 et lng = 1.1833
Merci pour vos réponses