Releases: watergis/maplibre-gl-export
Releases · watergis/maplibre-gl-export
@watergis/[email protected]
Patch Changes
- 5a45f61: chore: updated all dependencies of mapbox-gl-export and maplibre-gl-export (particularly for eslint v9)
@watergis/[email protected]
Patch Changes
- 5a45f61: chore: updated all dependencies of mapbox-gl-export and maplibre-gl-export (particularly for eslint v9)
@watergis/[email protected]
Patch Changes
- b7a4bff: Fix an error: Style is not done loading
@watergis/[email protected]
Patch Changes
- b7a4bff: Fix an error: Style is not done loading
@watergis/[email protected]
Patch Changes
- 26a1d32: fix: It has a breaking change on attribution options.
options.attributionStyle
is changed tooptions.attributionOptions.style
. addvisibility
andposition
option intooptions.attributionOptions
. Due to technical issue, onlytop-right
orbottom-right
position are supported currently.
@watergis/[email protected]
Patch Changes
- 26a1d32: fix: It has a breaking change on attribution options.
options.attributionStyle
is changed tooptions.attributionOptions.style
. addvisibility
andposition
option intooptions.attributionOptions
. Due to technical issue, onlytop-right
orbottom-right
position are supported currently.
@watergis/[email protected]
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]
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]
Patch Changes
- 6dd9820: fix: add check for actual image data before calling addImage by @jmbarbier
@watergis/[email protected]
Patch Changes
- 6dd9820: fix: add check for actual image data before calling addImage by @jmbarbier