minor cleanup
This commit is contained in:
parent
21d8bde0b7
commit
40ef71dc4c
@ -12,13 +12,13 @@ L.Popup = L.Class.extend({
|
||||
options: {
|
||||
minWidth: 50,
|
||||
maxWidth: 300,
|
||||
maxHeight: null,
|
||||
// maxHeight: null,
|
||||
autoPan: true,
|
||||
closeButton: true,
|
||||
offset: [0, 7],
|
||||
autoPanPadding: [5, 5],
|
||||
autoPanPaddingTopLeft: null,
|
||||
autoPanPaddingBottomRight: null,
|
||||
// autoPanPaddingTopLeft: null,
|
||||
// autoPanPaddingBottomRight: null,
|
||||
keepInView: false,
|
||||
className: '',
|
||||
zoomAnimation: true
|
||||
|
@ -76,7 +76,7 @@ L.Path = L.Browser.svg || !L.Browser.vml ? L.Path : L.Path.extend({
|
||||
stroke.opacity = options.opacity;
|
||||
|
||||
if (options.dashArray) {
|
||||
stroke.dashStyle = options.dashArray instanceof Array ?
|
||||
stroke.dashStyle = L.Util.isArray(options.dashArray) ?
|
||||
options.dashArray.join(' ') :
|
||||
options.dashArray.replace(/( *, *)/g, ' ');
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user