maptiler / maptiler-geocoding-control

The Javascript & TypeScript Map Control component for MapTiler Geocoding service! Easy to be integrated into any JavaScript mapping application.
https://maptiler.com/cloud/geocoding
BSD 3-Clause "New" or "Revised" License
28 stars 4 forks source link

[BUG] Type incompatibility between this lib `Map` type and @maptiler/sdk `Map` type #13

Closed toniopelo closed 1 year ago

toniopelo commented 1 year ago

Describe the bug This title says it all, here is a screenshot of the exact error: image

To Reproduce Just follow the readme of this package.

Expected behavior No type error.

Additional context All packages are on their latest version.

zdila commented 1 year ago

Which version of @maptiler/geocoding-control and @maptiler/sdk are you using? With the latest versions (0.0.99 and 1.1.2) I can't reproduce the problem. Also please provide your sample code.

zdila commented 1 year ago

Please reopen with more details if you can reproduce it again. Thank you.