Filter function to display point coordinates or null to don't use any filter.
Clear all properties of a feature, with the exception of the geometry.
Feature.
Feature to create the editing styles with.
List of style.
Options.
Style.
Export features in the given format. The projection of the exported features
is: EPSG:4326
.
Array of vector features.
Format type to export the features.
Export features in GPX and download the result to the browser. The
projection of the exported features is: EPSG:4326
.
Array of vector features.
Export features in KML and download the result to the browser. The
projection of the exported features is: EPSG:4326
.
Array of vector features.
Export features using a given format to a specific filename and download
the result to the browser. The projection of the exported features is:
EPSG:4326
.
Array of vector features.
Format
Name of the file.
Features.
Feature id
Index of found feature
This methods will try to fit a feature into a map view.
If the feature is already visible, then the map will be zoomed out if the feature is too big for the current view.
If the feature is not visible but would fit in the map view, the map is panned to the center of the feature.
If the feature is not visible and would not fit in the map view, the map is fix to the feature's extent.
Feature.
Map.
Feature.
Angle.
Feature.
The ArrowDirections value of the feature. ArrowDirections.NONE by default.
Feature with linestring geometry.
An ArrowDirections value.
An ArrowPositions value.
an hex Color.
Style Arrows style for the line.
Feature.
The ArrowPositions value of the feature. ArrowPositions.FIRST by default.
Feature.
Color.
Loop in the given coordinates and look one that hits an other given coordinate using a buffer. If one does, return its index.
Coordinates in which to loop to find the one that hits the other given coordinate.
Coordinate that has to hit.
Minimum number of coordinates required to look for the one that hits.
Buffer, in map view units, to extend the extent with.
Index of the coordinate that hits. If none did, -1 is returned.
Feature.
Style.
Feature with linestring geometry.
Style.
Get the measure of the given feature as a string. For points, you can format the result by setting a filter to apply on the coordinate with the function {@link import('ngeo/misc/FeatureHelper').setPointFilterFn}.
Feature.
Measure.
Feature.
Name.
Return the properties of a feature, with the exception of the geometry.
Feature.
Object.
Get a number feature attribute.
Feature.
The attribute name.
, The attribute value
Feature.
Opacity.
Feature with point geometry.
Style.
Feature with polygon geometry.
Style.
Feature.
Color.
This method generates a line string geometry that represents the radius for a given azimut. It expects the input geometry to be a circle.
Feature.
Azimut in degrees.
The line geometry.
Feature.
Show at least one arrow.
Feature.
Show feature label.
Feature.
Show measure.
Feature.
Size.
Feature.
Stroke.
Create and return a style object from a given feature using its inner properties and depending on its geometry type.
Feature.
The style object.
Feature with point geometry, rendered as text.
Style.
Return the type of geometry of a feature using its geometry property and some inner properties.
Feature.
The type of geometry.
For a given feature, if its geometry supports vertice that can be removed on click, then check if there is a vertex a the given coordinate. The map current map view resolution is used to calculate a buffer of the size of the vertex (using its style).
If a vertex hits, then return its information, i.e. its indexes among the coordinates of the geometry of the feature, as an array. For example, if the geometry is a LineString, then the coordinates are an array of ol.Coordinate, so a single index is required. For a polygon, coordinates are an array of array of coordinates, so 2 indexes are required.
If removing a vertex would make the geometry invalid, then the vertex info is not returned.
Feature.
Coordinate.
Current map view resolution.
The indexes of the vertex (coordinate) that hits.
Create and return a style object to be used for vertex.
Style.
Get an optional number feature attribute.
Feature.
The attribute name.
, The attribute value
Remove a vertex from a feature using the given information (indexes).
Feature.
The indexes of the vertex (coordinate) to remove.
Projection.
Set the style of a feature using its inner properties and depending on its geometry type.
Feature.
Feature.
Whether the feature supports having its vertex removed or not. Does not validate the number of coordinates.
Feature.
Whether the feature supports vertex or not.
Generated using TypeDoc
Arguments to apply to the point filter function.