<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16735" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=250435308-04122008>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=250435308-04122008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=250435308-04122008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=250435308-04122008>Only one select control can be active at the same time.
Selections are made in the layer that is on top of the
Z-order.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=250435308-04122008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=250435308-04122008>Kind regards,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=250435308-04122008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=250435308-04122008>Jan</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=250435308-04122008></SPAN></FONT> </DIV><FONT face=Arial
color=#0000ff size=2></FONT><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> users-bounces@openlayers.org
[mailto:users-bounces@openlayers.org] <B>On Behalf Of </B>Adorian
Ardelean<BR><B>Sent:</B> Thursday, December 04, 2008 09:47<BR><B>To:</B>
users@openlayers.org<BR><B>Subject:</B> [OpenLayers-Users] GeoJSON layer and
modifyFeature control<BR></FONT><BR></DIV>
<DIV></DIV>Hi,<BR><BR>I have a very simple question: is it possible to modify
features in a layer populated from a GeoJSON file? I am asking just about
modifying feature on map without the saving part.<BR>I did add the modifyFeature
control, but I cannot select and modify any of the polygons in this layer ( var
regions = new OpenLayers.Layer.Vector("regions",{extractAttributes:true, format:
OpenLayers.Format.GeoJSON, projection: new OpenLayers.Projection("EPSG:4326"),
styleMap: new OpenLayers.StyleMap(mystyle)});)<BR>Another modifyFeature control
works OK on a second vector layer (var vectors = new
OpenLayers.Layer.Vector("vectors");). <BR><BR>All the best,<BR>Adorian<BR><BR>--
<BR>Dr. Adorian Ardelean<BR>coordinator of myNature Project<BR><BR><A
href="http://mybiosis.info/nature/portal.php?pagename=firstpage">http://mybiosis.info/nature/portal.php?pagename=firstpage</A>
[a Romanian biodiversity-database]<BR><A
href="http://mybiosis.info/nature/portal.php?pagename=adorian">http://mybiosis.info/nature/portal.php?pagename=adorian</A>
[CV]<BR>
<P><FONT face=Arial size=2>No virus found in this incoming message.<BR>Checked
by AVG - http://www.avg.com<BR>Version: 8.0.176 / Virus Database: 270.9.12/1824
- Release Date: 2-12-2008 9:31<BR></FONT></P>
<P><FONT face=Arial size=2></FONT></P></BODY></HTML>