Get the number of paths in this collection.
The number of paths
Add a path to the collection.
The path to be added.
Optionaloptions: { colorBorder?: Color; colorInner?: Color; szBorder?: number; szInner?: number }Optional object for path appearance:
Remove all paths from the collection.
Get the border color for the path specified by index.
If the result is transparent, then the index does not exist in the collection.
The path index
The border color
Get the border size for the path specified by index.
If the result is -1, then the index does not exist in the collection.
The path index
The border size
Get the fill color for the path specified by index.
If the result is transparent, then the index does not exist in the collection.
The path index
The inner color
Get the inner size for the path specified by index.
If the result is -1, then the index does not exist in the collection.
The path index
The inner size
Get the path specified by index.
The path index
The path or null if index is invalid
Get the path specified by name.
The path name
The path or null if not found
Hit test in path collection.
Checks for paths within the given area.
The RectangleGeographicArea where to search for paths.
List of PathMatch objects
Remove the path specified by index.
The path index
Collection of paths for a map view.
This class should not be instantiated directly. Instead, use the MapViewPreferences.paths getter to obtain an instance.