0
This commit is contained in:
Andrew Chin
2013-10-03 18:48:44 -04:00
17 changed files with 150 additions and 1 deletions

View File

@@ -147,10 +147,12 @@ Here is a more complex example where not every marker of a certain id has a cert
'y':85,
'z':-234,
'name':'Bar'}],
'markers': [dict(name="Towns", filterFunction=townFilter, icon="town.png")],
'markers': [dict(name="Towns", filterFunction=townFilter, icon="icons/marker_town.png")],
### Note: The 'icon' parameter allows you to specify a custom icon, as per
### standard markers. This icon must exist in the same folder as your
### custom webassets or in the same folder as the generated index.html
### in this case, we use the marker_town.png icon which comes with
### the Overviewer by default, located in a subdirectory of web_assets.
}
@@ -235,3 +237,12 @@ Predefined Filter Functions
TODO write some filter functions, then document them here
Marker Icons Overviewer ships by default
========================================
Overviewer comes with multiple small icons that you can use for your markers.
You can find them in the ``overviewer_core/data/web_assets/icons`` directory.
If you want to make your own in the same style, you can use the provided
``marker_base_plain.svg`` and ``marker_base_plain_red.svg`` as template, with
a vector editing software such as `Inkscape <http://inkscape.org>`_.