Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface LeafletEditbarOptions

The LeafletEditbarOptions interface is used as paramters for the creation of a LeafletEditbar.

example



var map = new LeafletMap();
map.create("map", { initialXMin: -88.679196, initialYMin: 24.326418, initialXMax: -79.57153, initialYMax: 30.892178 });
var geoJSON = { type: "Feature", geometry: { type: 'LineString', coordinates: [[-82.441, 29.200], [-82.441, 29.535]] }, properties: { } };
var mapGraphicOptions = { geometry: geoJSON.geometry, feature: geoJSON, shape: 'LineString' };
var mapGraphic = new MapGraphic(graphicOptions);
var editingProvider = new LeafletEditProvider('gev', map);
var editbarOptions = { map: map, editingProvider: editingProvider, mapGraphic: mapGraphic, selectionManager: GraphicSelectionService };

Hierarchy

  • LeafletEditbarOptions

Index

Properties

editingProvider

editingProvider: LeafletEditProvider

Property editingProvider is a LeafletEditProvider

map

map: LeafletMap

Property map is a LeafletMap

mapGraphic

mapGraphic: MapGraphic

Property mapGraphic is a MapGraphic

selectionManager

selectionManager: GraphicSelectionService