|
|
@@ -269,6 +269,18 @@ COLLECT_USAGE = Config(
|
|
|
type=coerce_bool,
|
|
|
default=True)
|
|
|
|
|
|
+LEAFLET_TILE_LAYER = Config(
|
|
|
+ key="leaflet_tile_layer",
|
|
|
+ help=_("Tile layer server URL for the Leaflet map charts. Read more on http://leafletjs.com/reference.html#tilelayer"),
|
|
|
+ type=coerce_str_lowercase,
|
|
|
+ default="http://{s}.tile.osm.org/{z}/{x}/{y}.png")
|
|
|
+
|
|
|
+LEAFLET_TILE_LAYER_ATTRIBUTION = Config(
|
|
|
+ key="leaflet_tile_layer_attribution",
|
|
|
+ help=_("The copyright message for the specified Leaflet maps Tile Layer"),
|
|
|
+ type=coerce_str_lowercase,
|
|
|
+ default="© <a href='http://osm.org/copyright'>OpenStreetMap</a> contributors")
|
|
|
+
|
|
|
POLL_ENABLED = Config(
|
|
|
key="poll_enabled",
|
|
|
help=_("Use poll(2) in Hue thrift pool."),
|