📦 style ​
This package provides utilities to create and convert styles for rendering maps.
Installation ​
sh
npm install @geospatial-sdk/styleUsage ​
typescript
import { openLayersStyleToMapLibreLayers } from "@geospatial-sdk/style";
const olStyle = {
"fill-color": "orange",
};
const mapLibreLayers = openLayersStyleToMapLibreLayers(olStyle);Functions ​
| Function | Description |
|---|---|
| openLayersStyleToMapLibreLayers | - |