• Apps MapView
  • I am going to implement a popup on the location pin using mapview.

Hi teammates
I am going to implement a popup on the location pin using mapview.
How can I do it?

Thank you

  • meanking
    I have added a popup to the named markers, it can be triggered by a click:

    {"namedmarkers": {"test":{"latlng":[53.9056366,27.4489254], "direction": 5, "color": "#f0f", "label": "label", "popup":"popup<br>content"}}}

Hello. You can use a title for the named marker

{
    "namedmarkers": {
        "test": {
            "latlng": [
                53.9015366,
                27.4649254
            ],
            "direction": 23,
            "color": "#f0f",
            "label": "label",
            "title": "title"
        }
    }
}

dexif
Thank you Dexif
Yeah, I used it already, but the length of the quote in a popup is so long and I hope this would be broken into several lines.
I am going to use the "title" to show the quote.

dexif
Could you please help me?
Thank you

    meanking
    I have added a popup to the named markers, it can be triggered by a click:

    {"namedmarkers": {"test":{"latlng":[53.9056366,27.4489254], "direction": 5, "color": "#f0f", "label": "label", "popup":"popup<br>content"}}}

    dexif
    Great! Thank you for your efforts
    👍️

    Write a Reply...