Himanshu
Himanshu

Reputation: 1158

How to use Google Map API in CodeIgniter?

How to get started with CodeIgniter and Google Maps API.

Upvotes: 7

Views: 17868

Answers (2)

BIOSTALL
BIOSTALL

Reputation: 1696

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!

Upvotes: 15

Jordan Arsenault
Jordan Arsenault

Reputation: 7418

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.

Upvotes: 4

Related Questions