Skip to content

A react component built to edit and manage Mapbox GL expressions

Notifications You must be signed in to change notification settings

justenPalmer/expression-editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Expression Editor

Use the expression editor to assist in input and modifying MapboxGL expressions. Live demo version

The easiest way to see the editor in action is to paste an expression into the textarea. Try this one:

[
  "match",
  [
    "get",
    "primary_use"
  ],
  "residential",
  "#8BC34A",

  "commercial",
  "#1976D2",

  "industrial",
  "#FFEB3B",

  "mixed use",
  "#009688",

  "planned district",
  "#009688",

  "open space",
  "#E0F2F1",

  "#EEEEEE"
]

Check out the documentation for MapboxGL expressions here.

About

A react component built to edit and manage Mapbox GL expressions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published