Skip to content

How to customize a callout marker in marker.js2? #72

Open
@NQNghia

Description

@NQNghia

Hi Ailon,

I watched your "Create a custom marker" tutorial and I'm trying to create a new callout marker with a background of a triangle. I copied all the code in TriangleMarker.js but inherited from CalloutMarker class. These are the errors that I get:
Capture

Could you give me some instructions for customizing a callout marker?

Thanks!

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