diff options
author | https://id.koumbit.net/anarcat <https://id.koumbit.net/anarcat@web> | 2012-08-24 23:44:48 -0400 |
---|---|---|
committer | admin <admin@branchable.com> | 2012-08-24 23:44:48 -0400 |
commit | 64274d28e2066f5ca6d190ace7922cecead2186e (patch) | |
tree | 9c82c60d1c373ab3f156c16b2862cd3b494ef35f | |
parent | 1106864f7e1a4fd11f9730f85717aba73ba8ecf3 (diff) | |
download | ikiwiki-64274d28e2066f5ca6d190ace7922cecead2186e.tar ikiwiki-64274d28e2066f5ca6d190ace7922cecead2186e.tar.gz |
agreed, maybe a solution?
-rw-r--r-- | doc/todo/osm_arbitrary_layers.mdwn | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/todo/osm_arbitrary_layers.mdwn b/doc/todo/osm_arbitrary_layers.mdwn index df93aba0a..4895aa5ae 100644 --- a/doc/todo/osm_arbitrary_layers.mdwn +++ b/doc/todo/osm_arbitrary_layers.mdwn @@ -13,3 +13,9 @@ I got tired of hacking at the osm.pm every time I wanted to change the layers, s > > Does it even make sense to configure this stuff globally? > Could the layers be passed as parameters to the osm direction? --[[Joey]] +> +> > The reason for `osm_layers_order` is that order is important in the layers: the default layer is the first one and it's not possible to force Perl to have arrays generated in a reliable, reproducable order. Maybe an alternative would be to just set the default layer. +> > +> > That said - maybe you're right and this should be passed as an argument to the OSM directive. The problem then is that you need to pass this stuff around the waypoint directive too. It also makes it hard to have a consistent set of maps all across the wiki. On our site, we have map inserts here and there, and it's nice to have them consistent all around. +> > +> > In closing, I would say that I agree that `.._order` is confusing: maybe I should just have a `_default` to choose the first one? -- [[anarcat]] |