WP App location within OSM Plugin
-
Hi,
I generated a workaround to present the location which is stored by the WP App within the OSM plugin. You have to update the template file for single page (page.php).
<?php $lat = get_post_meta( $id, 'geo_latitude'); $long = get_post_meta( $id, 'geo_longitude'); $cords = $lat[0] . "," . $long[0]; update_post_meta( $id, 'OSM_geo_data', $cords ); ?>
This small peace of codes transfers the meta data generated by the App to OSM meta data.
Is this a way to go?
- The topic ‘WP App location within OSM Plugin’ is closed to new replies.