[OpenLayers-Dev] OpenLayers.Layer.VirtualEarth and new Road Map style

Scott Stewart scott.stewart at nbtsolutions.com
Mon Mar 7 18:38:31 EST 2011


Hi

Im trying to get the OpenLayers.Layer.VirtualEarth layer type to use the
'new' road style

from

http://msdn.microsoft.com/en-us/library/bb412515.aspx,<http://msdn.microsoft.com/en-us/library/bb412515.aspx>

"Bing Maps has introduced a new enhanced road map style for all Bing Maps
APIs. This style is designed to improve readability and interaction for
imagery with data overlays. This map style is in use on
http://www.bing.com/maps. Set the VEMapOptions.UseEnhancedRoadStyle
Property<http://msdn.microsoft.com/en-us/library/gg252019.aspx>to
*true* to opt-in to the new map style when you use the Bing Maps AJAX
Control. This opt-in period ends on April 30, 2011. On May 1, 2011 the new
map style will become the only road style available."

If I just use the OpenLayers.Layers.VirtualEarth layer type, I get the 'old'
road mapstyle., not the new.
What is the prescribed/best way to make your VirtualEarth layers use this
updated style?

PS I dont want to use the Bing layer type, i need a minimal impact change to
my code.




-- 
Scott Stewart
Principal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20110307/4d6a635e/attachment.html


More information about the Dev mailing list