Provides an AutoForm input field for geolocation data using Leaflet.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.md
client.js
configuration.js
package.js
styles.css
templates.html

README.md

The package provides a simple Leaflet (https://github.com/Leaflet/Leaflet) wrapper for handling geolocation data with AutoForm (https://github.com/aldeed/meteor-autoform). Currently only single value fields are supported.

###Available settings:

  • defaultLocation: two-value array of the default map location when no value is defined. Default: [0.0, 0.0]
  • doubleClickZoom: true to enable zooming with double clicking. Default: true
  • markerIcon: the glyph used as icon in the map marker. Default: 'star'
  • markerColor: color of the map marker. Default: 'blue'
  • tileLayerProvider: standard Leaflet tile layer provider setting. Default: 'OpenStreetMap.Mapnik'
  • zoomLevel: initial zoom on when creating the map view. Default: 12