When G_SATELLITE_3D_MAP is added via the Maps interface and Maps is loaded,
apparently GE is not loaded until the Earth button is pressed. Once Earth
is loaded, apparently both Maps and Earth are updated in parallel with
features. When switching back to Maps (ie., Maps -> Earth -> Maps),
performance of Maps is decreased when new features are added -- possibly
Earth is now being updated in parallel, slowing down maps.
It'd be nicer if the presence of the not-visible views did not affect
performance of the visible view. If the views are being maintained in
parallel, maybe instead it'd be better to just update the visible view and
then transfer it's info as required to a new view as it loads. Or, just
give that responsibility to the user (using maptypechanged event).
At the moment, it appears not possible to stop 3D from burdening Maps once
3D has loaded -- it doesn't seem possible to unload it.
This has been posted here at the request of Roman N -- see
http://groups.google.com/group/google-earth-browser-plugin/browse_thread/thread/
d178140c81adad3a
(To overcome this performance hit, I externalized the switch -- I put a
button outside the Map/Earth and just have two different domains, one for
each view type -- Map/Earth code is too different anyway, at this point,
for what I am doing.)
Original issue reported on code.google.com by elder....@gmail.com on 1 Nov 2008 at 5:55
Original issue reported on code.google.com by
elder....@gmail.com
on 1 Nov 2008 at 5:55