Arnd, many thanks! I have enough to play with now.
Arnd Wippermann wrote: > > Hi Pascal, > > Here i have put an example for regFeatureSelected > http://gis.ibbeck.de/ginfo/apps/OLExamples/OL26/examples/select-feature-with > -function.html > The used gml file boxes.xml I have generated with OpenLayers. There are > different tags than in the beneath example. > > This is an gml example from mapserver with attribute name working in > OpenLayers > (the attribute : <ms:name>http://www.yahoo.com</ms:name>) > > <?xml version='1.0' encoding="ISO-8859-1" ?> > <wfs:FeatureCollection > xmlns:ms="http://mapserver.gis.umn.edu/mapserver" > xmlns:wfs="http://www.opengis.net/wfs" > xmlns:gml="http://www.opengis.net/gml" > xmlns:ogc="http://www.opengis.net/ogc" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://www.opengis.net/wfs > http://schemas.opengeospatial.net/wfs/1.0.0/WFS-basic.xsd > http://mapserver.gis.umn.edu/mapserver > http://wms1.ccgis.de/cgi-bin/mapserv?map=/data/umn/germany/germany_wfs_serve > r.map&SERVICE=WFS&VERSION=1.0.0&REQUEST=DescribeFeatureType& > TYPENAME=Bundeslaender&OUTPUTFORMAT=XMLSCHEMA"> > <gml:featureMember> > <ms:polygon fid="1"> > <gml:polygonMember> > <gml:Polygon srsName="EPSG:4326"> > <gml:outerBoundaryIs> > <gml:LinearRing> > <gml:coordinates>2.71113144,41.73139136 > 2.39768263,41.73139136 2.39768263,41.55005677 2.71113144,41.55005677 > 2.71113144,41.73139136 </gml:coordinates> > </gml:LinearRing> > </gml:outerBoundaryIs> > > </gml:Polygon> > </gml:polygonMember> > <ms:ogc_fid>1</ms:ogc_fid> > <ms:name>http://www.yahoo.com</ms:name> > <ms:id>0</ms:id> > </ms:polygon> > </gml:featureMember> > </wfs:FeatureCollection> > > Arnd Wippermann > > _______________________________________________ > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users > > -- View this message in context: http://www.nabble.com/Best-strategy-to-add-many-clickable-rectangle-areas--tp19975759p20003118.html Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
