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.
va-style is simplify package for your manage groups layers and style base on Mapbox JSON style in Vallaris style
npm install va-style
or
yarn add va-style
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