CodeIgniter Forums
Google Maps API library by Biostall for codeigniter - 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: Google Maps API library by Biostall for codeigniter (/showthread.php?tid=56863)



Google Maps API library by Biostall for codeigniter - El Forum - 01-26-2013

[eluser]gazza7364[/eluser]
Hi

What I would like to know is, can you update the map on the fly. I have a list of peaks, which when clicked would show that peak on the map. When the map is first loaded all the fpeaks load on the map. What I'm trying to do, is when a fpeak name is clicked , it will bring the fell info from a database, then load into the map, but removing all the other fells currently showing. I have got it all working with jquery getting the info from the database, but I cannot see a way of updating the map.

What I can see is
Code:
$map['js']
is loaded in the header and
Code:
$map['html']
in the body,
So by sending the data to the div where the map is contained on the fly, would need the
Code:
$map['js']
reloading each time data is sent to the map in div, or I'm I getting this wrong.

I have attached a screen shot showing the page on first load.


Any help would be appreciated.






Google Maps API library by Biostall for codeigniter - El Forum - 01-26-2013

[eluser]Aken[/eluser]
What does this have to do with CodeIgniter?


Google Maps API library by Biostall for codeigniter - El Forum - 01-26-2013

[eluser]gazza7364[/eluser]
[quote author="Aken" date="1359199276"]What does this have to do with CodeIgniter?[/quote]

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

Its a library written for codeigniter, now do you see the connection?


Google Maps API library by Biostall for codeigniter - El Forum - 01-26-2013

[eluser]Aken[/eluser]
https://github.com/BIOSTALL/CodeIgniter-Google-Maps-V3-API-Library/issues


Google Maps API library by Biostall for codeigniter - El Forum - 01-27-2013

[eluser]gazza7364[/eluser]
[quote author="Aken" date="1359246260"]https://github.com/BIOSTALL/CodeIgniter-Google-Maps-V3-API-Library/issues[/quote]

Hi thanks for link, I have been to the biostall home page for the google maps api, but got no response, thats why I came to the codeigniter forum, to see if anyone else had been using the library and had came across the same problem.

Will try the link above.

Thanks again