Fix regression of control positions

This commit is contained in:
Per Liedman 2016-04-15 15:53:38 +02:00
parent 8258a3e3e7
commit 24d8be60ad
2 changed files with 4 additions and 2 deletions

View File

@ -10,6 +10,8 @@ L.Control.Zoom = L.Control.extend({
// @section
// @aka Control.Zoom options
options: {
position: 'topleft',
// @option zoomInText: String = '+'
// The text set on the 'zoom in' button.
zoomInText: '+',

View File

@ -10,10 +10,10 @@ L.Control = L.Class.extend({
// @section
// @aka Control options
options: {
// @option position: String = 'topleft'
// @option position: String = 'topright'
// The position of the control (one of the map corners). Possible values are `'topleft'`,
// `'topright'`, `'bottomleft'` or `'bottomright'`
position: 'topleft'
position: 'topright'
},
initialize: function (options) {