if (GBrowserIsCompatible()) { var lat1 = document.getElementById("txtlat1").value; var lng1 = document.getElementById("txtlng1").value; var map_center = new GLatLng(lat1, lng1); // 19.09353 72.854891 map = new GMap2(document.getElementById("map_canvas")); //New GMap object map.setCenter(map_center); var ui = new GMapUIOptions(); //Map UI options ui.maptypes = { normal:true, satellite:true, hybrid:true, physical:false } ui.zoom = {scrollwheel:true, doubleclick:true}; ui.controls = { largemapcontrol3d:true, maptypecontrol:true, scalecontrol:true }; map.setUI(ui); //Set Map UI options
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)