On Jan 3, 2:52 pm, sandy037 <[email protected]> wrote:
> Hi all,
>
> I am currently working on google map javascript v3. I want to load
> several directions on the map using lat and lng values from a
> database. My problem is concerned with the speed with which this
> processing takes place. The map might potentially contain 20,000
> directions to be loaded and may be more. Which is the best way to pull
> all the data from the database like using JSON or XML or something
> other? Also is it a good idea to load all the directions at once on
> the maps coz it might take a lot of loading time. Is there any way to
> cluster the directions like markers?
20,000 polys cannot be loaded & displayed simultaneously but you can
do it in user selected subsets.
Look at the "US Highways" demo in:
http://www.polylib.us
1754 polys with 1.5 million vertices are stored in 200 (50 states - 4
categories) poly definition files which are loaded & displayed on
demand. Too many at the same time will crash the browser. Different
browsers have different limitations.
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-maps-js-api-v3?hl=en.