Open
Description
Feature Description
Hi! There should be a data layer wrapper so we could bind it easily with a GeoJson file, handle feature events and styling, just like other existing types of layers.
Could be something like
<google-map ......>
<map-data-layer [data]="jsonData" (layerClick)="clicked($event)" [style]="styleFunc"> </map-data-layer>
</google-map>
I think this has been referred to in #23611, but I can't seem to find the wrapper (not the code implementation)
Use Case
Loading GeoJson data into a map is a very common action and also useful. Having a wrapper would enable to take advantage of the binding features, instead of having to do everything by code