CVertex


Howdy Via Virtual Earthers,

I've used VE on 4 sites up until now and my experience with it has been smooth and more importantly fun.

Alas I have a few niggles with Virtual Earth:
  1. Virtual Earth clearly has more features than google maps, but is there a way MS can perhaps divide up the javascript into more reasonably scripts. I'd consider 3d, bird's eye view and maybe even sattellite views to be optional extras that could be included in an optional JS file. Maybe this has been debated before, but I couldn't find a discussion.
  2. 600kb is just too damned big.
  3. 80-20 rule seems to apply to the virtual earth feature set. 80% of mashers use 20% of features.
  4. Why doesn't the pushpin icon support PNGs in IE6 It'd be great if I could use a transparent PNG as the pin source without having to add the pin, get the pins element then swap the image for a span with AlphaImageLoader.
Thanks for a cool product,
-CVertex




Re: 600kb uncompressed.... jeebus

Earthware


Hi

Good news, MS have mentioned they are taking steps to modularise the js into specific functions as you suggest. When this will be available I dont know.

Brian Norman

www.earthware.co.uk






Re: 600kb uncompressed.... jeebus

CVertex

Awesome! Thanks Brian!

Since the VE js we reference is just a single JS file simply document.writes a real script tag onto to the page, maybe they could put the optional extras on the ve.js query string.

This news has given me confidence to stick with VE, for personal projects anyway. I still leave the choice of control up to the our customers.

Where did MS mention this







Re: 600kb uncompressed.... jeebus

Earthware

At a uk partners day, but gave no real schedule for this

Brian Norman

www.earthware.co.uk





Re: 600kb uncompressed.... jeebus

Derek Chan

VE compression is already in place for V3 and V4.

More information here:
http://blogs.msdn.com/mappoint_b2b/archive/2007/04/04/virtual-earth-version-3-4-map-controls-compressed.aspx

I think VE is using IIS compression which is done through your browser. Can anyone verify

Hope that helps,




Re: 600kb uncompressed.... jeebus

SoulSolutions

Version 5 did many things to improve the speed of the control, the most significant for me was removing the tile overfetching:

http://www.soulsolutions.com.au/Blog/tabid/73/EntryID/133/Default.aspx

But yes the javascript is very big (IE and firefox will download the GZIP compressed versions) and a modular system would be awesome. It would be interesting to see what would be the savings though. For example if the specific birdseye functionlaity was only say 10KB compressed, the expense of another file to download may not be worth it, if it was 25KB maybe that is different

John.






Re: 600kb uncompressed.... jeebus

Earthware

Yes john I guess thats a point, downloading multiple files will be bigger and slower. However the big advantage might be that you could load the modules on demain so only need to load in a model when the user requests the feature you want. For example until the user asks for directions you would not need to load the directions and routing module

It was suggested ver 5 would start to make steps to be modular, has anyone noticed anything in the VE5 js to back this up

Brian Norman

www.earthware.co.uk