Skip to content

@watergis/maplibre-gl-export@3.8.0

Compare
Choose a tag to compare
@github-actions github-actions released this 16 May 01:28
· 107 commits to main since this release
f9e3631

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"
    }