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.





Messages In This Thread
Google Maps API library by Biostall for codeigniter - by El Forum - 01-26-2013, 04:04 AM
Google Maps API library by Biostall for codeigniter - by El Forum - 01-26-2013, 04:21 AM
Google Maps API library by Biostall for codeigniter - by El Forum - 01-26-2013, 07:14 AM
Google Maps API library by Biostall for codeigniter - by El Forum - 01-26-2013, 05:24 PM
Google Maps API library by Biostall for codeigniter - by El Forum - 01-27-2013, 04:57 AM



Theme © iAndrew 2016 - Forum software by © MyBB