Skip to content

Releases: watergis/maplibre-gl-export

@watergis/[email protected]

25 Aug 09:57
0f600f4
Compare
Choose a tag to compare

Patch Changes

  • 5a45f61: chore: updated all dependencies of mapbox-gl-export and maplibre-gl-export (particularly for eslint v9)

@watergis/[email protected]

25 Aug 09:57
0f600f4
Compare
Choose a tag to compare

Patch Changes

  • 5a45f61: chore: updated all dependencies of mapbox-gl-export and maplibre-gl-export (particularly for eslint v9)

@watergis/[email protected]

30 Jul 07:50
741e65d
Compare
Choose a tag to compare

Patch Changes

  • b7a4bff: Fix an error: Style is not done loading

@watergis/[email protected]

30 Jul 07:50
741e65d
Compare
Choose a tag to compare

Patch Changes

  • b7a4bff: Fix an error: Style is not done loading

@watergis/[email protected]

25 May 01:23
2e8bb7b
Compare
Choose a tag to compare

Patch Changes

  • 26a1d32: fix: It has a breaking change on attribution options. options.attributionStyle is changed to options.attributionOptions.style. add visibility and position option into options.attributionOptions. Due to technical issue, only top-right or bottom-right position are supported currently.

@watergis/[email protected]

25 May 01:23
2e8bb7b
Compare
Choose a tag to compare

Patch Changes

  • 26a1d32: fix: It has a breaking change on attribution options. options.attributionStyle is changed to options.attributionOptions.style. add visibility and position option into options.attributionOptions. Due to technical issue, only top-right or bottom-right position are supported currently.

@watergis/[email protected]

16 May 01:28
f9e3631
Compare
Choose a tag to compare

Minor Changes

  • a66f15b: feat: export north icon on the map. North icon image, size, visibility and position can be customized through northIconOptions. The below is default settings for north icon.

    {
        "image": `<svg width="800px" height="800px" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--gis" preserveAspectRatio="xMidYMid meet"><path d="M47.655 1.634l-35 95c-.828 2.24 1.659 4.255 3.68 2.98l33.667-21.228l33.666 21.228c2.02 1.271 4.503-.74 3.678-2.98l-35-95C51.907.514 51.163.006 50 .008c-1.163.001-1.99.65-2.345 1.626zm-.155 14.88v57.54L19.89 91.461z" fill="none" stroke="white" stroke-width="1.5"/><path d="M47.655 1.634l-35 95c-.828 2.24 1.659 4.255 3.68 2.98l33.667-21.228l33.666 21.228c2.02 1.271 4.503-.74 3.678-2.98l-35-95C51.907.514 51.163.006 50 .008c-1.163.001-1.99.65-2.345 1.626zm-.155 14.88v57.54L19.89 91.461z" fill="#000000" fill-rule="evenodd"></path></svg>`,
        "imageName": "gl-export-north-icon",
        "imageSizeFraction": 0.05,
        "visibility": "visible",
        "position": "top-right"
    }

@watergis/[email protected]

16 May 01:28
f9e3631
Compare
Choose a tag to compare

Minor Changes

  • a66f15b: feat: export north icon on the map. North icon image, size, visibility and position can be customized through northIconOptions. The below is default settings for north icon.

    {
        "image": `<svg width="800px" height="800px" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--gis" preserveAspectRatio="xMidYMid meet"><path d="M47.655 1.634l-35 95c-.828 2.24 1.659 4.255 3.68 2.98l33.667-21.228l33.666 21.228c2.02 1.271 4.503-.74 3.678-2.98l-35-95C51.907.514 51.163.006 50 .008c-1.163.001-1.99.65-2.345 1.626zm-.155 14.88v57.54L19.89 91.461z" fill="none" stroke="white" stroke-width="1.5"/><path d="M47.655 1.634l-35 95c-.828 2.24 1.659 4.255 3.68 2.98l33.667-21.228l33.666 21.228c2.02 1.271 4.503-.74 3.678-2.98l-35-95C51.907.514 51.163.006 50 .008c-1.163.001-1.99.65-2.345 1.626zm-.155 14.88v57.54L19.89 91.461z" fill="#000000" fill-rule="evenodd"></path></svg>`,
        "imageName": "gl-export-north-icon",
        "imageSizeFraction": 0.05,
        "visibility": "visible",
        "position": "top-right"
    }

@watergis/[email protected]

15 May 13:10
2933f61
Compare
Choose a tag to compare

Patch Changes

  • 6dd9820: fix: add check for actual image data before calling addImage by @jmbarbier

@watergis/[email protected]

15 May 13:10
2933f61
Compare
Choose a tag to compare

Patch Changes

  • 6dd9820: fix: add check for actual image data before calling addImage by @jmbarbier