have you included proj4js? just setting a projection like below does nothing in openlayers unless you include proj4js,
http://trac.osgeo.org/openlayers/wiki/Documentation/Dev/proj4js z On Fri, Jun 1, 2012 at 7:15 PM, Nimrod Cnaan <[email protected]> wrote: > Which Projection do you mean, > > I only use the local projection, which is the same value boath on MG map > defenition & on OpenLayers. > Am I missing something ? > > "... > var israeliTM = new OpenLayers.Projection("EPSG:2039"); > > ..... > // CREATE MAP > map = new OpenLayers.Map({ > div: "map", > theme: null, > projection: israeliTM, > units: "m", > numZoomLevels: 18, > maxResolution: 1000, > maxExtent: new > OpenLayers.Bounds(195274.029329347,746598.11556093,207935.664746013,743854.386394263), > scales: [80000,50000,20000,10000,5000,2500,1250,500,250,100], > controls: geomind_controls, > layers: geomind_layers, > center: new OpenLayers.LonLat(client_data.base_layer.center_lon, > client_data.base_layer.center_lat), // IN ITM COORDINATES > }); > ..." > > -- > View this message in context: > http://osgeo-org.1560.n6.nabble.com/MapBase-Layer-WMS-Layers-are-not-in-the-same-extention-tp4978472p4978487.html > Sent from the MapGuide Users mailing list archive at Nabble.com. > _______________________________________________ > mapguide-users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapguide-users -- Zac Spitzer Solution Architect / Director Ennoble Consultancy Australia http://www.ennoble.com.au http://zacster.blogspot.com +61 405 847 168 _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
