[OpenLayers-Dev] Re: Bing Maps with Custom Tile Server

Matt Priour mpriour at kestrelcomputer.com
Mon Feb 13 09:57:21 EST 2012


Your custom tile server needs to have the same projection as your Bing base
layer. Bing is in spherical web mercator (EPSG:900913 [unofficial], 
EPSG:3857 [official]). Additionally, you set the projection property after
you've instantiated the layer, and that property should either be set on the
constructor, or by using the 'addOptions' function. The behavior you
describe is exactly what one would expect given your code.

Additionally, you have posted to the dev list, but this is a question for
the users list. The dev list is for questions and discussions about
developing the OpenLayers library itself, not using the OpenLayers library
for development. Please post future questions to the appropriate list.

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Bing-Maps-with-Custom-Tile-Server-tp4460731p4465289.html
Sent from the OpenLayers Dev mailing list archive at Nabble.com.


More information about the Dev mailing list