Welcome Guest, Not a member yet? Register   Sign In
Google Maps - Passing Data via jQuery
#3

[eluser]bretticus[/eluser]
Sounds fine to me. Then again, not being very familiar with your maps, why not just pass the array to the view that the map is on? you could pass it as a json-encoded array string. I suppose if a person is surveying New York City and you have thousands of markers in your database, it might be nice to use ajax to get just the applicable ones to the current map view.

http://us.php.net/manual/en/function.json-encode.php


Messages In This Thread
Google Maps - Passing Data via jQuery - by El Forum - 03-17-2009, 03:34 AM
Google Maps - Passing Data via jQuery - by El Forum - 03-17-2009, 10:27 AM
Google Maps - Passing Data via jQuery - by El Forum - 03-17-2009, 01:29 PM
Google Maps - Passing Data via jQuery - by El Forum - 03-17-2009, 03:45 PM
Google Maps - Passing Data via jQuery - by El Forum - 03-17-2009, 03:52 PM
Google Maps - Passing Data via jQuery - by El Forum - 03-17-2009, 04:25 PM
Google Maps - Passing Data via jQuery - by El Forum - 03-17-2009, 04:54 PM
Google Maps - Passing Data via jQuery - by El Forum - 03-17-2009, 04:57 PM
Google Maps - Passing Data via jQuery - by El Forum - 03-17-2009, 05:52 PM



Theme © iAndrew 2016 - Forum software by © MyBB