StationMap: Difference between revisions

 
== Inner Working ==
The map is created with the leaflet library with the zoomlevel as found in the inifile. A larger zoomlevel zooms in, a smaller zoomlevel zooms out. A little experimentation should give what you want.
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. The images are located in the CUicons directory. If you want other images, just add them with the required index.
 
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 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. The images are located in the CUicons directory. If you want other images, just add them with the required index.
 
The module is
 
The images are located in the CUicons directory. If you want other images, just add them with the required index.
 
[[Category:CumulusUtils]]