Title: Replace Template GoogleMaps
Last modified: May 10, 2019

---

# Replace Template GoogleMaps

 *  [pils.schouler](https://wordpress.org/support/users/pilsschouler-1/)
 * (@pilsschouler-1)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/replace-template-googlemaps-please/)
 * 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 7 years, 1 month ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
    -  This topic was modified 7 years, 1 month ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Freplace-template-googlemaps-please%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [pils.schouler](https://wordpress.org/support/users/pilsschouler-1/)
 * (@pilsschouler-1)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/replace-template-googlemaps-please/#post-11516549)
 * damn, just realised I@ve given my gps away!
    s##t! :]
 *  Thread Starter [pils.schouler](https://wordpress.org/support/users/pilsschouler-1/)
 * (@pilsschouler-1)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/replace-template-googlemaps-please/#post-11517520)
 * [@jdembowski](https://wordpress.org/support/users/jdembowski/)
    awww, thanks 
   Jan (ps. also thanks for the facebook myinfo post)
 *  Thread Starter [pils.schouler](https://wordpress.org/support/users/pilsschouler-1/)
 * (@pilsschouler-1)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/replace-template-googlemaps-please/#post-11517785)
 * 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](https://wordpress.org/support/users/pilsschouler-1/)
 * (@pilsschouler-1)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/replace-template-googlemaps-please/#post-11517787)
 * Lovely chatting with you.
    **:]**

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

The topic ‘Replace Template GoogleMaps’ is closed to new replies.

 * ![](https://ps.w.org/osm/assets/icon-256x256.png?rev=2087144)
 * [OSM - OpenStreetMap](https://wordpress.org/plugins/osm/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/osm/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/osm/)
 * [Active Topics](https://wordpress.org/support/plugin/osm/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/osm/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/osm/reviews/)

## Tags

 * [do_shortcode](https://wordpress.org/support/topic-tag/do_shortcode/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [template](https://wordpress.org/support/topic-tag/template/)

 * 4 replies
 * 1 participant
 * Last reply from: [pils.schouler](https://wordpress.org/support/users/pilsschouler-1/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/replace-template-googlemaps-please/#post-11517787)
 * Status: not resolved