Closed treestryder closed 1 year ago
Yes, you have to set the markerSymbol
and listMarkerSymbol
. E.g. {{ markerPointer({ fillColor: '#ffffff' }) }}
resp. {{ markerCircle({ fillColor: '#ffffff' }) }}
.
See also the https://github.com/plepe/OpenStreetBrowser/blob/master/doc/Tutorial.md for some examples.
Thank you. Now that the fill parameter is fixed, I was able to get the following to work.
markerSymbol: |
{{ markerPointer({ fillColor: '#FFFFFF' }) }}
listMarkerSymbol: |
{{ markerCircle({ fillColor: '#FFFFFF' }) }}
Oh, and I found that setting them to null, or empty in YAML removes them. Which will be handy in some cases.
I added the information about the fill
parameter to the documentation: https://github.com/plepe/OpenStreetBrowser/commit/83879b88f453b5f0ae93ef68d500ead225c5123b
(The change about supporting the fill
parameter resulted in the transparent markers)
It is hard to see icons, particularly multicolor icons, against the red fill color used for markers by default. Is there a way for a category to change this?