Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use Google Map API in CodeIgniter?

How to get started with CodeIgniter and Google Maps API.

like image 204
Himanshu Avatar asked Feb 16 '12 09:02

Himanshu


2 Answers

I've got a CodeIgniter library specifically for this purpose. You can find more information about it here:

http://biostall.com/codeigniter-google-maps-v3-api-library

A few demos of what can be acheived using the library:

http://biostall.com/demos/google-maps-v3-api-codeigniter-library/

Give me a shout if you have any questions or need any help :)

Enjoy!

like image 67
BIOSTALL Avatar answered Sep 17 '22 23:09

BIOSTALL


CodeIgniter is a backend (server-side) framework. Google Maps API is a frontend (client-side) library. There isn't really any specialized knowledge you need to know about CodeIgniter to get Google Maps working, other than being able to render a view. The question is somewhat flawed in that you assume one depends on the other, when in reality, they are very much decoupled.

The question is similar to how do i get jquery working with codeigniter?...

Reading the CodeIgniter documentation would be a start to understanding how to echo HTML and JavaScript to the browser. The rest is almost entirely client-side JavaScript programming.

like image 27
Jordan Arseno Avatar answered Sep 18 '22 23:09

Jordan Arseno