X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/1106864f7e1a4fd11f9730f85717aba73ba8ecf3..64274d28e2066f5ca6d190ace7922cecead2186e:/doc/todo/osm_arbitrary_layers.mdwn?ds=sidebyside 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]]