gleaflet/icon

Types

LeafletIcon is a struct that represents a Leaflet icon.

pub type LeafletIcon {
  LeafletIcon(
    icon_url: String,
    shadow_url: String,
    icon_size: #(Int, Int),
    shadow_size: #(Int, Int),
    icon_anchor: #(Int, Int),
    shadow_anchor: #(Int, Int),
    popup_anchor: #(Int, Int),
  )
}

Constructors

  • LeafletIcon(
      icon_url: String,
      shadow_url: String,
      icon_size: #(Int, Int),
      shadow_size: #(Int, Int),
      icon_anchor: #(Int, Int),
      shadow_anchor: #(Int, Int),
      popup_anchor: #(Int, Int),
    )
Search Document