Skip to content

Capacitor Google maps Active Marker Icon #123

@ProXyTG

Description

@ProXyTG

Feature Request

Plugin

capacitor/google-maps

Description

I want to implement Active Marker Icon when the user clicks on it (setOnMarkerClickListener), but it's not possible currently.

Platform(s)

Android/iOS/Web

Preferred Solution

Simply just add setIcon function provided by google maps to setOnMarkerClickListener.

Alternatives

Additional Context

Like this:

google.maps.event.addListener(marker, "click", function() { marker.setIcon('image.path') });

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions