UNPKG

mappls-map-react-native

Version:

A Mappls GL react native module for creating custom maps

11 lines (7 loc) 635 B
<!-- This file was autogenerated from Style.js do not modify --> ## <MapplsGL.Style /> ### Style is a component that automatically adds sources / layers to the map using Mappls GL Style Spec.<br/>Only `sources` & `layers` are supported.<br/>Other fields such as `sprites`, `glyphs` etc. will be ignored. Not all layer / source attributes from the style spec are supported. ### props | Prop | Type | Default | Required | Description | | ---- | :--: | :-----: | :------: | :----------: | | json | `any` | `none` | `false` | A JSON object conforming to the schema described in the Mappls Style Specification , or a URL to such JSON. |