Posts Tagged code snippets

JavaScript for Google Map

var map = null; var point = null; var mmarker = null; var arr = new Array(“54.04″,”-1.34″,”54.04″,”-1.34″); // this can set the initial location for people, when all the app complete the data can be changed by server using the real-time location from the database. function addIconImages(){ for(i=0;i<arr.length;i=i+2){ map.newMarker = new GMarker(new GLatLng(arr[i],arr[i+1]), {draggable: false, [...]

No Comments