[mapguide-users] WMS & openlayers problem
jackyfox
htrforum at gmail.com
Mon Sep 3 02:15:25 PDT 2012
thanks, Jackie.
actually how to define the bounds value?
i click the button in maestro, and it would auto generate to me, is it
correct?
http://osgeo-org.1560.n6.nabble.com/file/n4999374/2012-09-03_170232.jpg
And my code should same with it?
var extent = new
OpenLayers.Bounds(109.534835907039,0.863132874914631,115.680704144118,5.04670730578724);//minx,miny,maxx,maxy
var mapOptions = {
maxExtent: extent,
maxResolution: 'auto'
};
map = new OpenLayers.Map( 'map', mapOptions );
Thanks~
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/WMS-openlayers-problem-tp4999358p4999374.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list