va-style
TypeScript icon, indicating that this package has built-in type declarations

1.0.15 • Public • Published

Vallaris Logo

npm version

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-style

or

yarn add va-style

Usage

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

Readme

Keywords

none

Package Sidebar

Install

npm i va-style

Weekly Downloads

2

Version

1.0.15

License

ISC

Unpacked Size

4.08 kB

Total Files

4

Last publish

Collaborators

  • jusmanz