MapService documentation¶
provided in root
✓
Attributes and Methods¶
Name | Type | Default | Description |
---|---|---|---|
clusterLayer(...) ¶ | (features: Feature <Geometry >[], markerAnimation: boolean , clusterDistance: number , multiWorld: boolean ) => Layer | Initialize animated cluster layer for points if clustering is enabled Parameters | |
createFeatures(...) ¶ | (points: MapPoint [], alwaysShowLabels: boolean = false ) => Feature <Geometry >[] | Create feature with parameters Parameters | |
getClusterStyle(...) ¶ | (feature: Feature ) => Style [] | Cluster styling Parameters
| |
getFeatureStyle(...) ¶ | (feature: Feature , cluster: boolean , features: Feature <Geometry >[], dummy: boolean = false ) => Style [] | Separate feature styling with icon Parameters | |
getLabelStyle(...) ¶ | (feature: Feature <Point >, features: Feature <Point >[], maxLabelLength: number , maxLines: number , clusterSource: Cluster <Feature <Point >>, dummy: boolean = false ) => Style [] | Parameters | |
getMarkerOffset(...) ¶ | (feature: Feature ) => [ number , number ] | Parameters
| |
getMarkerSize(...) ¶ | (feature: Feature ) => [ number , number ] | Parameters
| |
labelLayer(...) ¶ | (features: Feature <Geometry >[], multiWorld: boolean , maxLabelLength: number , maxLines: number , clusterLayer: Layer <Source , LayerRenderer <any >>) => VectorLayer <VectorSource <Feature <Geometry >>> | Parameters | |
resetCaches() ¶ | () => void | ||
setTheme(...) ¶ | (groupColors: (undefined | Record <number , string > | ColorPalette )) => void | Parameters
| |
setZoomCallback(...) ¶ | (callback: () => (undefined | number )) => void | Parameters | |
(readonly) theme ¶ | { colorPalette: ColorPalettes , defaultMarkerColor: string , fillColor: string , status: Record <MarkerStatusType , string >, strokeColor: string , textColor: string } | ||
vectorLayer(...) ¶ | (features: Feature <Geometry >[], multiWorld: boolean , defaultStyle: boolean = false ) => VectorLayer <VectorSource <Feature <Geometry >>> | Create vector layer when clustering is disabled Parameters |
Types Documentation¶
import imported from ol |
---|
import imported from ol |
---|
import imported from ol |
---|
import imported from ol |
---|
import imported from ol |
---|
import imported from ol |
---|
| ||||||||
|
import imported from ol |
---|
import imported from ol |
---|
import imported from ol |
---|
import imported from ol |
---|
| ||||||
|
|
|
Except where otherwise noted, content on this site is licensed under MIT License.