• Resolved dosheimer

    (@dosheimer)


    Hi!
    Currently I am using this shortcodes-selection which is working great:

    [leaflet-map fitbounds max_zoom="18" zoomcontrol]
    [leaflet-kml src=https://www....../.../current-position.kml]boat name[/leaflet-kml]
    [leaflet-gpx src="https://www....../.../track.gpx" circleMarker radius=3]{name} - {desc}[/leaflet-gpx]
    [fullscreen]
    [leaflet-scale]

    I have some .gpx files with tracks within a directory of my webspace.

    Is there a way to show all gpx-files from this directory above the leaflet map (i.e. dropdown menu) for user-selection and then when the user selects one of those this track will be shown on the map?

    I found a shortcode “[leaflet-directory….” in the wordpress plugin “Extensions for Leaflet Map”, but I don′t yet understand this and if this could do this job?

    Would be great if someone could give me an idea how to solve this.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor hupe13

    (@hupe13)

    leaflet-directory shows all (gpx, kml, …) files in the directory however without options such circleMarker. And there is not such a selection list (yet). I put it on the wish list. You can try hover to highlight a element and get a tooltip on mouseover.

    Example

    elevation has such a selection list, but you don’t use that for your case, it is not suitable for this.

    • This reply was modified 1 year, 2 months ago by hupe13.
    Plugin Contributor hupe13

    (@hupe13)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘User selection of gpx-tracks’ is closed to new replies.