<!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; '>Hi</span></div>
<br>
<div class="Normal"><span style='font-size: 10pt; '>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:</span></div>
<span style='font-size: 10pt; '>            </span><br>
<div class="Normal"><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></div>
<br>
<div class="Normal"><span style='font-size: 10pt; '>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)</span></div>
<br>
<div class="Normal"><span style='font-size: 10pt; '>regards</span><br><span style='font-size: 10pt; '>Stefan</span></div>
<br>
<div class="Normal"><span style='font-size: 10pt; '>Mit freundlichem
Gruss</span><br><span style='font-size: 10pt; '>Stefan
Ziegler</span><br><span style='font-size: 10pt; '>Leiter Aufsicht</span></div>
<br>
<div class="Normal"><span style='font-size: 10pt; '>Kanton
Solothurn</span><br><span style='font-size: 10pt; '>Bau- und
Justizdepartement</span><br><span style='font-size: 10pt; '>Amt f&uuml;r
Geoinformation</span><br><span style='font-size: 10pt; '>R&ouml;tistrasse
4</span><br><span style='font-size: 10pt; '>4501
Solothurn</span><br><span style='font-size: 10pt; '>Telefon 032 627 75
96</span><br><span style='font-size: 10pt; '>Telefax 032 627 75
98</span><br><span style='font-size: 10pt; '>stefan.ziegler@bd.so.ch</span><br><span style='font-size: 10pt; '>http://www.so.ch</span></div>
<br>



</body>

</html>