• Resolved oguido

    (@oguido)


    Hello, I’ve generated a shortcode [osm_map_v3 map_center="autolat,autolon" zoom="5" width="100%" height="450" tagged_type="post" marker_name="mic_black_pinother_02.png" map_border="thin solid grey" tagged_color="black"] and when I try to add it as a shortcode to a page, when I press UPDATE in the page I get this error: Updating failed. The response is not a valid JSON response.
    Can you please help me?

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

    (@photoweblog)

    Hello @oguido

    create a new tespost and add this wp osm plugin shortcode:

    [osm_map_v3 map_center="40.4135,-3.7032" zoom="13.1" width="95%" height="450" map_border="thin solid green" control="scaleline"]

    Does it work?

    Br, Michael

    Thread Starter oguido

    (@oguido)

    Hello Michael, yes it works. But I had already figured out what was wrong. I was trying to generate the shortcode before having saved any Location. Once I saved a location it went through. I find it a bit counter-intuitive IMO. But it works 🙂

    Thank you again

    Plugin Author MiKa

    (@photoweblog)

    Hi @oguido

    thank you for your feedback and closing the issue.

    BTW: You can support us with your rate here:
    https://ww.wp.xz.cn/support/plugin/osm/reviews/

    Thanks & br, Michael

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

The topic ‘Trying to add Map & Locations shortcode, JSON error’ is closed to new replies.