Skip to content
This repository was archived by the owner on Jun 23, 2025. It is now read-only.
This repository was archived by the owner on Jun 23, 2025. It is now read-only.

How to set dynamic icons with path #1740

@mainginski

Description

@mainginski

Issue description

If I use 'vanilla' google maps to create a Marker, I can set the following properties in icon attribute:

{
      path: 'M172.268 501.67C26.97 291.031 0 269.413 0 192 0 85.961 85.961 0 192 0s192 85.961 192 192c0 77.413-26.97 99.031-172.268 309.67-9.535 13.774-29.93 13.773-39.464 0z',
      fillColor: color,
      scale: .075,
      anchor: new google.maps.Point(191, 513),
      labelOrigin: new google.maps.Point(192, 192)
}

How to make this happen with agm-marker (specifically: an path with different colors)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions