Tag Archives: Window Popup

How to integrate Google map in custom CMS?

The client has PHP-MYSQL based custom CMS Internet site. How to combine Google map there. Clients website consist of some specific address which i want spot with the help of Google map. Any suggestion and comment in this regard will possibly be appreciated. Thank An individual. Code: < div id=" google_map" style=" wider: 600px; height: 400px; " > < /div> < script type=" text/javascript" src=" http: //maps. yahoo and google. com/mapsfile=api& amp; v=2. x& amplifier; key=YOUR_GOOGLE_MAPS_KEY" > < /script> < script type=" text/javascript" > //<! CDATA var road = null; var geocoder = null; whenever (GBrowserIsCompatible()) map = new GMap2(document. getElementById(" google_map" )); geocoder = new GClientGeocoder(); if (geocoder) var deal with = " 123 The Way, Miami, FL 33131"; var level = geocoder. getLatLng(address, function(point) whenever (! point) alert(address + " definitely not found" ); otherwise map. setCenter(point, 13); var marker = new GMarker(point); road. addOverlay(marker); marker. openInfoWindowHtml(" < p> The info window popup< /p> " ); ); < /script> .

Posted in Web Design | Tagged , , , , , , , , , , , , , , , , , , , | Leave a comment