• Hi
    I am in the process of removing googlemaps from a theme template and replacing with your lovely osm:

    <?php echo do_shortcode(‘[osm_map_v3 map_center=”xx.xxxxx,-1.2037″ mwz=”true” zoom=”15″ width=”100%” height=”450″ post_markers=”1″ type=”stamen_toner”]’); ?>

    Which all works beautifully, thank you!

    However, I can’t seem to find code for, what I assume is called, the post_marker. I attempted this in the above php:

    marker_text=”<b>MYNAME</b><br>DESIGNERTYPE”

    to no avail.

    Can you advise please what all the relevant ‘shortcodes’ are (For php)

    With sincere thanks and public acknowledgement that this plugin is SIMPLY the best potential replacement for (damn) googlemaps!!!

    • This topic was modified 4 years, 11 months ago by Jan Dembowski.
    • This topic was modified 4 years, 11 months ago by Jan Dembowski.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter pils.schouler

    (@pilsschouler-1)

    damn, just realised I@ve given my gps away!
    s##t!
    :]

    Thread Starter pils.schouler

    (@pilsschouler-1)

    @jdembowski
    awww, thanks Jan
    (ps. also thanks for the facebook myinfo post)

    Thread Starter pils.schouler

    (@pilsschouler-1)

    ok, so, the answer appears to be (when custompage/themetemplate has no ‘content section’ / is NOT a post):

    1. use the osm (as normal) in admin/page/custompage. This will set the ‘wp_postmeta’ in SQL required for the marker_icon/marker_name and SAVE page.
    2. Add <php echo do_shortcode etc> to your custompage template.
    3. This will pick up the ‘wp_postmeta’ stored in the SQL, by page_id…(trusting that your shortcode has the correct details in)

    Do tell me if I’ve missed something simple.

    Thread Starter pils.schouler

    (@pilsschouler-1)

    Lovely chatting with you.
    :]

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Replace Template GoogleMaps’ is closed to new replies.