- Source:
Methods
(static) proxyPointLayer(options) → {ol.layer.Vector}
A function to create a proxy layer for styling points from an ol.layer.TileVector layer with format ol.format.MVT - WARNING: This function uses portions of the OpenLayers API that are only visible when using ol-debug.js
Parameters:
| Name | Type | Description |
|---|---|---|
options |
nyc.ol.style.mvt.ProxyPointLayerOptions | Options for creating the style function |
- Source:
Returns:
- Type
- ol.layer.Vector
Type Definitions
ProxyPointLayerOptions
Object type to hold arguments for nyc.ol.style.mvt.withPointConversion
Type:
- Object
Properties:
| Name | Type | Description |
|---|---|---|
map |
ol.Map | The map onto which the point feature will be rendered |
mvtLayer |
ol.layer.VectorTile | The MVT vector tile layer |
fidProperty |
string | The property name containing a unique id for features |
pointStyle |
ol.StyleFunction | The style function for point features |
- Source: