Hello,

I'm having some problems with mappanel and openlayers.map.

The code I'm playing with: http://pastebin.com/sfgvuLcQ

- #1: when I get the features from geoserver they are rendered a bit 
north-west displaced. See image: http://img138.imageshack.us/i/movement.png/

- #2: if I configure projection in my map, the result is that the layers 
don't get renderer. I mean, with the code below on the previous example:

   var mercator = new OpenLayers.Projection("EPSG:900913");
   var myMap = new OpenLayers.Map({
        projection: mercator,
         units: 'm',
        ...
   });

- #3: if in the checkchange event of Ext.tree.TreePanel I change 
"mapPanel.map" for "myMap" the example doesn't work. Or it's less 
responsiveness than usual.

I'm a bit confused about these behaviours and I'm starting to think that 
both mappanel and ol.map don't work as I expected, than I'm missing 
something. My assumption is that MapPanel keeps an instance of an 
OpenLayers.map and if I change one of them (i.e.: OL.map) the efects 
will reflect in the other, as they are the same. Did I miss something?

best,
amaneiro
_______________________________________________
Users mailing list
[email protected]
http://www.geoext.org/cgi-bin/mailman/listinfo/users

Reply via email to