Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Color has a deprecated constructor in /home/sites/4a/4/4bbae03e8d/public_html/www02/templates/gantry/features/color.php on line 11
Glasgow Ramblers

Topimage1024

×

Error

GPX: Route file not found: http://glasgowramblers.org.uk/gpxfiles/.gpx

Map expt

 
 
<?php
error_reporting(E_ALL);
ini_set('display_errors', 1);
$gpx="gpxfiles/Airth.gpx";
RLicense::GoogleMapKey("AIzaSyD83XxLWc7fTmBMAm9NvtvYfwr1VusFhu4");
$map=new RLeafletGpxMap(); // standard software to read json feed and decode file
$map->linecolour='#782327'; // optionally set the route's line colour
$map->displayPath($gpx);
?>