Skip to main content

mapbox4dart 0.1.0 copy "mapbox4dart: ^0.1.0" to clipboard
mapbox4dart: ^0.1.0 copied to clipboard

Pure Dart codec and object model for Mapbox GL Style JSON files.

0.1.0 #

  • MapboxStyleCodec with readString, readJsonObject, writeString, writeJsonObject.
  • Typed object model: MapboxStyle, MapboxLayer, MapboxSource.
  • Enums: MapboxLayerType (10 types + unknown), MapboxSourceType (6 types + unknown).
  • Unknown field preservation via extra maps on root and layer level.
  • Forward-compatible unknown type handling with rawType.
  • Color normalization: hex, rgb, rgba, hsl, hsla, 140+ CSS named colors.
  • Version 8 validation on read.
0
likes
160
points
7
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Pure Dart codec and object model for Mapbox GL Style JSON files.

Repository (GitHub)
View/report issues

License

MIT (license)

More

Packages that depend on mapbox4dart