Google maps integration with codeigniter

Today I will explain, Google maps integration with codeigniter using Google maps library.

lamborghini gallardo hire

Now I had taken a open source Google maps library and placed it under codeigniter library folder and also added jsmin.php this library accepts a string as input and returns another string as output.

Now I will create a view file as maps.php which will display the Google maps.
For now I will show a small example to use googlemaps.php library to add marker to location.

Here in the above code I am sending location name to the controller function google().
Now we will use these lacation name and passed it into library function initialize()
To configure google map.

Here I also used library function add_ marker() to create marker in the Google maps.

Thanks for reading this article.
Live Demo


Saritha Reddy

I am Saritha Reddy, a Remote codeigniter,Angularjs Developer. I have 4+ years of strong experience in designing, implementing, Programming and delivering advanced XAMPP ( Apache, MySQL and PHP) Web applications development.
I am an Indian national and based Andhra Pradesh,Hyderabad.
In addition to providing custom programming and design, I also have extensive experience with Open Source technologies to keep costs down and get websites running with as little fuss and wait as possible.

More Posts

Follow Me:
TwitterFacebookGoogle Plus

Leave a Comment

Your email address will not be published. Required fields are marked *