<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html lang="en">
<head><meta http-equiv="Content-Type" content="text/html;">
<title>Scalix message content</title>
<style type="text/css">
<!--
.Normal { text-align: left; text-indent:0pt; margin-top:0pt; margin-bottom:0pt; font-family: Arial; font-size: 12pt; }
.Default_Paragraph_Font {font-family: Arial; color: Black; background-color: white ; font-size: 12pt; font-weight: normal; font-style: normal; font-variant: normal; vertical-align: normal; text-decoration: none;}
div.ltTOCtitle { font-family: Verdana; font-size: 8pt; font-weight: bold; text-align: center;}
div.ltTOCl1 { font-family: Verdana; font-size: 8pt; font-weight: bold; margin-left:32pt; text-indent:-32pt;}
div.ltTOCl2 { font-family: Verdana; font-size: 8pt; font-weight: bold; margin-left:40pt; text-indent:-32pt;}
div.ltTOCl3 { font-family: Verdana; font-size: 8pt; font-weight: bold; margin-left:48pt; text-indent:-32pt;}
div.ltTOCl4 { font-family: Verdana; font-size: 8pt; font-weight: bold; margin-left:56pt; text-indent:-32pt;}
div.ltTOCl5 { font-family: Verdana; font-size: 8pt; font-weight: bold; margin-left:64pt; text-indent:-32pt;}
div.ltTOCl6 { font-family: Verdana; font-size: 8pt; font-weight: bold; margin-left:72pt; text-indent:-32pt;}
-->
</style>
</head>
<body>
<div class="Normal"><span style='font-size: 10pt; '>That's it.
Thanks!</span></div>
<br>
<div class="Normal"><span style='font-size: 10pt; '>Stefan</span></div>
<br>
<div class="Normal"><span style='font-size: 10pt; '>> -----Ursprüngliche
Nachricht-----</span><br><span style='font-size: 10pt; '>> Von: Eric Lemoine
[mailto:eric.c2c@gmail.com]</span><br><span style='font-size: 10pt; '>>
Gesendet am: Dienstag, 12. August 2008
09:50</span><br><span style='font-size: 10pt; '>> An: Ziegler
Stefan</span><br><span style='font-size: 10pt; '>> Cc:
users</span><br><span style='font-size: 10pt; '>> Betreff: Re:
[OpenLayers-Users] Problems with drawing a
</span><br><span style='font-size: 10pt; '>> regular
polygon</span><br><span style='font-size: 10pt; '>> in a non-4326
layer</span><br><span style='font-size: 10pt; '>>
</span><br><span style='font-size: 10pt; '>> On Mon, Aug 11, 2008 at 9:34 PM,
Ziegler Stefan </span><br><span style='font-size: 10pt; '>>
<Stefan.Ziegler@bd.so.ch>
wrote:</span><br><span style='font-size: 10pt; '>> >
Hi</span><br><span style='font-size: 10pt; '>> > I have problems with
drawing a regular polygon in a layer
</span><br><span style='font-size: 10pt; '>> with a
different</span><br><span style='font-size: 10pt; '>> > EPSG-code than
4326. It shows up perfectly after the
</span><br><span style='font-size: 10pt; '>> mouse-up event but
is</span><br><span style='font-size: 10pt; '>> > not shown while the
mouse-down event. The vector layer is defined
as</span><br><span style='font-size: 10pt; '>> >
follows:</span><br><span style='font-size: 10pt; '>> > var polygonLayer =
new
OpenLayers.Layer.Vector("DXF",</span><br><span style='font-size: 10pt; '>>
> {</span><br><span style='font-size: 10pt; '>> > maxExtent: new
OpenLayers.Bounds(590000,213500,645000,262000),</span><br><span style='font-size: 10pt; '>>
> maxResolution: 'auto',</span><br><span style='font-size: 10pt; '>> >
projection:"EPSG:21781",</span><br><span style='font-size: 10pt; '>> >
units:"m"</span><br><span style='font-size: 10pt; '>> >
}</span><br><span style='font-size: 10pt; '>> >
);</span><br><span style='font-size: 10pt; '>> > Without the options the
vector layer is disabled at a </span><br><span style='font-size: 10pt; '>>
certain scale but the</span><br><span style='font-size: 10pt; '>> >
polygon is shown while the mouse button is down. Any ideas?
</span><br><span style='font-size: 10pt; '>> (The example
can</span><br><span style='font-size: 10pt; '>> > be found here:
http://www.john-longo.org/geo/geobau.html)</span><br><span style='font-size: 10pt; '>>
</span><br><span style='font-size: 10pt; '>> I think this is fixed in trunk.
Try using</span><br><span style='font-size: 10pt; '>>
<http://dev.openlayers.org/nightly/OpenLayers.js> instead
of</span><br><span style='font-size: 10pt; '>>
<http://www.openlayers.org/api/OpenLayers.js> as your <script
src=">.</span><br><span style='font-size: 10pt; '>>
</span><br><span style='font-size: 10pt; '>>
Thanks,</span><br><span style='font-size: 10pt; '>>
--</span><br><span style='font-size: 10pt; '>>
Eric</span><br><span style='font-size: 10pt; '>> </span></div>
</body>
</html>