jquery Programming Glossary: currentpositionmarker
clean example of directions with google maps in jquery mobile? http://stackoverflow.com/questions/13345479/clean-example-of-directions-with-google-maps-in-jquery-mobile zoom 15 center currentPosition mapTypeId google.maps.MapTypeId.ROADMAP directionsDisplay.setMap map var currentPositionMarker new google.maps.Marker position currentPosition map map title Current position var infowindow new google.maps.InfoWindow.. map map title Current position var infowindow new google.maps.InfoWindow google.maps.event.addListener currentPositionMarker 'click' function infowindow.setContent Current position latitude lat longitude lon infowindow.open map currentPositionMarker.. 'click' function infowindow.setContent Current position latitude lat longitude lon infowindow.open map currentPositionMarker function locError error initialize map with a static predefined latitude longitude initialize 59.3426606750 18.0736160278..
|