I have OSM embedded on a website (using the shortcode for a custom tile set) and I want to display a series of GPX files (or kml I can export either) that I will be uploading over the course of a trip. Would it be possible to automate this so all I have to do is upload the files? Perhaps with a wordpress plugin or simple script of some sort?

Any ideas would be appriciated!

asked 17 Jun '14, 23:12

Entg's gravatar image

Entg
1111
accept rate: 0%


Not sure about what you want to automate, but maybe you can borrow some code from one of those Track_drawing_websites.

permanent link

answered 18 Jun '14, 02:22

aseerel4c26's gravatar image

aseerel4c26 ♦
31.9k16237548
accept rate: 17%

Adding GPX files to the embedded map obtained via the share button won't be possible without major modifications. But you can embed your map the usual way using Leaflet or OpenLayers (it seems like the embedded map also uses Leaflet).

As you mentioned Wordpress, there is a wiki page about Wordpress which lists some other possible solutions and plugins.

permanent link

answered 18 Jun '14, 07:36

scai's gravatar image

scai ♦
31.1k18281434
accept rate: 23%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×223
×95
×87
×12

question asked: 17 Jun '14, 23:12

question was seen: 8,076 times

last updated: 18 Jun '14, 13:37

powered by OSQA