Hello,

You should not use GMarker but a GOverlay subclass :

http://code.google.com/p/gmaps-samples/source/browse/trunk/youtube/markerlight.js?r=2300

For the lines you should use encoded polylines

http://facstaff.unca.edu/mcmcclur/GoogleMaps/EncodePolyline/

Maybe the best to do is to only show  the geometries on current user
viewport.


Here is

On Jan 9, 6:30 am, fayaz <[email protected]> wrote:
> Hi,
>      I wanted to place about 4000 lines and 4000 markers on map,but
> the script runs very slow and the system hangs on.Is there any simple
> way to do this or any optimization technique,help me plz
-- 
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