Javascript til Google maps
Har fundet denne free java script:<script type="text/javascript">// <![CDATA[
$(document).ready(function(){
//set up markers
var myMarkers = {"markers": [
{"latitude": "31.42866311735861", "longitude":"-98.61328125", "icon": "img/house.png", "baloon_text": 'This is <strong>Texas</strong>'},
{"latitude": "35.101934057246055", "longitude":"-96.6796875", "icon": "img/castle.png", "baloon_text": 'This is <strong>Oklahoma</strong>'},
{"latitude": "38.61687046392973", "longitude":"-98.876953125", "icon": "img/house.png", "baloon_text": 'This is <strong>Kansas</strong>'}
]
};
//set up map options
$("#map").mapmarker({
zoom : 5,
center : 'United States',
markers : myMarkers
});
});
// ]]></script>
Men hvordan ændre jeg "center : 'United States'," til Lat/long f.eks: "center: "55.681818390556934", "12.593255639076233""
På forhånd tak