{% extends "pagetemplate.j2.html" %} {% set gis = imp0rt('kaithem.src.gis') %} {% set tagpoints = imp0rt('kaithem.src.tagpoints') %} {% block body %} {{ gis.api.render('api') }}
To update or get new maps, either browse around or add them to vardir/maptiles/opentopomap/z/x/y.png
If available maps are served to anyone with /users/maptiles.view. If the user has system_admin, the tiles will be fetched automatically from opentopomap.org.
This is a rather large privacy issue if you aren't careful, as it allows people with the view permission to see which maps are cached and thus which areas someone must have been looking at. Avoid using this for highly sensitive applications.
Use /static/js/leaflet/leaflet.min.js and /static/js/leaflet/leaflet.css to make your own map-enabled modules. Kaithem's builtin tile server is on: /maptiles/tile/{z}/{x}/{y}.png when enabled.