I tried http://www.openlayers.org/dev/examples/draw-feature.html and it
works as expected.

Then i tried the new drawing tools with an own application and it works. 
But after pan and then drawing into the new visible map part the drawing is
cut at the edge to the new visible map part. I have to draw invisible. I
have to change to navigation, then the cuted feature is all visible.

I couldn't say, if i do something strange in my application, that that
behaviour show up.

See: http://gis.ibbeck.de/OLClient/OLClient_test.asp

Activate the vector layer and use the drawing tools.

Tested with Firefox 3.6 and Chrome 5.0.375.70. IE doesn't work. 
Local test with IE shows not the behaviour.


A question aroused while using the trunk version. 
I use in my application the property map.layers[idx].isVector to decide
whether the layer is a vector layer or not. 

In OpenLayers.Layer.Vector (2.10)

    /** 
     * APIProperty: isVector
     * {Boolean} Whether the layer is a vector layer.
     */
    isVector: true,

In trunk this property has vanished. Should it not be there or is there a
new way to get the information.

Arnd 

-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von Eric
Lemoine
Gesendet: Dienstag, 8. März 2011 09:39
An: [email protected]
Betreff: [OpenLayers-Users] pan while drawing

Hi

Since two weeks or so OpenLayers (trunk) allows panning the map while
drawing. This change affects every scenario involving drawing geometries on
the map (see the links below). Getting the "pan while drawing" code right
hasn't been easy, and there still may be bugs here and there. We would
really appreciate if people could test the new drawing tools, ideally in
real applications. To test the current trunk you can use
<http://www.openlayers.org/dev/OpenLayers.js>.

Thanks a lot,

<http://www.openlayers.org/dev/examples/draw-feature.html
<http://www.openlayers.org/dev/examples/measure.html>
<http://www.openlayers.org/dev/examples/snapping.html>
<http://www.openlayers.org/dev/examples/split-feature.html>
<http://www.openlayers.org/dev/examples/SLDSelect.html>

--
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : [email protected]
http://www.camptocamp.com
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to