Skip to content

Releases: gampleman/elm-mapbox

4.1.0

20 May 14:15
Compare
Choose a tag to compare
  • Upgrades to mapbox-gl-js 0.54.
  • Fixes some small documentation issues
  • Fixes a bug with maxBounds

4.0.0

15 Feb 20:56
9bd079e
Compare
Choose a tag to compare
  • Upgrades to Mapbox GL 0.53
  • Simplifies all enum values to not require prefix, so textFitNone now becomes none. This means that some type level trickery is used for ambiguous names like auto or none, 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

10 Jan 15:20
Compare
Choose a tag to compare
  • Upgrades to MapgoxGL.js 0.52.
  • When you issue a command via port, these are now buffered in a queue before being executed. This avoids a race condition when a port command would be issued at the same time as a the element rendered.

3.1.0

12 Nov 16:24
Compare
Choose a tag to compare

Upgrades to MapboxGL 0.51.0.

Adds on for custom events.

3.0.0

15 Oct 15:29
Compare
Choose a tag to compare

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

11 Sep 14:41
Compare
Choose a tag to compare
  • 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

1.0.0

24 Aug 11:31
Compare
Choose a tag to compare

I'm pleased to announce the initial release of elm-mapbox.

This is a relatively complete wrapper around the Mapbox API allowing you to make high quality maps in your Elm application.