• Hi,

    great Plugin. I’m using this to replace Google Maps by OSM because of GDPR Compliance, changing an Events Calendar Display.

    I am creating a shortcode with php and then displaying it. Works perfectly fine except for the Marker Text…i can’t get it to display. The Marker is there and clickable, but when I click nothing happens.

    This is what I’ve tried inside the Shortcode: marker_text = “myText”

    Is this wrong?

    Thanks,
    Gerdski

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author MiKa

    (@photoweblog)

    Hello Gerdski,
    can you post the whole shortcode.
    Thanks & br, Mike

    Thread Starter Gerdski

    (@gerdski)

    Yes. 1.234 and 4.321 is LatLng

    [osm_map_v3
    map_center=”1.234,4.321″
    post_markers=”1″
    type=”pioneer”
    control=”fullscreen,scaleline”
    marker_name=”mic_red_pinother_02.png”
    marker_latlon=”1.234,4.321″
    marker_text = “myText”
    zoom=”14″
    width=”400″
    height=”300″
    map_border=”thin solid grey”]

    Plugin Author MiKa

    (@photoweblog)

    Hello @gerdski,

    you mix up the old shortcode (osm_map) arguments and the new one for (osm_map_v3). Delete all arguments: marker_*

    With the argument post_markers the marker and all info is read from the database (customfield of the post: Marker_Name, Marker_LatLon, Icon, Marker_Text). Make a test by creating a marker with the plugin. If you get this info from some where else, just write in the database this way and rad it with post_markers=1.

    Br, MiKa

    Thread Starter Gerdski

    (@gerdski)

    OK, this makes sense, but I cannot use the database for markers here because it is not a post or page where I’m using OSM…it is an events manager plugin. Basically I’s need one single marker right in the middle of the map (that is already centered on the geocoded address).
    The address is always a different one.

    Possible?

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Marker Text not popping up’ is closed to new replies.