Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Discussion options

You must be logged in to vote

Hey Ryan! We're working on a new version that's built for the latest version! Ideally, we would have multiple versions, one for each major version of MapLibre (and OpenLayers and Leaflet), but I haven't found an easy way to do this. On our side, it shouldn't be too complicated, 99% of the code will stay the same, only a few TS types are different.

The complexity lies in creating a JS package that has multiple exports, each built for a different version of MapLibre. It should work something like this:

import { WarpedMapLayer } from '@allmaps/maplibre/5'

This is probably possible, need to look into it more!

Replies: 3 comments 21 replies

Comment options

You must be logged in to vote
5 replies
@rybesh
Comment options

@bertspaan
Comment options

@bertspaan
Comment options

@rybesh
Comment options

@rybesh
Comment options

Answer selected by rybesh
Comment options

You must be logged in to vote
2 replies
@rybesh
Comment options

@rybesh
Comment options

Comment options

You must be logged in to vote
14 replies
@bertspaan
Comment options

@rybesh
Comment options

@bertspaan
Comment options

@rybesh
Comment options

@bertspaan
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants