Re: [Mapbuilder-devel] Proj4js broken on IE

2007-12-11 Thread Andreas Hocevar
Hi, I found out that the problem is related to the readystate handlers Proj4js uses when fetching the proj defs. The way this is done (readystate handler and synchronous request) does not work in IE with OpenLayers.Ajax in OpenLayers 2.5 (in newer versions, it does). Since we decided to use OpenL

Re: [Mapbuilder-devel] Proj4js broken on IE

2007-12-11 Thread Andreas Hocevar
Hi, you can see it fail in the projDemo example: switch to the EPSG:42304 map, and it will zoom to a strange scale, zoomed in to an area of a few square meters. The whole GML will be re-projected to the size of a needle in a haystack. Regards Andreas. On Dec 12, 2007 2:37 AM, Andreas Hocevar <[E

[Mapbuilder-devel] Proj4js broken on IE

2007-12-11 Thread Andreas Hocevar
Hi, Proj4js is not working correctly in IE. It always seems to load projection definitions from spatialreference.org. But, what's more critical: it does not seem to parse properties like units, ellps and the such from the proj def. This results in MapPaneOL not getting the correct units, which wi

Re: [Mapbuilder-devel] [Mapbuilder-users] contextEditor and GML vs. owsContext

2007-12-11 Thread Andreas Hocevar
Hi Jeff, I have to apologize. I just saw that the OWSExplorer demo also just handles Layers, not FeatureTypes. But I don't think that it would be too hard to modify it. The main modification would be for FeatureTypes to not load the content into a FeatureCollection, but to add them to the context

Re: [Mapbuilder-devel] ModifyFeature, DragFeature

2007-12-11 Thread Andreas Hocevar
Hi, On Dec 11, 2007 4:40 PM, Radim Blazek <[EMAIL PROTECTED]> wrote: > I wrote ModifyFeature and DragFeature widgets (attached). Nice work. Thanks for that contribution. > The code is quite ugly, either I am missing something or > OL handlers/controls need a setLayer() method. The problem is th

[Mapbuilder-devel] ModifyFeature, DragFeature

2007-12-11 Thread Radim Blazek
Hi, I wrote ModifyFeature and DragFeature widgets (attached). The code is quite ugly, either I am missing something or OL handlers/controls need a setLayer() method. Note reloadModelOnSelect and autoSelectFeature options which I had to add to enable the workflow we use: 1) select a feature from WMS