CodeIgniter Forums
Interactive Map populated by database - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Interactive Map populated by database (/showthread.php?tid=58253)



Interactive Map populated by database - El Forum - 05-28-2013

[eluser]maddtechwf[/eluser]
I've gotten my database all laid out and some point's already entered. I've been using this CodeIgniter "plugin" for my Google Maps, which works very well.

I'm trying to write out my controller for the page but need a little help. I'm trying to write it so that the page does not need to be reloaded each time a hyperlink is clicked to show different points.

My page has a floated div that has my different categories which are all hyperlinks. When one is clicked, I would like those points loaded on the page.

Can anyone help me with this?


Interactive Map populated by database - El Forum - 05-28-2013

[eluser]TheFuzzy0ne[/eluser]
I've not used the Google Maps API before, but this Stack Overflow post might give you some inspiration.

http://stackoverflow.com/questions/7701077/add-marker-function-with-google-maps-api