Fix bug in bounds calculation for negative lats/lons

This commit is contained in:
Pieter Vander Vennet 2021-09-27 15:38:12 +02:00
parent 215aebce19
commit 38037014b0
6 changed files with 65 additions and 51 deletions

View file

@ -30,6 +30,8 @@ export default class Minimap {
/**
* Construct a minimap
*/
public static createMiniMap: (options: MinimapOptions) => (BaseUIElement & MinimapObj)
public static createMiniMap: (options: MinimapOptions) => (BaseUIElement & MinimapObj) = (_) => {
throw "CreateMinimap hasn't been initialized yet. Please call MinimapImplementation.initialize()"
}
}