API for Caltopo for viewing kml file received from an application

stefano.grippa's Avatar


19 Dec, 2016 02:31 PM

Hi everybody, is there an allowed way to access to caltopo from a desktop application in order to see a kml file.
In my case, I have an application in which I have a list of several items, each one associated to a kml file. It would be great, if possible, on mouse click on any item, to open a browser view in which this kml file is visible on caltopo
Is there any api for this?

  1. 1 Posted by stefano.grippa on 19 Dec, 2016 05:26 PM

    stefano.grippa's Avatar

    It is always me writing as a comment to myself.
    I mean, from my application I could start caltopo as an url relative to a point's coordinate eg

    but it would be great to get automatic loading of a kml file relative to a route.
    Thanks for any help.

  2. Support Staff 2 Posted by matt on 19 Dec, 2016 10:07 PM

    matt's Avatar

    It's not an API in the sense that I'm making guarantees about its future availability, notification before modifying or dropping the feature, etc, but you can add KML as one of the hash parameters, e.g. map.html#kml=urlencoded_url_to_your_kml_file

    I don't remember off the top of my head if it will auto-center or if you also need to supply a center and zoom.

  3. matt closed this discussion on 19 Dec, 2016 10:07 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac