[OpenLayers-Users] Problems with drawing a regular polygon in a non-4326 layer

Ziegler Stefan Stefan.Ziegler at bd.so.ch
Tue Aug 12 03:56:18 EDT 2008


That's it. Thanks!

Stefan

> -----Ursprüngliche Nachricht-----
> Von: Eric Lemoine [mailto:eric.c2c at gmail.com]
> Gesendet am: Dienstag, 12. August 2008 09:50
> An: Ziegler Stefan
> Cc: users
> Betreff: Re: [OpenLayers-Users] Problems with drawing a 
> regular polygon
> in a non-4326 layer
> 
> On Mon, Aug 11, 2008 at 9:34 PM, Ziegler Stefan 
> <Stefan.Ziegler at bd.so.ch> wrote:
> > Hi
> > I have problems with drawing a regular polygon in a layer 
> with a different
> > EPSG-code than 4326. It shows up perfectly after the 
> mouse-up event but is
> > not shown while the mouse-down event. The vector layer is defined as
> > follows:
> > var polygonLayer = new OpenLayers.Layer.Vector("DXF",
> > {
> > maxExtent: new OpenLayers.Bounds(590000,213500,645000,262000),
> > maxResolution: 'auto',
> > projection:"EPSG:21781",
> > units:"m"
> > }
> > );
> > Without the options the vector layer is disabled at a 
> certain scale but the
> > polygon is shown while the mouse button is down. Any ideas? 
> (The example can
> > be found here: http://www.john-longo.org/geo/geobau.html)
> 
> I think this is fixed in trunk. Try using
> <http://dev.openlayers.org/nightly/OpenLayers.js> instead of
> <http://www.openlayers.org/api/OpenLayers.js> as your <script src=">.
> 
> Thanks,
> --
> Eric
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20080812/fe6e8990/attachment.html


More information about the Users mailing list