Here is the code I wrote in View file
<head> <? $map = $app->library->gmap; $map->printGoogleJS(); $map->setMapType("satellite"); ?> </head> <body> <? $map->addGeoPoint(23.700001,90.389999,"Dhaka"); $map->showMap(); ?> </body>
And added a google map API key in app/config/configs.php as
$configs['google_map_api']="api key";
And you can see the live demo of this one at http://javapark.net/hasin/orchid/gmaps
RSS feed for comments on this post · TrackBack URI
Leave a reply