Новый цвет группированных точек

This commit is contained in:
Krivchikov Dmitry 2014-07-27 01:51:09 +04:00
parent 93ba81e0d9
commit 87bb8b5828
2 changed files with 7 additions and 6 deletions

View File

@ -1,22 +1,22 @@
.marker-cluster-small {
background-color: rgba(181, 226, 140, 0.6);
background-color: rgba(100, 187, 100, 0.5);
}
.marker-cluster-small div {
background-color: rgba(110, 204, 57, 0.6);
background-color: rgba(34, 187, 34, 0.6);
}
.marker-cluster-medium {
background-color: rgba(241, 211, 87, 0.6);
background-color: rgba(255, 193, 100, 0.5);
}
.marker-cluster-medium div {
background-color: rgba(240, 194, 12, 0.6);
background-color: rgba(255, 193, 31, 0.6);
}
.marker-cluster-large {
background-color: rgba(253, 156, 115, 0.6);
background-color: rgba(187, 100, 100, 0.5);
}
.marker-cluster-large div {
background-color: rgba(241, 128, 23, 0.6);
background-color: rgba(187, 34, 34, 0.6);
}
/* IE 6-8 fallback colors */

View File

@ -59,6 +59,7 @@ function init(lat, lng) {
{
$('#addPointId').remove();
$('#addPointForm input').val('');
$('#addPointForm textarea').val('');
$("#addPointCategoryId option" ).attr('selected', null);
$('#addPointLat').val(e.latlng.lat);
$('#addPointLng').val(e.latlng.lng);