Andrew Leach wrote:
> If you have a wide line showing the trail [A], and a narrow line
> indicating the conditions [B] on top of it (so it shows as a stripe
> down the middle of the trail), would it be acceptable to use an
> encoded polyline for A so it didn't have to be removed on a zoom? The
> level of detail shown is automatically controlled, and you just need
> to redraw B. Leaving A on the map and re-drawing B on top should
> achieve the result you want.
>   
My [A] lines are already encoded but they are way too big to be loaded 
all at once.  The json file, even with encoded, would be big (counted in 
mb) and too slow to download.  Plus, the data comes from a PostGIS 
(postgresql) database so I have to deal with this too.

If you want to take a look at the application (for your own interest) :
http://cartes.fcmq.qc.ca/mapguide/fcmq/client/index_en.html

> On the other hand, Marcelo's solution is nice and simple.
>   
Yep.  I'll go with this solution.

Thanks to both of you,

Alexandre




-- 
Alexandre Dubé
Mapgears
www.mapgears.com

--

You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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-api?hl=en.


Reply via email to