aboutsummaryrefslogtreecommitdiff
path: root/doc/todo/osm_arbitrary_layers.mdwn
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2012-08-24 23:26:46 -0400
committerJoey Hess <joey@kitenet.net>2012-08-24 23:26:46 -0400
commitb09a73db1376f84f80fc1dbd3a892f640fe5eb03 (patch)
tree4a79178794dfe2d1247ea0cd78bd360bed6d8fc6 /doc/todo/osm_arbitrary_layers.mdwn
parentd5b2dfd0e4fa3416f8396bb07f35c365e056648b (diff)
downloadikiwiki-b09a73db1376f84f80fc1dbd3a892f640fe5eb03.tar
ikiwiki-b09a73db1376f84f80fc1dbd3a892f640fe5eb03.tar.gz
responsen
Diffstat (limited to 'doc/todo/osm_arbitrary_layers.mdwn')
-rw-r--r--doc/todo/osm_arbitrary_layers.mdwn12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/todo/osm_arbitrary_layers.mdwn b/doc/todo/osm_arbitrary_layers.mdwn
index 1f410eab5..df93aba0a 100644
--- a/doc/todo/osm_arbitrary_layers.mdwn
+++ b/doc/todo/osm_arbitrary_layers.mdwn
@@ -1,3 +1,15 @@
[[!template id=gitbranch branch=anarcat/master author="[[anarcat]]"]]
I got tired of hacking at the osm.pm every time I wanted to change the layers, so I made it so the layers can be changed in the .setup file. In my master branch, there are now two new configuration settings: `osm_layers` and `osm_layers_order` which replace the hackish `osm_mapurl`. The variables are a hash and an array that allow the operator to define the list of URLs to be loaded as layers and also to change the order of layers. -- [[users/anarcat]]
+
+> I try to avoid adding hashes to config, because websetup does
+> not allow configuring hashes.
+>
+> The example for `osm_layers_order` is confusing, it makes
+> it look like a perl hash, but it appears to really be a javascript
+> code fragement string, and one that is tightly bound to other
+> configuration too. Why not generate that javascript code from
+> data in a robust way?
+>
+> Does it even make sense to configure this stuff globally?
+> Could the layers be passed as parameters to the osm direction? --[[Joey]]