FIX buttons on popup with short description

This commit is contained in:
Krivchikov Dmitry 2015-02-01 16:03:30 +03:00
parent fce093711f
commit d4483ed0f3
1 changed files with 1 additions and 1 deletions

View File

@ -215,7 +215,7 @@ function showInfo(id)
description += '</div>'; description += '</div>';
marker.options.description = description; 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 () { markers.zoomToShowLayer(marker, function () {
marker.openPopup(); marker.openPopup();