Skip to content

How to put custom icon on Polyline / Polygon etc #42642

@sohitEngg

Description

@sohitEngg

Is there a way in Flutter to put an icon on the polyline in MapView like in android native there is a "icon" property in Polyline object.

My requirement is to show the route between 2 place in flutter based application which i can easily achieve with the Google Map and Polyline api but in Polyline there is no option to put icon. I am also not able to find the all gps points which are making the polyline path either.

So please help me if there is a suitable way of achieving this functionality. Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: new featureNothing broken; request for a new capabilityp: mapsGoogle Maps pluginpackageflutter/packages repository. See also p: labels.r: duplicateIssue is closed as a duplicate of an existing issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions