[OpenLayers-Trac] [OpenLayers] #3013: Add "mapVersion" parameter to Bing layer

OpenLayers trac-20090302 at openlayers.org
Fri Jan 14 07:14:09 EST 2011


#3013: Add "mapVersion" parameter to Bing layer
----------------------+-----------------------------------------------------
 Reporter:  ahocevar  |       Owner:  euzuro      
     Type:  feature   |      Status:  new         
 Priority:  minor     |   Milestone:  2.11 Release
Component:  Layer     |     Version:  SVN         
 Keywords:            |       State:  Review      
----------------------+-----------------------------------------------------
 From the dev list:

 {{{
 Hello OpenLayers Developers!

 It's my first time submitting a patch to OpenLayers, so my apologies in
 advance if I'm going about it in the wrong way...

 I recently needed to control which imagery set was used on my Bing map,
 using the new REST-ful Bing tile access API and the related OpenLayers
 layer type. I didn't see a way to pass in the proper parameters to the
 "get metadata" call Bing uses, and so I modified OpenLayers appropriately
 and generated the attached patch against trunk.

 In short, if you set the new param to "v1", you can use the same tileset
 Bing is using on their website now (which they say will become the default
 if you don't specify a tile version sometime in the future).

 Hoping somebody can review this and commit it to trunk for me?

 Thanks--feedback welcomed, of course.

 -Jeff

 --
 Jeff Maki
 Project Lead
 OpenPlans
 }}}

-- 
Ticket URL: <http://trac.openlayers.org/ticket/3013>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list