From 4687d5bf683ec0ea05ee901b82a2ded8c4e7b09f Mon Sep 17 00:00:00 2001 From: "https://id.koumbit.net/anarcat" Date: Fri, 24 Aug 2012 16:06:17 -0400 Subject: [PATCH] add a way to add arbitrary openlayers to the osm plugin without hacking at the code --- doc/todo/osm_arbitrary_layers.mdwn | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 doc/todo/osm_arbitrary_layers.mdwn diff --git a/doc/todo/osm_arbitrary_layers.mdwn b/doc/todo/osm_arbitrary_layers.mdwn new file mode 100644 index 000000000..1f410eab5 --- /dev/null +++ b/doc/todo/osm_arbitrary_layers.mdwn @@ -0,0 +1,3 @@ +[[!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]] -- 2.32.0.93.g670b81a890