ng2-bingmaps
Version:
Angular 2 components for Bing Maps
26 lines (24 loc) • 749 B
JavaScript
/**
* ng2-bingmaps - Angular 2 components for Bing Maps
* @version v0.2.0
* @link https://github.com/youjustgo/ng2-bingmaps
* @license MIT
*/
/**
* When using the NoOpMapsAPILoader, the Google Maps API must be added to the page via a `<script>`
* Tag.
* It's important that the Google Maps API script gets loaded first on the page.
*/
export class NoOpMapsAPILoader {
load() {
// todo
throw new Error('todo');
// if (!(<any>window).google || !(<any>window).google.maps) {
// throw new Error(
// 'Bing Maps API not loaded on page. Make sure window.bing.maps is available!');
// }
// return Promise.resolve();
}
;
}
//# sourceMappingURL=noop-maps-api-loader.js.map