Skip to content
/ Leaflet Public

Wakanda Leaflet Widget - This widget adds a map to your Wakanda pages. It is based on the Leaflet library developed by https://github.com/Leaflet/Leaflet. The widget is dynamically bindable with any datasource via the widget attribute value.

Notifications You must be signed in to change notification settings

el-med/Leaflet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Custom Widget for Wakanda

Basic wrapper for Leaflet

Properties

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

Events

  • 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.

Method

  • getMap: Returns the map objects which allows to attach any leaflet method to it

Goals

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.

More Information

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.

About

Wakanda Leaflet Widget - This widget adds a map to your Wakanda pages. It is based on the Leaflet library developed by https://github.com/Leaflet/Leaflet. The widget is dynamically bindable with any datasource via the widget attribute value.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published