Home › Forum › Wp Gpx Maps › Support › Plugin I've Been Looking For! Except I Don't Get Maps
- Questo topic ha 3 risposte, 2 partecipanti ed è stato aggiornato l'ultima volta 10 anni, 4 mesi fa da
max.
-
AutorePost
-
tmac2272
OspiteHi, Massimo –
I’m so excited to use this plugin. It’s exactly what I’ve been looking for for an upcoming 6,500 mile motorcycle journey through the American Northwest. The issue I’m encountering is that after installing and customizing the admin settings, I excitedly uploaded a GPX file from a Garmin zumo 550 of a recent ride. I see the chart with correct parameters and data from the .gpx file, but do not see a Google Map. Based on recent experience with a Google Maps API (v3) mashup for my trip, I noticed that the plugin admin settings do not ask for Google Maps API key. I’m a newbie so take this with a grain of salt, but is that possibly the reason I am not seeing the Google Map, but am seeing the Google Chart with data?
Here is a direct link to the WP post at issue: http://www.macvey.com/2012/03/18/first-ride-of-2012/. Additionally, here is a direct link to the GPX file I’m trying to render: http://www.macvey.com/rides/activity_159293579.gpx. Platform is Mac OS X 10.7.3, Firefox 11.0, Safari 5.1.2. No joy on iOS devices either.
Again, I am so excited to use this plugin! I’ll support in every way I can. GREAT work!
All the best,
Terrymax
Amministratore del forumNice ride! I noticed that there is no map height..
In the admin area set the default map height at 500px. You have a very big file I suggest to set to pointsoffset at 250 or even 500 to speedup the page loadthis is a sample shortcode you can use:
© OpenStreetMap contributorsjQuery(document).ready(function() {
jQuery( "#wpgpxmaps_198_3155697" ).wpgpxmaps( { targetId : "198_3155697", mapType : "HYBRID", mapData : [[45.0104129,-92.9043109],[45.0123969,-92.9025830],[45.0173820,-92.9078840],[45.0162340,-92.8933269],[45.0115840,-92.8832449],[45.0019700,-92.8805399],[44.9880799,-92.8806620],[44.9754259,-92.8834130],[44.9635700,-92.8907400],[44.9587699,-92.9032870],[44.9456890,-92.9034659],[44.9409709,-92.9055639],[44.9446369,-92.8954580],[44.9452509,-92.8795240],[44.9455340,-92.8608280],[44.9469410,-92.8440790],[44.9415470,-92.8325349],[44.9378650,-92.8216700],[44.9329699,-92.8084300],[44.9239020,-92.8020420],[44.9164680,-92.7952859],[44.9090890,-92.7845479],[44.8953180,-92.7833069],[44.8875370,-92.7920249],[44.8775660,-92.8007799],[44.8633819,-92.8014050],[44.8541639,-92.7979250],[44.8426480,-92.7975779],[44.8302280,-92.7991640],[44.8143810,-92.8024030],[44.7981290,-92.8064059],[44.7822559,-92.8114320],[44.7715230,-92.8174560],[44.7580150,-92.8172029],[44.7507219,-92.8181689],[44.7483349,-92.8012080],[44.7438329,-92.7857679],[44.7360919,-92.7691660],[44.7263429,-92.7546270],[44.7268650,-92.7412469],[44.7286319,-92.7241370],[44.7287729,-92.7041510],[44.7209160,-92.6825360],[44.7135380,-92.6693399],[44.7071459,-92.6589190],[44.7024009,-92.6441960],[44.6891590,-92.6425619],[44.6754690,-92.6454929],[44.6636660,-92.6388280],[44.6526580,-92.6343509],[44.6465310,-92.6177320],[44.6414629,-92.6014599],[44.6322960,-92.5897089],[44.6245170,-92.5773979],[44.6140389,-92.5582989],[44.6050229,-92.5405819],[44.5959779,-92.5197990],[44.5941190,-92.4950379],[44.5906600,-92.4717289],[44.5850380,-92.4570070],[44.5875209,-92.4416930],[44.5938550,-92.4252790],[44.5903389,-92.4040079],[44.5870299,-92.3856669],[44.5788489,-92.3779240],[44.5757029,-92.3596720],[44.5715950,-92.3359000],[44.5643760,-92.3153149],[44.5534789,-92.3016229],[44.5407730,-92.2950539],[44.5282350,-92.2949740],[44.5160700,-92.2911610],[44.5029879,-92.2896970],[44.4928560,-92.2808879],[44.4851230,-92.2674360],[44.4787390,-92.2514700],[44.4694120,-92.2306160],[44.4606570,-92.2131379],[44.4566229,-92.1958059],[44.4460770,-92.1734029],[44.4433460,-92.1576930],[44.4393150,-92.1401350],[44.4384990,-92.1071680],[44.4383840,-92.0849400],[44.4352089,-92.0643180],[44.4347890,-92.0495290],[44.4342430,-92.0310040],[44.4337599,-92.0146949],[44.4225790,-92.0091230],[44.4117620,-92.0136109],[44.3970620,-92.0238060],[44.3858770,-92.0328620],[44.3855410,-92.0472219],[44.3920720,-92.0612950],[44.4007790,-92.0758699],[44.4078439,-92.0925270],[44.4097989,-92.1096369],[44.4109110,-92.1261489],[44.4106779,-92.1435479],[44.4106589,-92.1635949],[44.4147899,-92.1807300],[44.4167879,-92.1989889],[44.4202060,-92.2156150],[44.4237420,-92.2343229],[44.4302520,-92.2540170],[44.4431590,-92.2595009],[44.4508660,-92.2689880],[44.4600860,-92.2821330],[44.4706029,-92.2976249],[44.4846620,-92.3079070],[44.4960999,-92.3147370],[44.5049270,-92.3215500],[44.5088399,-92.3455680],[44.5119430,-92.3620269],[44.5160609,-92.3826329],[44.5191870,-92.4000750],[44.5313540,-92.4139540],[44.5445059,-92.4294400],[44.5463300,-92.4506400],[44.5528509,-92.4680599],[44.5570039,-92.4839099],[44.5622959,-92.4976370],[44.5676169,-92.5202450],[44.5666249,-92.5341269],[44.5743169,-92.5385810],[44.5864210,-92.5445880],[44.5984649,-92.5382229],[44.6072399,-92.5459670],[44.6174629,-92.5645129],[44.6261830,-92.5804069],[44.6368830,-92.5942269],[44.6447569,-92.6109369],[44.6509610,-92.6306350],[44.6620299,-92.6371989],[44.6737369,-92.6464500],[44.6862410,-92.6438750],[44.6961770,-92.6441380],[44.7072289,-92.6568559],[44.7127239,-92.6677159],[44.7207779,-92.6816860],[44.7271619,-92.6993260],[44.7287520,-92.7216070],[44.7283149,-92.7385300],[44.7261409,-92.7508170],[44.7327790,-92.7654120],[44.7426499,-92.7759599],[44.7438210,-92.7933390],[44.7512450,-92.8034100],[44.7610459,-92.7932550],[44.7727910,-92.7809939],[44.7846800,-92.7706330],[44.7963639,-92.7588840],[44.8110329,-92.7465450],[44.8230549,-92.7345240],[44.8324120,-92.7295890],[44.8457000,-92.7311520],[44.8664869,-92.7310410],[44.8798080,-92.7308070],[44.8920400,-92.7312150],[44.9112750,-92.7311660],[44.9311100,-92.7315900],[44.9463380,-92.7311759],[44.9531410,-92.7205499],[44.9638120,-92.7212119],[44.9629269,-92.7457660],[44.9706949,-92.7565220],[44.9632110,-92.7540380],[44.9624710,-92.7697739],[44.9579499,-92.7869039],[44.9509000,-92.8107889],[44.9487629,-92.8334989],[44.9488039,-92.8581680],[44.9487769,-92.8810869],[44.9487670,-92.9064170],[44.9490779,-92.9275350],[44.9607869,-92.9338770],[44.9729789,-92.9338410],[44.9861320,-92.9338919],[44.9936990,-92.9247290],[45.0057099,-92.9236500],[45.0131339,-92.9163629],[45.0107250,-92.9058720]], graphDist : [0.00,1234.51,2302.96,3623.38,4866.16,6335.24,7934.98,9373.80,11283.73,12791.58,14246.34,15395.24,16558.04,17827.09,19311.32,20655.62,22152.16,23228.88,24506.32,25757.05,26967.09,28229.20,29773.67,30955.99,32323.34,33921.11,35039.33,36323.87,37738.61,39522.06,41391.71,43255.89,44619.45,46121.41,47250.21,48723.53,50131.38,51847.62,53440.41,54691.74,56126.92,57706.25,59654.36,61118.78,62253.17,63684.32,65174.07,66726.34,68227.88,69544.65,71029.64,72438.84,73827.64,75137.35,77045.52,78780.20,80771.56,82789.57,84754.20,86140.39,87431.16,88962.42,90761.78,92276.23,93562.66,95158.81,97099.54,98955.56,100592.64,102134.99,103584.46,104971.79,106446.70,107791.87,109173.07,110626.04,112593.80,114302.50,115761.93,117895.12,119188.08,120651.99,123274.51,125039.00,126747.23,127922.16,129393.99,130690.03,132187.57,133477.85,135301.67,136740.81,138202.15,139535.26,141114.82,142674.93,144069.84,145404.10,146799.96,148448.44,149909.34,151385.90,152825.69,154407.60,156208.49,157759.72,158916.06,160379.73,162102.60,163865.90,165251.07,166389.03,168370.01,169719.78,171416.25,172841.91,174666.46,176670.63,178396.39,179963.22,181313.83,182575.78,184463.39,185662.14,186972.45,188501.99,189983.61,191414.36,193270.68,194858.60,196488.94,198091.84,199798.16,201241.00,202751.08,204167.24,205311.73,207283.05,208418.12,209971.60,211550.05,213368.88,214737.46,215958.06,217382.82,218785.03,220175.38,221435.95,223126.14,224796.03,226399.87,227996.80,229963.53,231632.54,232918.84,234464.76,236775.91,238257.36,239618.42,241758.30,243963.68,245657.19,246950.37,248142.75,250112.11,251564.09,253213.32,254461.57,255906.97,257943.69,259754.42,261695.42,263498.75,265491.88,267155.16,268824.79,270180.35,271642.94,273080.72,274445.96,275763.22,276863.06], graphEle : [298.20,302.20,300.00,286.00,281.80,284.40,274.80,278.20,280.00,287.00,288.00,291.40,287.00,278.60,271.00,268.60,263.40,268.00,239.00,226.00,222.00,218.80,212.00,270.00,286.60,238.60,300.20,293.80,273.80,277.40,257.40,248.00,256.00,257.60,221.40,218.00,239.60,231.40,213.60,217.80,278.60,304.20,285.80,244.80,313.60,320.60,312.40,311.80,226.80,222.40,222.80,232.40,232.40,222.80,219.40,219.40,232.40,237.80,237.60,211.60,207.40,258.60,333.20,307.60,241.00,216.20,223.60,236.60,231.20,209.00,239.80,237.40,227.60,223.60,224.60,214.60,253.60,210.40,214.40,219.40,220.20,219.20,214.20,207.20,207.00,203.40,207.20,223.40,214.40,204.20,204.00,203.40,213.20,213.40,212.80,213.80,221.20,212.60,207.20,207.20,213.40,209.00,209.80,209.20,209.20,207.00,211.00,206.20,207.40,206.20,207.40,208.40,217.60,219.60,215.20,222.60,213.20,209.00,222.00,223.60,220.20,218.80,214.20,215.00,207.20,207.40,220.20,218.80,222.80,216.80,230.20,219.60,219.40,214.80,297.80,311.20,320.60,322.80,254.00,277.40,293.60,284.20,227.00,210.00,237.60,238.60,236.60,213.60,255.20,264.20,269.40,270.00,265.00,268.40,229.40,272.00,264.80,274.80,268.00,268.00,258.60,256.00,263.80,262.00,247.00,219.80,216.40,228.20,257.60,269.60,267.40,272.00,281.40,298.20,295.60,311.20,315.20,303.60,280.80,284.80,285.60,296.60], graphSpeed : [0.00,2.00,0.43,1.30,1.44,1.40,0.56,0.46,1.20,0.45,0.56,5.45,0.58,1.04,1.59,0.44,1.03,1.11,1.05,0.52,0.58,0.51,1.04,0.47,0.56,0.51,0.43,0.41,0.58,0.41,0.37,0.39,0.40,0.40,1.46,1.59,1.09,0.40,0.44,0.43,0.43,0.40,0.38,0.38,0.42,0.38,0.36,0.38,0.35,0.43,0.50,0.38,0.36,0.38,0.33,0.36,0.35,0.34,0.35,0.49,0.44,0.40,0.40,0.35,0.32,0.33,0.33,0.48,0.41,0.35,0.40,0.38,0.38,0.37,0.42,0.39,0.37,0.35,0.34,0.36,0.49,0.54,0.33,0.38,0.39,0.43,0.40,0.50,1.07,0.40,0.39,0.41,0.56,0.51,0.34,0.39,0.38,0.40,0.39,0.39,0.39,0.38,0.39,0.38,0.39,0.56,1.21,0.51,0.36,0.38,0.35,0.33,0.33,0.38,0.37,0.40,0.35,0.37,0.37,0.33,0.39,0.41,0.33,1.20,0.42,0.35,1.02,0.36,0.35,0.32,0.33,0.33,0.38,0.34,0.33,0.32,0.33,0.36,0.33,0.35,0.41,0.36,0.38,0.36,0.48,0.38,1.09,3.47,0.52,0.34,0.36,0.57,0.32,0.39,0.34,0.32,0.33,0.38,0.31,0.33,0.32,0.40,0.48,2.19,0.32,1.18,1.02,0.35,0.31,0.32,0.33,0.33,0.31,0.32,0.39,0.37,0.40,0.39,0.49,0.52,0.58,1.50], graphHr : [], graphAtemp : [], graphCad : [], graphGrade : [], waypoints : [], unit : "0", unitspeed : "3", color1 : ["#000000"], color2 : "#3366cc", color3 : "#ff0000", color4 : "#ff77bd", color5 : "#beecff", color6 : "#000000", color7 : "#000000", chartFrom1 : "", chartTo1 : "", chartFrom2 : "", chartTo2 : "", startIcon : "", endIcon : "", currentIcon : "", waypointIcon : "", currentpositioncon : "", usegpsposition : "", zoomOnScrollWheel : "", ngGalleries : [], ngImages : [], pluginUrl : "https://devfarm.it/wp-content/plugins", TFApiKey : "74091772296743e3a6914fa00e348953", langs : { altitude : "Altitudine", currentPosition : "Current position", speed : "Velocità", grade : "Grade", heartRate : "Battito Cardiaco", atemp : "Temperature", cadence : "Cadenza", goFullScreen : "Go full screen", exitFullFcreen : "Exit full screen", hideImages : "Hide images", showImages : "Show images", backToCenter : "Ritorna al centro della mappa" } });
});
Total distance: 276863 m
Max elevation: 340 m
Min elevation: 203 m
Total climbing: 2368 m
Total descent: -2368 m
Average speed: 0.42 min/km
Total time: 05:03:51tmac2272
OspiteThank you so much! I originally changed the default height to 600px; per your suggestion, I manually set mheight within the shortcode and it works great.
I do have one other unique issue. I’m building a template for a WordPress page to be used for each day of my motorcycle journey. The UI of the page is simple: it will use 7 tabs with content for each of those tabs. I should add that the tabs are created with shortcode. At any rate, here is the issue I am encountering. The 3rd tab (named “End”) is intended to embed a Google map + elevation chart using your plugin. Everything works great if I embed on the page. Everything works great if I embed on the 1st tab. However, if I embed on any other tab, then I get some strange behavior. The Google Map and elevation chart appear condensed, with the Map being zoomed out all the way.
Here is an example (3rd tab named “End”):
http://www.macvey.com/route/day-04-2012-05-26-sat/
Any thoughts or ideas of things to try? Really appreciate your help – this is the last hurdle for me to roll out an education project to a couple of groups of kids’ classrooms.
Thanks!
max
Amministratore del forumSorry, I was out for work yesterday, I believe is a width problem, because the map is not shown when the page load the first time.. have you set the width?
-
AutorePost