In this example, we will see how to install and use the Google Maps CI library with some cool services. First, we need to download the library files from http://biostall.com/codeigniter-google-maps-v3-api-library.
In the downloaded TAR file, we shall find the following libraries:
Googlemaps.php
: This is the Google Maps API library for CI. We shall place it atapplication/libraries/
.Jsmin.php
: This is an auxiliary code for the library to generate the JavaScript generated code for enabling the smart Google Maps UI interaction. We shall also place it atapplication/libraries/
.Google Maps V3 API: This is a PDF file for in-depth, possible library settings and usage.
In this example, we will provide an initial page showing several marked places together on the Google Map window that we will create in our application. In that visualized view, we will enable the user to zoom into predefined selected places we have marked...