IModuleOptions errorCallback type doesn't match documentation
jordan-schneider opened this issue · 3 comments
jordan-schneider commented
In the documentation for ModuleOptions it says that errorCallback's type is function(errorMessage:string): void, but in this library it's type is () => void. Which is correct?
drwestco commented
The documentation is correct.
Microsoft.Maps.loadModule('Dennis', { errorCallback: function (msg) { alert(msg) } });
> Dennis is not a supported module.
improving-jeffd commented
Thanks for merging in that pull request! Do you know when this will release to npm? Not sure what the repo's setup is for publishing updates.
rbrundritt commented
Not sure if or when it will be merged into NPM. I moved off the Bing Maps team 4 years ago and have been focused on growing the Azure Maps platform.