0

Moved icons to subdirectory, adjusted docs

I also added one of the icons to the manualpois example, so people
have an exmaple of how they can use these in their configurations.
This commit is contained in:
CounterPillow
2013-09-23 16:02:06 +02:00
parent b9298243b2
commit dc40dce59a
17 changed files with 4 additions and 2 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, 'y':85,
'z':-234, 'z':-234,
'name':'Bar'}], '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 ### 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 ### standard markers. This icon must exist in the same folder as your
### custom webassets or in the same folder as the generated index.html ### 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.
} }
@@ -239,7 +241,7 @@ Marker Icons Overviewer ships by default
======================================== ========================================
Overviewer comes with multiple small icons that you can use for your markers. Overviewer comes with multiple small icons that you can use for your markers.
You can find them in the ``overviewer_core/data/web_assets/`` directory. 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 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 ``marker_base_plain.svg`` and ``marker_base_plain_red.svg`` as template, with

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

Before

Width:  |  Height:  |  Size: 948 B

After

Width:  |  Height:  |  Size: 948 B

View File

Before

Width:  |  Height:  |  Size: 948 B

After

Width:  |  Height:  |  Size: 948 B

View File

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

Before

Width:  |  Height:  |  Size: 1020 B

After

Width:  |  Height:  |  Size: 1020 B

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB