• Resolved theflorux

    (@theflorux)


    Hi, I am having trouble with centering the map on the latest/newest tracking point in a KML file. Is this possible? Perhaps I am just missing the obvious.

    The use case is to show expedition progress on a map, so that regardless how fast or slow one goes, and regardless of what route changes are made due to weather or other circumstances, the map will always centre around the last tracking point from the kml file.

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

    (@hupe13)

    You can center the map to any leaflet-element, but you can’t it center to the last tracking point from a kml file. But you can specify it in the leaflet-map statement:

    [-leaflet-map lat=... lng=... zoom=..]
    Thread Starter theflorux

    (@theflorux)

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Centre on newest point in KML’ is closed to new replies.