O'Reilly logo

Programming with CodeIgniter MVC by Yehuda Zadik, Eli Orr

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Example 2 – using third-party libraries such as the Google Maps CI library wrapper

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 at application/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 at application/libraries/.
  • Google Maps V3 API: This is a PDF file for in-depth, possible library settings and usage.

In ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required