Leaflet

/Leaflet
You are here:
< Back

Leaflet

A Leaflet control is custom control that allows you to show a map using a tile provider. On this map, you can zoom in and out, place, drag and filter markers and much more.

Requirements

  • K2 Business Apps 1.2 or newer.

Properties

Detail

  • Name

Map Settings

  • Map
  • Start Zoom
  • Max Zoom
  • Tile Width
  • Tile Height

Plugin – Clustering

  • Show Coverage
  • Disable At Zoom

Plugin – Filtering

  • Tags

Markers – Data Source

Rules

Events

  • When the control raises an event
    • Clicked
    • Done Adding A Marker
    • Done Dragging A Marker
    • Done Saving As Image
    • On Fly End
    • On Marker Click

Actions

  • Execute a control’s method
    • Center on Marker
    • Change Marker Icon
    • Clear Markers
    • Create a Marker
    • Get Filters
    • Hide Markers
    • Load Markers
    • Save as Image
    • Set Filters
    • Show Markers

Special Features

The control in K2 Business Apps can be shown in two ways:

  1. When placed on a view normally, it will be shown as a button that, when clicked, opens a full screen version of the control showing the map.
  2. When the name of the control is appended with ” fullscreen” (without parenthesis, but including the space), the normal form is replaced by just the full screen version of this map.
Tags:
2019-09-06T12:16:56+01:00