Skip to content

feat(google-maps): DataLayer #24005

Open
Open
@aline-almeida

Description

@aline-almeida

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: google-mapsfeatureThis issue represents a new feature or feature request rather than a bug or bug fix

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions