Blame view

src/main/kotlin/map/ScaleControlConfig.kt 354 Bytes
d06a68ec6   lsagona   add Leaflet Kotli...
1
2
3
4
5
6
7
8
9
10
11
  package fdit.leafletmap
  
  /**
   * Class for defining the scale control of the map. The scale can show either metric or imperial units.
  
   * @author Stefan Saring
   */
  class ScaleControlConfig @JvmOverloads constructor(
          val show: Boolean = false,
          val position: ControlPosition = ControlPosition.BOTTOM_LEFT,
          val metric: Boolean = true)