Skip to content
Branch: master
Go to file
Code

Latest commit

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 

README.md

Leaflet.SimpleMarkers

A light-weight Leaflet plugin for adding and deleting markers.

###Demo

http://jdomingu.github.io/Leaflet.SimpleMarkers/

###Instructions

To create the marker controls, enter the following code:

var marker_controls = new L.Control.SimpleMarkers();
map.addControl(marker_controls);

###Available Options

add_control: Show the add marker button should be shown. Possible values: true, false. Default: true. delete_control: Show the delete marker button should be shown. Possible values: true, false. Default: true. allow_popup: Create and bind a popup for each marker. Possible values: true, false. Default: true. marker_icon: Use a custom icon instance. If not given, the default Leaflet icon will be shown. Possible values: Leaflet icon instance, undefined. Default: undefined. marker_draggable: Allow dragging of markers. Possible values: true, false. Default: false. add_marker_callback: Run a callback function with the marker instance as argument. Possible values: Callback function, undefined. Default: undefined.

About

A light-weight Leaflet plugin for adding and deleting markers.

Resources

License

Releases

No releases published
You can’t perform that action at this time.