Hi !
thanks - and i read something about geojson at this weekend and i have
some additional questions:
* if a bbox is define - is it possible to zoom extant to this by ol ? how ?
is it possible to iterate through the geojson-data -> get a list of all
name-properties
is it correct to define a name-property like this:
...
{ "type": "Feature",
"geometry": {
"type": "Polygon",
"coordinates": [
[ [100.0, 0.0], [101.0, 0.0], [101.0, 1.0],
[100.0, 1.0], [100.0, 0.0] ]
]
},
"properties": {
"name": "[the name]", <<<<<<<<<<<<---------------
"prop1": {"this": "that"}
}
}
....
regards Jan :-)
Am 20.04.2012 13:05, schrieb Paul Meems (Top-X):
Hi Jan,
I'm using a filter for this:
filter: new OpenLayers.Filter.Comparison({
type: OpenLayers.Filter.Comparison.EQUAL_TO,
property:"_adresid",
value:"-1"})
and some javascript
function changeFilter(newValue)
{
wfsLayer.destroyFeatures();
document.getElementById('progress').innerHTML ="..";
wfsLayer.filter = new OpenLayers.Filter.Comparison({
type: OpenLayers.Filter.Comparison.EQUAL_TO,
property:"_adresid",
value: newValue});
wfsLayer.refresh({force: true});
}
Regards
Paul Meems
Organizing the International Open Source GIS conference in The Netherlands:
http://www.mapwindow.org/conference/2012/
Op 20 april 2012 11:33 schreef Jan Tappenbeck
<[email protected]
<mailto:[email protected]>> het volgende:
hi !
i want to make a map with a function to show streets via a search
dialog.
when a user select a way-name it should be show via a openlayer-vector.
i only found examples to define elements by the geojson-format and
show all elements in a bundle - but i only want to show the element
with the id=xxxx.
did anyone now an expample for this situation ?
regards Jan :-)
_________________________________________________
Users mailing list
[email protected]
<mailto:[email protected]>
http://lists.osgeo.org/__mailman/listinfo/openlayers-__users
<http://lists.osgeo.org/mailman/listinfo/openlayers-users>
_______________________________________________
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