FIX buttons on popup with short description
This commit is contained in:
parent
fce093711f
commit
d4483ed0f3
|
|
@ -215,7 +215,7 @@ function showInfo(id)
|
|||
description += '</div>';
|
||||
|
||||
marker.options.description = description;
|
||||
marker.bindPopup(marker.options.description, {maxWidth: 500, maxHeight: 300});
|
||||
marker.bindPopup(marker.options.description, {maxWidth: 500, minWidth: 400,maxHeight: 300});
|
||||
|
||||
markers.zoomToShowLayer(marker, function () {
|
||||
marker.openPopup();
|
||||
|
|
|
|||
Loading…
Reference in New Issue