I tried to install the new version 3.x
azure-maps-control npm package but it seems to have some problems with Typescript:
azuremaps-maplibre-gl
module which cannot be found anywhere. Normal maplibre-gl
exists but I suppose that the Azure Maps team made some changes to the vanilla version. This dependency seems to be introduced in version 3.0.0-preview.9
.Errors in azure-maps-control/typings/index.d.ts
:
Is this an oversight by the Azure Maps team? Or do I use the package wrong?
EDIT for people reading this in the future: Package versions starting from 3.0.2
are fixed.
There is a known bug in the current NPM package release. The Azure Maps team is looking into this. There is a thread tracking this here: https://github.com/Azure-Samples/AzureMapsCodeSamples/issues/116