I think OL.Layer.MM has been dead for a while; I wouldn't work too hard on
trying to do much with it.
-- Chris
On Jan 5, 2011, at 12:41 PM, ext Andreas Hocevar wrote:
> Hi,
>
> you may want to ask Microsoft for an API and Terms Of Use compliant way to do
> this. In the meantime, you can override the getURL method of your
> OpenLayers.Layer.Bing instance to append a productSet parameter, but this
> clearly violates the Bing Maps Terms Of Use.
>
> getURL: function() {
> return OpenLayers.Layer.Bing.prototype.getURL.apply(this, arguments) +
> "&productSet=mmOS"
> }
>
> It seems these tile sets are for MultiMap. You may also want to have a look
> at this: http://www.ms-windows.info/Help/ordnance-survey-maps-2674.aspx -
> OpenLayers.Layer.MultiMap may help here.
>
> Regards,
> Andreas.
>
> On Jan 5, 2011, at 18:03 , Joanne Cook wrote:
>
>> Hi All,
>>
>> I have been playing with the new Bing tiles layer in the OpenLayers trunk,
>> and can get it to work for standard layers, but I was wondering if it will
>> ever be possible to access the Ordnance Survey tiles that are available in
>> Bing in the UK through this method? I have tried supplying the type
>> "ordnanceSurvey" (which I got through trawling the code on the main Bing
>> maps site) but this returns a blank image. I see from
>> http://social.msdn.microsoft.com/Forums/en-US/vemapcontroldev/thread/a5f667ab-4472-4506-a1ce-8af6d62165bb/
>> that the Ordnance Survey layers are custom tile layers, and as such, in Bing
>> they would be added using a different approach
>> (http://msdn.microsoft.com/en-us/library/bb429629.aspx).
>>
>> I have also tried accessing the tiles using the older virtualEarth layer
>> type (version 6.3 of the api, with the en-GB culture parameter) but I'm not
>> having much luck with that either (also returns a blank image).
>>
>> Is this even feasible, and if so would anyone be prepared to help me work
>> through any code modifications (happy to have a go, with someone to hold my
>> hand)
>>
>> Thanks
>>
>> Jo
>>
>> --
>> -----------------------------------------------------
>> Joanne Cook
>> Senior IT Support and Development
>> Oxford Archaeology (North)
>> 01524 880212
>> http://thehumanjourney.net
>>
>>
>> ------
>> Files attached to this email may be in ISO 26300 format (OASIS Open Document
>> Format). If you have difficulty opening them, please visit
>> http://iso26300.info for more information.
>>
>> _______________________________________________
>> Users mailing list
>> [email protected]
>> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>
>
>
> --
> Andreas Hocevar
> OpenGeo - http://opengeo.org/
> Expert service straight from the developers.
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users