mariusandra / pigeon-maps

ReactJS Maps without external dependencies
https://pigeon-maps.js.org/
MIT License
3.44k stars 142 forks source link

Providers: Set default DPR to 1 #132

Closed kasperbfrank closed 3 years ago

kasperbfrank commented 3 years ago

type of MapProps.provider does not match type of provider functions exported from src/providers.ts.

This means that if using typescript and passing a provider to props of map, you need to add ts-ignore / ts-expect-error to not get an error.

This PR fixes that issue, setting the default dpr to 1.

mariusandra commented 3 years ago

Why not. 0.19.6 released with the change.