You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i have an issue with markers.
I have code: <baidu-map [options]="opts" (loaded)="mapLoaded($event)"> <ng-container> <marker-clusterer [options]="clustererOptions" (loaded)="clustererLoaded($event)" > </marker-clusterer> </ng-container> </baidu-map>
and markers is { "markers": [ { "point": { "lat": 51.5083458, "lng": "-0.1" } }, { "point": { "lat": 52.246124, "lng": 0.3 } }, { "point": { "lat": 51.244604, "lng": 0 } } ] }
and result is
We see points 52.246124, 0.3 and 51.244604, 0. but point with coordinates 51.5083458, -0.1 doesn't show. In dom this point exists but property left: 78629.4px
Any ideas how can I fix this
The text was updated successfully, but these errors were encountered:
It works thanks.
I have a new task that I'm having trouble with. I need to display the marker information using a component. It should be something like this.
this.map.openInfoWindow(
new window.BMap.InfoWindow(this.templateContent, {
offset: new window.BMap.Size(0, -30),
title: 'Title'
}),
marker.getPosition()
);
}
}
`
and html <baidu-map [options]="opts" (loaded)="mapLoaded($event)"> <marker-clusterer [options]="clustererOptions" (loaded)="clustererLoaded($event)"> </marker-clusterer> </baidu-map> <ng-template #cardTemplate> <app-center-card></app-center-card> </ng-template>
Perhaps you can help me with this?
i have an issue with markers.
I have code:
<baidu-map [options]="opts" (loaded)="mapLoaded($event)"> <ng-container> <marker-clusterer [options]="clustererOptions" (loaded)="clustererLoaded($event)" > </marker-clusterer> </ng-container> </baidu-map>
and markers is
{ "markers": [ { "point": { "lat": 51.5083458, "lng": "-0.1" } }, { "point": { "lat": 52.246124, "lng": 0.3 } }, { "point": { "lat": 51.244604, "lng": 0 } } ] }
and result is
We see points 52.246124, 0.3 and 51.244604, 0. but point with coordinates 51.5083458, -0.1 doesn't show. In dom this point exists but property left: 78629.4px
Any ideas how can I fix this
The text was updated successfully, but these errors were encountered: