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:
@@ -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.
|
||||
}
|
||||
|
||||
|
||||
@@ -239,7 +241,7 @@ 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/`` 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
|
||||
``marker_base_plain.svg`` and ``marker_base_plain_red.svg`` as template, with
|
||||
|
||||
Reference in New Issue
Block a user