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.
@@ -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
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 948 B After Width: | Height: | Size: 948 B |
|
Before Width: | Height: | Size: 948 B After Width: | Height: | Size: 948 B |
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 1020 B After Width: | Height: | Size: 1020 B |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |