va-style
v1.0.15
Published
Simplify package for Vallaris style
Downloads
2
Readme
Vallaris Maps
Vallaris Maps is Geospatial data platform that provides tools for stored, analysis and visualize spatial data with effortless. By following international standard especialy OGC API series and Open Data scheme.
Introduction
va-style is simplify package for your manage groups layers and style base on Mapbox JSON style in Vallaris style
Installation
npm install va-styleor
yarn add va-styleUsage
import { visibleGroup, renderLayers } from "va-style";
// Visible layers in group id airport
const newStyle = visibleGroup(yourStyle, "airport", "visible");
//=> set style by newStyle
// Render layers with metadata key interactive
const InteractiveLayers = renderLayers(yourStyle, "interactive");
//=> render list of layers with metadata key interactive
