Hi thanks for the response. Yes I am using the EPSG:4326 as projection using
the below code but I am not sure even why originally when I got a bit of
help getting started I was directed to this tutorial since I am using
Geomedia -
http://www.softwheresolutions.com/blog/post/WMS-for-OpenLayers-with-GWM.aspx
And when I setup the map I just used the same maxextent numbers and
maxresoultion and it seemed to work out. So I'm just wondering should I
change the below setup so I am using only 900913 EPSG or can i easily
transform my XLO/YLO etc into a correct bounding box? I really appreciate
your assistance.
var map = new OpenLayers.Map('map',{ controls:[],
//maxExtent: new OpenLayers.Bounds(3708.26, 5788144.93,
15760.3,5798432.93),
maxExtent: new OpenLayers.Bounds(-20037508.34,
-20037508.34, 20037508.34, 20037508.34),
maxResolution: 156543.0399,
numZoomLevels: 20,
units: 'km',
projection: new OpenLayers.Projection("EPSG:900913"),
displayProjection: new
OpenLayers.Projection("EPSG:4326")
}
); //end of map definition
--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/Need-help-with-bounding-box-coords-to-use-tp5535847p5535942.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users