Maybe this has to do with the order with which Google Maps redraws the
map.  

 

If I have only the KmlLayer displayed, I don't see the flashing since
the map is redrawn so quickly.

 

However, when I toggle the display of my Markers on, I see the flashing.
I see the map and the markers immediately redrawn.  Then I see a pause
and then the KmlLayer is redrawn.

 

I did see a significant improvement in the zoom performance when moving
from v3.2 to v3.3 though I still see what I have described.  Should I
consider this poor performance due v3 still being a work in progress?
Will I see an improvement in the future?  Or is there a way that I can
remedy this now?

 

From: google-maps-js-api-v3@googlegroups.com
[mailto:google-maps-js-api-v3@googlegroups.com] On Behalf Of Kevin
Sent: Tuesday, March 01, 2011 2:48 PM
To: google-maps-js-api-v3@googlegroups.com
Subject: [Google Maps API v3] kmllayer redraws / flashes on map zoom

 

I have a kml file containing polylines representing highways in a state.
It is loaded into Google Maps v3.3 as a KmlLayer.

 

Whenever I zoom in or out on the map, the KmlLayer appears to be
redrawn.  This causes a flashing effect for the polylines (they
disappear and are then redrawn) while my Markers stay drawn (and don't
flash).

 

Is there a way to eliminate this flashing effect?  I would really like
to get rid of it.  The same Kml is displayed regardless of the zoom so
from an application point of view, there isn't a need to redraw the
layer.

-- 
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
google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to