Skip to content

CreateMap() this._loader.Load is not a function #135

@ria-stamopoulou

Description

@ria-stamopoulou

Angular v.11
angular11-maps v.6.0.11
bingmaps v.2.0.3

While trying to open the map in a modal I am getting the following error:

this._loader.Load is not a function at BingMapService.CreateMap (angular11-maps.js:11143)

HTML:

<x-map #xmap [Options]="_options" [Box]="_box"> <x-map-marker [Latitude]="39.3224047088176" [Longitude]="22.0880781793979"> </x-map-marker> </x-map>

TS:

_options: IMapOptions = { disableBirdseye: false, disableStreetside: false, navigationBarMode: 1, zoom: 6 };

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions