the map-marker icon on a map is not exactly located as the original one

Support MB Views the map-marker icon on a map is not exactly located as the original one

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #40611
    info@ceescoenen.nl[email protected]
    Participant

    I have two maps:
    https://www.groovetuinfestival.nl/locatie/voorm-gemeentehuis/

    The first one is the orginal without a custom map-marker icon, the second with an icon. You can see that the PNG not aligned correctly.

    #40623
    PeterPeter
    Moderator

    Hello Cees,

    I see that issue. The custom map marker icon does not display correctly on the map. You can try to use this custom CSS code to fix the issue with the custom icon.

    img.leaflet-marker-icon {
        margin-left: -12px;
        margin-top: -41px;
        width: 25px;
        height: 41px;
    }

    I've escalated this issue to the development team to fix it in the next update.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.