{"id":1356,"date":"2023-02-22T22:47:19","date_gmt":"2023-02-22T22:47:19","guid":{"rendered":"https:\/\/ifmbanm.com\/blog\/?p=1356"},"modified":"2023-02-24T22:38:17","modified_gmt":"2023-02-24T22:38:17","slug":"test-for-tripideas-map-render","status":"publish","type":"post","link":"https:\/\/ifmbanm.com\/blog\/?p=1356","title":{"rendered":"Test for TripIdeas map render"},"content":{"rendered":"\n<p>Various ways of rendering .gpx.  The first couple use the &#8220;WP GPX&#8221; plugin, which uses a shortcode that points to a media file.  The plugin&#8217;s settings in WP-Admin lets you upload such a file.<\/p>\n\n\n\n<p>This is just stock from the .gpx.  Interestingly, it generates an Altitude chart by default along with the map:<\/p>\n\n\n\r\n\t\t<div id=\"wpgpxmaps_1356_3084966\" class=\"wpgpxmaps\">\r\n\t\t\t<div id=\"map_1356_3084966_cont\" style=\"width:100%; height:450px;position:relative\" >\r\n\t\t\t\t<div id=\"map_1356_3084966\" style=\"width:100%; height:450px\"><\/div>\r\n\t\t\t\t<div id=\"wpgpxmaps_1356_3084966_osm_footer\" class=\"wpgpxmaps_osm_footer\" style=\"display:none;\"><span> &copy; <a href=\"http:\/\/www.openstreetmap.org\/copyright\">OpenStreetMap<\/a> contributors<\/span><\/div>\r\n\t\t\t<\/div>\r\n\t\t\t<canvas id=\"myChart_1356_3084966\" class=\"plot\" style=\"width:100%; height:200px\"><\/canvas>\r\n\t\t\t<div id=\"ngimages_1356_3084966\" class=\"ngimages\" style=\"display:none\"><\/div>\r\n\t\t\t<div id=\"report_1356_3084966\" class=\"report\"><\/div>\r\n\t\t<\/div>\r\n\t\t\r\n\t\t<script type=\"text\/javascript\">\r\n\r\n\t\t\tjQuery(document).ready(function() {\r\n\r\n\t\t\t\tjQuery( \"#wpgpxmaps_1356_3084966\" ).wpgpxmaps( {\r\n\t\t\t\t\ttargetId           : \"1356_3084966\",\r\n\t\t\t\t\tmapType            : \"HYBRID\",\r\n\t\t\t\t\tmapData            : [[-36.8786600,174.7625200],[-36.8787200,174.7626400],[-36.8787500,174.7627800],[-36.8790200,174.7632300],[-36.8789900,174.7633700],[-36.8790800,174.7635600],[-36.8790900,174.7638600],[-36.8790600,174.7641800],[-36.8789700,174.7644300],[-36.8789100,174.7645600],[-36.8785700,174.7651700],[-36.8785000,174.7653600],[-36.8784200,174.7655200],[-36.8783600,174.7656100],[-36.8782800,174.7657300],[-36.8781900,174.7658100],[-36.8781000,174.7658800],[-36.8775900,174.7662300],[-36.8774200,174.7663300],[-36.8773200,174.7663200],[-36.8771800,174.7661800],[-36.8770200,174.7660300],[-36.8769100,174.7659600],[-36.8768100,174.7659100],[-36.8767100,174.7658600],[-36.8766200,174.7658400],[-36.8762000,174.7657400],[-36.8756800,174.7659200],[-36.8754800,174.7660000],[-36.8752900,174.7660500],[-36.8749900,174.7660800],[-36.8748600,174.7661100],[-36.8747700,174.7661500],[-36.8747800,174.7660300],[-36.8747500,174.7658600],[-36.8749200,174.7657600],[-36.8750300,174.7656700],[-36.8751300,174.7656200],[-36.8752200,174.7655300],[-36.8753200,174.7654700],[-36.8754100,174.7654800],[-36.8755500,174.7654400],[-36.8757100,174.7653900],[-36.8758000,174.7653100],[-36.8759600,174.7652500],[-36.8761100,174.7652600],[-36.8762600,174.7652900],[-36.8764200,174.7652300],[-36.8765700,174.7651600],[-36.8767800,174.7651400],[-36.8768800,174.7651100],[-36.8769800,174.7650400],[-36.8769800,174.7650100],[-36.8768000,174.7649000],[-36.8766900,174.7647600],[-36.8766400,174.7646600],[-36.8766100,174.7645300],[-36.8766300,174.7643600],[-36.8766700,174.7641800],[-36.8767400,174.7640400],[-36.8767600,174.7639400],[-36.8768500,174.7637300],[-36.8768800,174.7635900],[-36.8769000,174.7634500],[-36.8769200,174.7633400],[-36.8769800,174.7632000],[-36.8770600,174.7632900],[-36.8771300,174.7633600],[-36.8773000,174.7634200],[-36.8775400,174.7634900],[-36.8776800,174.7635500],[-36.8778000,174.7636300],[-36.8778800,174.7636900],[-36.8779800,174.7638300],[-36.8780500,174.7640300],[-36.8780900,174.7641800],[-36.8781000,174.7643300]],\r\n\t\t\t\t\tgraphDist          : [0.00,13.01,26.07,76.87,95.77,115.40,142.33,170.99,195.62,209.04,276.19,294.87,311.65,322.08,335.98,348.26,360.06,424.78,445.67,457.80,478.44,500.72,514.46,526.48,538.51,548.77,596.79,657.06,680.41,702.01,735.47,750.19,760.90,774.09,791.05,812.91,828.01,840.38,857.10,869.56,879.64,896.02,914.57,927.06,945.77,962.54,979.71,999.55,1017.58,1041.14,1052.71,1065.48,1076.97,1099.41,1117.21,1127.85,1140.16,1156.09,1172.82,1187.51,1198.81,1221.06,1234.50,1247.68,1258.04,1272.83,1286.43,1299.03,1318.79,1346.25,1362.71,1377.90,1388.28,1405.04,1424.51,1438.66,1452.05],\r\n\t\t\t\t\tgraphEle           : [122.70,124.10,126.20,126.00,131.50,131.70,135.20,135.00,137.10,138.50,150.20,150.30,150.10,149.70,149.20,149.20,148.50,146.10,146.20,147.10,149.80,150.90,150.10,149.10,147.90,146.90,140.80,134.90,134.50,133.80,133.20,132.50,133.90,136.90,140.40,142.10,144.30,147.40,149.10,149.70,150.60,151.60,154.40,156.70,159.00,160.50,163.60,169.30,172.20,174.80,176.60,177.40,176.60,174.10,170.90,169.10,166.50,162.70,161.00,161.60,163.60,169.60,173.40,177.10,179.70,183.00,183.20,183.70,185.00,186.90,186.30,184.90,185.40,186.20,184.70,183.10,183.10],\r\n\t\t\t\t\tgraphSpeed         : [],\r\n\t\t\t\t\tgraphHr            : [],\r\n\t\t\t\t\tgraphAtemp         : [],\r\n\t\t\t\t\tgraphCad           : [],\r\n\t\t\t\t\tgraphGrade         : [],\r\n\t\t\t\t\twaypoints          : [],\r\n\t\t\t\t\tunit               : \"0\",\r\n\t\t\t\t\tunitspeed          : \"0\",\r\n\t\t\t\t\tcolor1             : [\"#3366cc\"],\r\n\t\t\t\t\tcolor2             : \"#3366cc\",\r\n\t\t\t\t\tcolor3             : \"#ff0000\",\r\n\t\t\t\t\tcolor4             : \"#ff77bd\",\r\n\t\t\t\t\tcolor5             : \"#beecff\",\r\n\t\t\t\t\tcolor6             : \"#beecff\",\r\n\t\t\t\t\tcolor7             : \"#ff77bd\",\r\n\t\t\t\t\tchartFrom1         : \"\",\r\n\t\t\t\t\tchartTo1           : \"\",\r\n\t\t\t\t\tchartFrom2         : \"\",\r\n\t\t\t\t\tchartTo2           : \"\",\r\n\t\t\t\t\tstartIcon          : \"\",\r\n\t\t\t\t\tendIcon            : \"\",\r\n\t\t\t\t\tcurrentIcon        : \"\",\r\n\t\t\t\t\twaypointIcon       : \"\",\r\n\t\t\t\t\tcurrentpositioncon : \"\",\r\n\t\t\t\t\tusegpsposition     : \"\",\r\n\t\t\t\t\tzoomOnScrollWheel  : \"\",\r\n\t\t\t\t\tngGalleries        : [],\r\n\t\t\t\t\tngImages           : [],\r\n\t\t\t\t\tpluginUrl          : \"https:\/\/ifmbanm.com\/blog\/wp-content\/plugins\",\r\n\t\t\t\t\tTFApiKey           : \"\",\r\n\t\t\t\t\tlangs              : {\r\n\t\t\t\t\t\taltitude        : \"Altitude\",\r\n\t\t\t\t\t\tcurrentPosition : \"Current position\",\r\n\t\t\t\t\t\tspeed           : \"Speed\",\r\n\t\t\t\t\t\tgrade           : \"Grade\",\r\n\t\t\t\t\t\theartRate       : \"Heart rate\",\r\n\t\t\t\t\t\tatemp           : \"Temperature\",\r\n\t\t\t\t\t\tcadence         : \"Cadence\",\r\n\t\t\t\t\t\tgoFullScreen    : \"Go full screen\",\r\n\t\t\t\t\t\texitFullFcreen  : \"Exit full screen\",\r\n\t\t\t\t\t\thideImages      : \"Hide images\",\r\n\t\t\t\t\t\tshowImages      : \"Show images\",\r\n\t\t\t\t\t\tbackToCenter\t: \"Back to center\"\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\r\n\t\t\t});\r\n\r\n\t\t<\/script>\n\n\n\n<p>Not so good with a multi-route from the driving + walking routes with WP GPX concatenated into one file; it wants to merge them into one route and go back to the start (with a straight line!):<\/p>\n\n\n\r\n\t\t<div id=\"wpgpxmaps_1356_4443131\" class=\"wpgpxmaps\">\r\n\t\t\t<div id=\"map_1356_4443131_cont\" style=\"width:100%; height:450px;position:relative\" >\r\n\t\t\t\t<div id=\"map_1356_4443131\" style=\"width:100%; height:450px\"><\/div>\r\n\t\t\t\t<div id=\"wpgpxmaps_1356_4443131_osm_footer\" class=\"wpgpxmaps_osm_footer\" style=\"display:none;\"><span> &copy; <a href=\"http:\/\/www.openstreetmap.org\/copyright\">OpenStreetMap<\/a> contributors<\/span><\/div>\r\n\t\t\t<\/div>\r\n\t\t\t<canvas id=\"myChart_1356_4443131\" class=\"plot\" style=\"width:100%; height:200px\"><\/canvas>\r\n\t\t\t<div id=\"ngimages_1356_4443131\" class=\"ngimages\" style=\"display:none\"><\/div>\r\n\t\t\t<div id=\"report_1356_4443131\" class=\"report\"><\/div>\r\n\t\t<\/div>\r\n\t\t\r\n\t\t<script type=\"text\/javascript\">\r\n\r\n\t\t\tjQuery(document).ready(function() {\r\n\r\n\t\t\t\tjQuery( \"#wpgpxmaps_1356_4443131\" ).wpgpxmaps( {\r\n\t\t\t\t\ttargetId           : \"1356_4443131\",\r\n\t\t\t\t\tmapType            : \"HYBRID\",\r\n\t\t\t\t\tmapData            : [[-36.8767180,174.7614060],[-36.8768590,174.7618260],[-36.8769650,174.7619020],[-36.8771140,174.7618850],[-36.8770920,174.7619740],[-36.8769160,174.7621140],[-36.8767480,174.7622870],[-36.8766510,174.7625080],[-36.8764770,174.7627630],[-36.8763330,174.7629810],[-36.8762770,174.7631270],[-36.8761940,174.7633860],[-36.8761320,174.7634880],[-36.8760730,174.7636280],[-36.8760230,174.7637980],[-36.8759800,174.7639030],[-36.8757800,174.7639680],[-36.8756550,174.7639110],[-36.8754130,174.7637600],[-36.8752470,174.7638010],[-36.8751530,174.7638800],[-36.8750350,174.7638750],[-36.8749820,174.7640140],[-36.8750080,174.7641310],[-36.8749790,174.7643960],[-36.8749410,174.7645160],[-36.8748750,174.7646360],[-36.8749180,174.7647690],[-36.8750340,174.7648430],[-36.8749910,174.7649770],[-36.8749190,174.7650800],[-36.8749060,174.7652180],[-36.8749970,174.7653970],[-36.8751200,174.7655180],[-36.8751340,174.7656200],[-36.8750310,174.7656750],[-36.8749510,174.7657430],[-36.8747890,174.7658050],[-36.8747360,174.7659360],[-36.8747760,174.7660330],[-36.8747590,174.7661510],[-36.8748620,174.7661120],[-36.8749880,174.7660760],[-36.8752890,174.7660550],[-36.8754790,174.7660030],[-36.8756790,174.7659220],[-36.8761970,174.7657420],[-36.8765480,174.7658140],[-36.8766850,174.7658590],[-36.8768080,174.7659050],[-36.8769140,174.7659590],[-36.8770230,174.7660270],[-36.8771140,174.7661130],[-36.8771850,174.7661830],[-36.8772690,174.7662960],[-36.8773630,174.7663450],[-36.8774380,174.7663690],[-36.8776500,174.7663530],[-36.8777440,174.7663610],[-36.8778110,174.7665130],[-36.8777510,174.7667810],[-36.8778020,174.7668800],[-36.8779480,174.7668930],[-36.8781960,174.7666470],[-36.8784110,174.7664180],[-36.8786230,174.7662480],[-36.8787810,174.7661000],[-36.8789160,174.7659710],[-36.8790290,174.7658570],[-36.8791920,174.7656790],[-36.8793910,174.7655150],[-36.8793890,174.7653780],[-36.8794000,174.7652470],[-36.8794000,174.7651300],[-36.8794270,174.7649080],[-36.8794580,174.7646470],[-36.8794770,174.7645210],[-36.8794160,174.7641120],[-36.8793760,174.7638740],[-36.8793140,174.7637400],[-36.8792140,174.7635640],[-36.8790650,174.7632970],[-36.8787590,174.7628400],[-36.8787190,174.7626440],[-36.8786570,174.7625160],[-36.8785590,174.7624280],[-36.8784630,174.7623740],[-36.8783300,174.7623340],[-36.8782060,174.7622890],[-36.8779510,174.7621660],[-36.8777730,174.7621460],[-36.8774890,174.7620880],[-36.8773660,174.7620050],[-36.8772220,174.7619160],[-36.8629800,174.7718180],[-36.8629520,174.7717340],[-36.8626350,174.7714110],[-36.8624980,174.7713270],[-36.8623950,174.7713080],[-36.8622470,174.7713180],[-36.8620700,174.7713220],[-36.8617290,174.7714110],[-36.8609050,174.7719040],[-36.8609040,174.7717520],[-36.8610420,174.7716590],[-36.8611530,174.7716030],[-36.8612730,174.7715360],[-36.8614970,174.7713940],[-36.8616070,174.7713280],[-36.8617410,174.7712360],[-36.8618870,174.7710800],[-36.8619410,174.7709700],[-36.8620030,174.7707850],[-36.8620630,174.7706440],[-36.8621050,174.7704850],[-36.8622490,174.7705360],[-36.8626030,174.7706840],[-36.8635370,174.7710160],[-36.8637040,174.7710750],[-36.8638830,174.7711300],[-36.8640500,174.7711250],[-36.8641480,174.7710920],[-36.8643650,174.7710270],[-36.8650920,174.7708060],[-36.8652790,174.7707480],[-36.8653740,174.7707200],[-36.8654980,174.7706820],[-36.8656680,174.7706110],[-36.8659160,174.7705270],[-36.8660190,174.7704990],[-36.8661170,174.7704750],[-36.8663570,174.7704100],[-36.8664810,174.7703740],[-36.8665950,174.7703410],[-36.8672480,174.7701430],[-36.8677710,174.7699760],[-36.8680720,174.7698850],[-36.8683410,174.7698030],[-36.8687930,174.7696650],[-36.8691620,174.7695460],[-36.8692680,174.7695000],[-36.8693860,174.7694180],[-36.8697210,174.7691120],[-36.8698140,174.7690230],[-36.8701110,174.7687450],[-36.8702900,174.7685870],[-36.8703970,174.7685120],[-36.8704930,174.7684720],[-36.8706760,174.7684340],[-36.8707720,174.7684280],[-36.8708670,174.7684290],[-36.8710930,174.7684450],[-36.8714510,174.7684770],[-36.8718320,174.7685080],[-36.8721060,174.7677590],[-36.8723000,174.7672390],[-36.8723680,174.7670560],[-36.8724160,174.7669390],[-36.8725210,174.7666590],[-36.8725950,174.7664570],[-36.8726680,174.7662720],[-36.8727620,174.7660230],[-36.8728370,174.7657860],[-36.8728430,174.7656420],[-36.8727970,174.7654710],[-36.8726990,174.7653330],[-36.8724350,174.7651500],[-36.8722470,174.7650290],[-36.8721440,174.7649230],[-36.8720740,174.7648000],[-36.8719820,174.7645100],[-36.8719130,174.7642770],[-36.8718690,174.7641490],[-36.8717690,174.7638840],[-36.8717120,174.7637480],[-36.8716660,174.7636250],[-36.8715890,174.7634210],[-36.8715880,174.7633190],[-36.8716770,174.7632440],[-36.8717940,174.7629960],[-36.8718670,174.7628250],[-36.8720210,174.7624580],[-36.8720930,174.7622800],[-36.8721430,174.7621060],[-36.8722810,174.7621050],[-36.8723870,174.7620980],[-36.8725290,174.7620700],[-36.8726620,174.7620440],[-36.8727730,174.7620340],[-36.8728680,174.7620360],[-36.8731210,174.7620930],[-36.8732890,174.7621340],[-36.8735100,174.7621620],[-36.8736680,174.7621680],[-36.8740520,174.7621790],[-36.8742630,174.7621910],[-36.8744200,174.7621850],[-36.8745570,174.7621320],[-36.8746460,174.7620810],[-36.8747950,174.7619470],[-36.8749410,174.7618400],[-36.8750530,174.7617750],[-36.8752630,174.7616830],[-36.8754630,174.7616280],[-36.8755890,174.7616060],[-36.8756810,174.7615950],[-36.8757740,174.7615950],[-36.8758820,174.7615970],[-36.8760320,174.7616050],[-36.8761550,174.7616010],[-36.8763040,174.7615660],[-36.8764440,174.7615170],[-36.8765320,174.7614870],[-36.8767180,174.7614060]],\r\n\t\t\t\t\tgraphDist          : [0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00],\r\n\t\t\t\t\tgraphEle           : [0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00],\r\n\t\t\t\t\tgraphSpeed         : [],\r\n\t\t\t\t\tgraphHr            : [],\r\n\t\t\t\t\tgraphAtemp         : [],\r\n\t\t\t\t\tgraphCad           : [],\r\n\t\t\t\t\tgraphGrade         : [],\r\n\t\t\t\t\twaypoints          : [],\r\n\t\t\t\t\tunit               : \"0\",\r\n\t\t\t\t\tunitspeed          : \"0\",\r\n\t\t\t\t\tcolor1             : [\"#3366cc\"],\r\n\t\t\t\t\tcolor2             : \"#3366cc\",\r\n\t\t\t\t\tcolor3             : \"#ff0000\",\r\n\t\t\t\t\tcolor4             : \"#ff77bd\",\r\n\t\t\t\t\tcolor5             : \"#beecff\",\r\n\t\t\t\t\tcolor6             : \"#beecff\",\r\n\t\t\t\t\tcolor7             : \"#ff77bd\",\r\n\t\t\t\t\tchartFrom1         : \"\",\r\n\t\t\t\t\tchartTo1           : \"\",\r\n\t\t\t\t\tchartFrom2         : \"\",\r\n\t\t\t\t\tchartTo2           : \"\",\r\n\t\t\t\t\tstartIcon          : \"\",\r\n\t\t\t\t\tendIcon            : \"\",\r\n\t\t\t\t\tcurrentIcon        : \"\",\r\n\t\t\t\t\twaypointIcon       : \"\",\r\n\t\t\t\t\tcurrentpositioncon : \"\",\r\n\t\t\t\t\tusegpsposition     : \"\",\r\n\t\t\t\t\tzoomOnScrollWheel  : \"\",\r\n\t\t\t\t\tngGalleries        : [],\r\n\t\t\t\t\tngImages           : [],\r\n\t\t\t\t\tpluginUrl          : \"https:\/\/ifmbanm.com\/blog\/wp-content\/plugins\",\r\n\t\t\t\t\tTFApiKey           : \"\",\r\n\t\t\t\t\tlangs              : {\r\n\t\t\t\t\t\taltitude        : \"Altitude\",\r\n\t\t\t\t\t\tcurrentPosition : \"Current position\",\r\n\t\t\t\t\t\tspeed           : \"Speed\",\r\n\t\t\t\t\t\tgrade           : \"Grade\",\r\n\t\t\t\t\t\theartRate       : \"Heart rate\",\r\n\t\t\t\t\t\tatemp           : \"Temperature\",\r\n\t\t\t\t\t\tcadence         : \"Cadence\",\r\n\t\t\t\t\t\tgoFullScreen    : \"Go full screen\",\r\n\t\t\t\t\t\texitFullFcreen  : \"Exit full screen\",\r\n\t\t\t\t\t\thideImages      : \"Hide images\",\r\n\t\t\t\t\t\tshowImages      : \"Show images\",\r\n\t\t\t\t\t\tbackToCenter\t: \"Back to center\"\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\r\n\t\t\t});\r\n\r\n\t\t<\/script>\n\n\n\n<p>Here&#8217;s the two source .gpx files combined and rendered with GPS Visualizer, which has a couple of nice features:<\/p>\n\n\n\n<ul>\n<li>better map tile selection (eg OS + texturing)<\/li>\n\n\n\n<li>a select box that lets you pick which of the multiple routes you&#8217;re viewing, and lets you set the zoom to focus on any particular one, or encompass all of them<\/li>\n\n\n\n<li>variable ticks en-route for, eg, km markers or &#8230;, using a selected icon<\/li>\n\n\n\n<li>custom icons for markers.  So, for example, a custom icon for a hiking waypoint from Canva uploaded to Media Library and referenced from a .gpx element marking the entrance to the trail<\/li>\n\n\n\n<li>popups can also include notes, photos, &#8230; through simple .csv-based interface<\/li>\n\n\n\n<li>popup for waypoint can optionally include driving directions to get there, from any google-style location (eg &#8220;current location&#8221;), and we can further customize this (I think) using leaflet-routing-machine (which in turn uses OSMR by default) to make it prettier\/easier<\/li>\n<\/ul>\n\n\n\n<iframe loading=\"lazy\" src=\"https:\/\/ifmbanm.com\/blog\/wp-content\/uploads\/2023\/02\/20230224143403-29190-map.html?center=-36.877106,174.764151&amp;zoom=17\" width=\"700\" height=\"700\"><\/iframe>\n","protected":false},"excerpt":{"rendered":"<p>Various ways of rendering .gpx. The first couple use the &#8220;WP GPX&#8221; plugin, which uses a shortcode that points to a media file. The plugin&#8217;s settings in WP-Admin lets you upload such a file. This is just stock from the .gpx. Interestingly, it generates an Altitude chart by default along with the map: Not so [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[1],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/ifmbanm.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1356"}],"collection":[{"href":"https:\/\/ifmbanm.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ifmbanm.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ifmbanm.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ifmbanm.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1356"}],"version-history":[{"count":19,"href":"https:\/\/ifmbanm.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1356\/revisions"}],"predecessor-version":[{"id":1398,"href":"https:\/\/ifmbanm.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1356\/revisions\/1398"}],"wp:attachment":[{"href":"https:\/\/ifmbanm.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ifmbanm.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1356"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ifmbanm.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}