Custom Widget for Wakanda
Basic wrapper for Leaflet
This widget Leaflet has the following properties:
- source: The data binding source of the widget
- lat: The data binding source for latitude
- lan: The data binding source for longitude
- click: Fired when the user clicks (or taps) the map.
- dblclick: Fired when the user double-clicks (or double-taps) the map.
- mousedown: Fired when the user pushes the mouse button on the map.
- mouseup: Fired when the user pushes the mouse button on the map.
- mouseover: Fired when the mouse enters the map.
- mouseout: Fired when the mouse leaves the map.
- getMap: Returns the map objects which allows to attach any leaflet method to it
The Leaflet is a draggable map widget that you can add to your wakanda pages. Once added in your page, you can bind a datasource by dragging the datasource property directly into the widget or by adding the datasource property name in the value field.
For more information on how to install a custom widget, refer to Installing a Custom Widget.
For more information about Custom Widgets, refer to Custom Widgets in the Architecture of Wakanda Applications manual.