plepe / OpenStreetBrowser

An application to ‘browse’ the information in the displayed part of the map. Similar to common Wikis and also the main page of http://www.openstreetmap.org the website shows a narrow menu on the left side, most of the page is used for the display of the map. In contrast to most Wikis the menu is not static, but rather the content of the map can be browsed in categories. For the map a special style has been developed (sorry guys, I neither like the default Mapnik nor Osmarender styles), and special overlays are displayed to support the current browsed categories. When you click on an object (either from the list or directly on the map) informations on this object are displayed.
http://www.openstreetbrowser.org
GNU General Public License v3.0
88 stars 20 forks source link

Marker-Line: dashed lines #109

Closed plepe closed 5 years ago

plepe commented 5 years ago

Hufkratzer reported:

Can markerLine({ 'width': 2, color: ...}) draw dashed lines? How? Is this function documented? Where? Icons can be used for that, but it's a bit cumbersome.

plepe commented 5 years ago

@Hufkratzer

I made some updates to the code and added documentation, but it is still in the development branch: https://github.com/plepe/OpenStreetBrowser/blob/markers-improve/doc/Icons.md#markers

These things are only available after merging the branch:

Hufkratzer commented 5 years ago

Thanks, dashArray is what I was interested in and that already seems to work.

plepe commented 5 years ago

The branch has now been merged :-)

So, the documentation URL is now: https://github.com/plepe/OpenStreetBrowser/blob/master/doc/Icons.md