106 lines
2.0 KiB
JavaScript
106 lines
2.0 KiB
JavaScript
export default {
|
|
draw: {
|
|
toolbar: {
|
|
actions: {
|
|
title: 'Cancel drawing',
|
|
text: 'Cancel'
|
|
},
|
|
finish: {
|
|
title: 'Finish drawing',
|
|
text: 'Finish'
|
|
},
|
|
undo: {
|
|
title: 'Delete last point drawn',
|
|
text: 'Delete last point'
|
|
},
|
|
buttons: {
|
|
polyline: 'Draw a polyline',
|
|
polygon: 'Draw a polygon',
|
|
rectangle: 'Draw a rectangle',
|
|
circle: 'Draw a circle',
|
|
marker: 'Draw a marker',
|
|
circlemarker: 'Draw a circlemarker'
|
|
}
|
|
},
|
|
handlers: {
|
|
circle: {
|
|
tooltip: {
|
|
start: 'Click and drag to draw circle.'
|
|
},
|
|
radius: 'Radius'
|
|
},
|
|
circlemarker: {
|
|
tooltip: {
|
|
start: 'Click map to place circle marker.'
|
|
}
|
|
},
|
|
marker: {
|
|
tooltip: {
|
|
start: 'Click map to place marker.'
|
|
}
|
|
},
|
|
polygon: {
|
|
tooltip: {
|
|
start: 'Click to start drawing shape.',
|
|
cont: 'Click to continue drawing shape.',
|
|
end: 'Click first point to close this shape.'
|
|
}
|
|
},
|
|
polyline: {
|
|
error: '<strong>Error:</strong> shape edges cannot cross!',
|
|
tooltip: {
|
|
start: 'Click to start drawing line.',
|
|
cont: 'Click to continue drawing line.',
|
|
end: 'Click last point to finish line.'
|
|
}
|
|
},
|
|
rectangle: {
|
|
tooltip: {
|
|
start: 'Click and drag to draw rectangle.'
|
|
}
|
|
},
|
|
simpleshape: {
|
|
tooltip: {
|
|
end: 'Release mouse to finish drawing.'
|
|
}
|
|
}
|
|
}
|
|
},
|
|
edit: {
|
|
toolbar: {
|
|
actions: {
|
|
save: {
|
|
title: 'Save changes',
|
|
text: 'Save'
|
|
},
|
|
cancel: {
|
|
title: 'Cancel editing, discard all changes',
|
|
text: 'Cancel'
|
|
},
|
|
clearAll: {
|
|
title: 'Clear',
|
|
text: 'Clear'
|
|
}
|
|
},
|
|
buttons: {
|
|
edit: 'Edit layers',
|
|
editDisabled: 'No layers to edit',
|
|
remove: 'Delete layers',
|
|
removeDisabled: 'No layers to delete'
|
|
}
|
|
},
|
|
handlers: {
|
|
edit: {
|
|
tooltip: {
|
|
text: 'Drag handles to edit features.',
|
|
subtext: 'Click cancel to undo changes.'
|
|
}
|
|
},
|
|
remove: {
|
|
tooltip: {
|
|
text: ''
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}; |