'; } register_activation_hook(__FILE__,'WP_GPX_Maps_install'); register_deactivation_hook( __FILE__, 'WP_GPX_Maps_remove'); function WP_GPX_Maps_install() { add_option("wpgpxmaps_width", '100%', '', 'yes'); add_option("wpgpxmaps_height", '450px', '', 'yes'); add_option('wpgpxmaps_map_type','HYBRID','','yes'); } function WP_GPX_Maps_remove() { delete_option('wpgpxmaps_width'); delete_option('wpgpxmaps_height'); delete_option('wpgpxmaps_map_type'); } if ( is_admin() ){ add_action('admin_menu', 'wpgpxmaps_admin_menu'); function wpgpxmaps_admin_menu() { add_options_page('WP GPX Maps', 'WP GPX Maps', 'administrator', 'WP-GPX-Maps', 'WP_GPX_Maps_html_page'); } } function WP_GPX_Maps_html_page() { $realGpxPath = substr (__FILE__, 0, strrpos(__FILE__,'/wp-content/'))."/wp-content/uploads/gpx"; $gpxRegEx = '/.gpx$/'; ?>

WP GPX Settings

Can\'t create '.$realGpxPath.' folder. Please create it and make it writable!
If not, you will must update the file manually!
'; } } ?>
Tips: The fastest way to use this plugin upload the fule using the uploader below, than put this shotcode: [sgpx gpx="/wp-content/uploads/gpx/< gpx file name >"] in the pages/posts.
Maps Width:
Maps Height:
Default Map Type: > This map type displays a transparent layer of major streets on satellite images.
> This map type displays a normal street map.
> This map type displays satellite images.
> This map type displays maps with physical features such as terrain and vegetation.

Choose a file to upload:
File Last modified File size (Byte)
File Last modified File size (Byte)