Zooms to a given geometry.
Classes
Methods
-
calcExtent(feature){Array.<number>}
modules/zoomToGeometry/model.js, line 144 -
Calculates the extent on the basis of a transferred feature. With a multipolygon, the largest extent is taken.
Name Type Description featureol/feature Feature with one extension. Returns:
extent to be zoom.
-
drawInsidePolygon(canvas, map){void}
modules/zoomToGeometry/model.js, line 202 -
Todo For it to be recognized as an inner polygon, it must be drawn counterclockwise.
Name Type Description canvas* todo mapol/map The map. -
drawOutsidePolygon(canvas, size){void}
modules/zoomToGeometry/model.js, line 183 -
todo
Name Type Description canvas* todo size* todo -
getGeometryFromWFS(name, attribute, layerInformation){void}
modules/zoomToGeometry/model.js, line 65 -
Fetches the data from WFS.
Name Type Description namestring Name of the feature to zoom to. attributestring The attribute from the wfs. layerInformationobject All information from a layer to be fetched. -
handlePostrender(evt){void}
modules/zoomToGeometry/model.js, line 163 -
todo
Name Type Description evt* todo -
parseFeatures(data, name, attribute){boolean|ol/feature}
modules/zoomToGeometry/model.js, line 124 -
Searches a GML string for a specific feature.
Name Type Description dataobject The GML String. namestring Name of the features. attributestring GML attribute that is to be searched for the name. Returns:
WFS feature.
-
setFeatureGeometry(value){void}
modules/zoomToGeometry/model.js, line 220 -
Setter for featureGeometry.
Name Type Description valueArray.<number> Geometry of a feature. -
setIsRender(value){void}
modules/zoomToGeometry/model.js, line 229 -
Setter for isRender
Name Type Description value* todo -
zoomToFeature(data, name, attribute){void}
modules/zoomToGeometry/model.js, line 100 -
Zooms to the feature loaded by the WFS.
Name Type Description dataobject The GML String. namestring Name of the features. attributestring GML attribute that is to be searched for the name. Fires:
-
zoomToGeometry(name, layerId, attribute){void}
modules/zoomToGeometry/model.js, line 52 -
Zooms to a geometry loaded from a WFS.
Name Type Description namestring Name of the feature to zoom to. layerIdstring Id from WFS-layer. attributestring The attribute from the wfs.
Events
-
RadioTriggerZoomToGeometrySetIsRender
devtools/jsdoc/events.js, line 2427 -
Todo
Listeners of This Event:
-
RadioTriggerZoomToGeometryZoomToGeometry
devtools/jsdoc/events.js, line 2422 -
Zooms the map to a geometry from wfs.
Listeners of This Event: