[mapguide-users] MapBase Layer & WMS Layers are not in the same extention

Nimrod Cnaan nimcnaan at Hotmail.com
Fri Jun 1 02:15:16 PDT 2012


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.


More information about the mapguide-users mailing list