StationMap: Difference between revisions

12 bytes removed ,  25 March 2021
 
== Inner Working ==
The map is created with the leaflet library. The WindRose is created from the image CompassRose-{x} where x is the value of CompassRoseType. If the user adds images with the same naming convention it is possible to add different CompassRoses to the map by changing the CompassRoseType. The WindArrow is created from the image WindArrow-{x} and can be placed at a position other than the station position which is taken as the default for the arrow position. If the user adds images with the same naming convention it is possible to add different WindArrows to the map by changing WindArrowType.<br> The images are located in the CUicons directory. If you want other images, just add them with the required index.
The map is created with the leaflet library.<br>
The WindRose is created from the image CompassRose-{x} where x is the value of CompassRoseType. If the user adds images with the same naming convention it is possible to add different CompassRoses to the map by changing the CompassRoseType.<br>
The WindArrow is created from the image WindArrow-{x} and can be placed at a position other than the station position which is taken as the default for the arrow position. If the user adds images with the same naming convention it is possible to add different WindArrows to the map by changing WindArrowType.<br>
The images are located in the CUicons directory. If you want other images, just add them with the required index.
 
[[Category:CumulusUtils]]