[OpenLayers-Users] Bounding Box numbers are changed
Tremal
relicary at gmail.com
Tue Feb 21 07:44:15 EST 2012
Hi!
I have the next problem: In my openlayers script I have the next lines:
var options = {
controls : [new OpenLayers.Control()],
minExtent : new OpenLayers.Bounds(-1, -1, 1, 1),
maxResolution : 0.35,
maxZoomLevel : 10,
zoom: 4,
tileSize : new OpenLayers.Size(400, 550) //Tamaño de las "tiles" que
conforman el mapa
};
map = new OpenLayers.Map('olmap', options);
map.projection = "EPSG:25830";
map.maxExtent = new
OpenLayers.Bounds(455869.51775148,4178967.4556213,968443.48224852,4531032.5443787);
The units are meters, but when I execute this scripts the BBOX values at the
reguest are the next:
http://localhost/cgi-bin/mapserv.exe?...&REQUEST=GetMap&...&SRS=EPSG%3A25830&BBOX=712154.28789062,4354998.6246094,712158.71210938,4355001.3753906&WIDTH=809&HEIGHT=503
Why this numbers change? The map isn't rendered corretly.
Thanks
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Bounding-Box-numbers-are-changed-tp4491317p4491317.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list