Fix regression of control positions
This commit is contained in:
parent
8258a3e3e7
commit
24d8be60ad
@ -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: '+',
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user