Home › Forum › Wp Gpx Maps › Support › No Maps show
- Questo topic ha 2 risposte, 2 partecipanti ed è stato aggiornato l'ultima volta 13 anni, 1 mese fa da
Dave C tiredofit.ca.
-
AutorePost
-
Dave C tiredofit.ca
OspiteHi there, I am showing maps in my posts – well at least trying to. The DIVs are created and it seems to load all the data, but nothing is showing. Here is a sample of a post where the map resides.
max
MembroHi, nice photos!
My pluging is not loading because something is changing the page html..
have you installed a html optimization or compression plugin?your website response is
wpgpxmaps({ targetId:"10621_3009095", mapType:"ROADMAP", mapData:[...], graphDist:[...], graphEle:[...], graphSpeed:[], graphHr:[], graphCad:[], graphGrade:[...], waypoints:[], unit:"2", unitspeed:"0", color1:["#3366cc"], color2:"#3366cc", color3:"#ff0000", color4:"#ff77bd", color5:"#beecff", color6:"#000000", chartFrom1:"", chartTo1:"", chartFrom2:"", chartTo2:"", startIcon:"", endIcon:"", urrentIcon:"", waypointIcon:"", zoomOnScrollWheel:"", pluginUrl:"http://www.<a title="tiredofit" href="http: langs:{ altitude:"Altitude", currentPosition:"Current Position", speed:"Speed", grade:"Grade", heartRate:"Heart rate", cadence:"Cadence", goFullScreen:"Go Full Screen", exitFullFcreen:"Exit Full Screen", hideImages:"Hide Images", showImages:"Show Images", backToCenter:"Back to center"} });but it should be
wpgpxmaps({ targetId:"10621_3009095", mapType:"ROADMAP", mapData:[...], graphDist:[...], graphEle:[...], graphSpeed:[], graphHr:[], graphCad:[], graphGrade:[...], waypoints:[], unit:"2", unitspeed:"0", color1:["#3366cc"], color2:"#3366cc", color3:"#ff0000", color4:"#ff77bd", color5:"#beecff", color6:"#000000", chartFrom1:"", chartTo1:"", chartFrom2:"", chartTo2:"", startIcon:"", endIcon:"", urrentIcon:"", waypointIcon:"", zoomOnScrollWheel:"", pluginUrl:"http://www.tiredofit.ca/wp-content/plugins/", langs:{ altitude:"Altitude", currentPosition:"Current Position", speed:"Speed", grade:"Grade", heartRate:"Heart rate", cadence:"Cadence", goFullScreen:"Go Full Screen", exitFullFcreen:"Exit Full Screen", hideImages:"Hide Images", showImages:"Show Images", backToCenter:"Back to center"} });In particular the pluginUrl variable is changed from:
pluginUrl:”http://www.tiredofit.ca/wp-content/plugins/”,
to
pluginUrl:”http://www.<a title=”tiredofit” href=”http:
Dave C tiredofit.ca
OspiteYou are right! It was getting mangled somehow with a plugin called SEO Smart Links – the name tiredofit was creating an A link – all is sorted and I can show my maps again! Thanks very much.
-
AutorePost