Releases: gampleman/elm-mapbox
Releases · gampleman/elm-mapbox
4.1.0
4.0.0
- Upgrades to Mapbox GL 0.53
- Simplifies all enum values to not require prefix, so
textFitNone
now becomesnone
. This means that some type level trickery is used for ambiguous names likeauto
ornone
, but overall I think this is nicer. - Huge upgrade to the style code generator, it can now handle nearly everything...
- All the mapbox styles are now available in the examples directory.
- Fixes an issue which made commands not work in some cases (thanks @rrbutani)
- Sometimes events could give back floating point values, this is now handled properly (thanks @rrbutani)
- Small documentation updates.
3.1.1
3.1.0
3.0.0
This release upgrades MapboxGL.js to 0.50.0. It also fixes some issues where the types had some limitations.
Full diff:
---- Mapbox.Expression - MINOR ----
Added:
type SymbolZOrder
orderSource :
Expression exprType SymbolZOrder
orderViewportY :
Expression exprType SymbolZOrder
---- Mapbox.Layer - MAJOR ----
Added:
fillExtrusionVerticalGradient :
Expression
CameraExpression
Basics.Bool
-> LayerAttr FillExtrusion
symbolZOrder :
Expression
CameraExpression
SymbolZOrder
-> LayerAttr Symbol
Changed:
- backgroundPattern : Expression any String -> LayerAttr Background
+ backgroundPattern : Expression CameraExpression String -> LayerAttr Background
---- Mapbox.Source - MAJOR ----
Changed:
- scheme : Scheme -> SourceOption RasterSource
+ scheme : Scheme -> SourceOption any
2.0.0
- Fixes a type level error in
Mapbox.Expression.step
that made it useless. - Relaxes some types in preparation for mapbox 0.49
- Adds a very early version of a style spec generator
Full diff:
---- Mapbox.Expression - MAJOR ----
Changed:
- step :
Expression exprType2 Float
-> List ( Float, Expression exprType1 output )
-> Expression exprType1 output
-> Expression exprType2 output
+ step :
Expression exprType1 output
-> List ( Float, Expression exprType1 output )
-> Expression exprType2 Float
-> Expression exprType2 output
---- Mapbox.Layer - MAJOR ----
Changed:
- backgroundPattern :
Expression CameraExpression String -> LayerAttr Background
+ backgroundPattern :
Expression any String -> LayerAttr Background
- fillExtrusionPattern :
Expression CameraExpression String -> LayerAttr FillExtrusion
+ fillExtrusionPattern :
Expression any String -> LayerAttr FillExtrusion
- fillPattern : Expression CameraExpression String -> LayerAttr Fill
+ fillPattern : Expression any String -> LayerAttr Fill
- linePattern : Expression CameraExpression String -> LayerAttr Line
+ linePattern : Expression any String -> LayerAttr Line