diff options
-rw-r--r-- | chimere/static/chimere/css/styles.css | 2 | ||||
-rw-r--r-- | chimere/static/chimere/js/jquery.chimere.js | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/chimere/static/chimere/css/styles.css b/chimere/static/chimere/css/styles.css index fb37249..4673aec 100644 --- a/chimere/static/chimere/css/styles.css +++ b/chimere/static/chimere/css/styles.css @@ -267,6 +267,7 @@ div#panel{ .modal-header .close { text-align: right; + font-family: arial sans-serif; } .modal-header { @@ -1704,6 +1705,7 @@ div.pp_default .pp_expand{ vertical-align:middle; display:inline-block; cursor:pointer; + padding-left: 10px; } #cluster_list li{ diff --git a/chimere/static/chimere/js/jquery.chimere.js b/chimere/static/chimere/js/jquery.chimere.js index 1578c75..063cfa8 100644 --- a/chimere/static/chimere/js/jquery.chimere.js +++ b/chimere/static/chimere/js/jquery.chimere.js @@ -1264,7 +1264,7 @@ function transformCoordToLonLat(coord) { } // max zoom reached if (zoom_level >= settings[map_id].maxZoom){ - return methods.displayClusterDetail(feature); + return methods.displayClusterDetail(map_id, feature); } // zoom @@ -1300,7 +1300,7 @@ function transformCoordToLonLat(coord) { return feature; }, duration + 200); }, - displayClusterDetail: function(feature){ + displayClusterDetail: function(map_id, feature){ var feats = feature.getProperties()['features']; var content = "<div class='dialog-content'><ul>"; for (idx in feats){ |