It seems that I am not able to display the points in those components. I am using the following:
<mgl-map> // removed unnecessary attributes, map is displayed correctly
<mgl-geojson-source id="branch-points">
<mgl-feature
*ngFor="let geometry of branchData"
[geometry]="geometry">
</mgl-feature>
</mgl-geojson-source>
</mgl-map>
my geometry object looks like this:
{
coordinates: [
branch.geolocation.lat,
branch.geolocation.long,
],
type: 'Point',
}
What am I doing wrong?