Welcome Guest, Not a member yet? Register   Sign In
Google Maps API library by Biostall for codeigniter
#1

[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.



#2

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

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

Try this http://biostall.com/codeigniter-google-m...pi-library

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

[eluser]Aken[/eluser]
https://github.com/BIOSTALL/CodeIgniter-...ary/issues
#5

[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




Theme © iAndrew 2016 - Forum software by © MyBB