Change player location dot to green (life color)
This commit is contained in:
parent
fb3ea58863
commit
b1bf598c86
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -13,63 +13,40 @@
|
|||||||
transition: stroke-dashoffset 0.3s ease-out, stroke-opacity 0.3s ease-in;
|
transition: stroke-dashoffset 0.3s ease-out, stroke-opacity 0.3s ease-in;
|
||||||
}
|
}
|
||||||
|
|
||||||
.marker-cluster-small {
|
.marker-cluster-small, .marker-cluster-medium, .marker-cluster-large {
|
||||||
background-color: rgba(181, 226, 140, 0.6);
|
background-color: rgba(181, 226, 140, 0.6);
|
||||||
}
|
}
|
||||||
.marker-cluster-small div {
|
.marker-cluster-small div, .marker-cluster-medium div, .marker-cluster-large div {
|
||||||
background-color: rgba(110, 204, 57, 0.6);
|
background-color: rgba(110, 204, 57, 0.6);
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
.marker-cluster-medium {
|
.marker-cluster-medium {
|
||||||
background-color: rgba(241, 211, 87, 0.6);
|
background-color: rgba(241, 211, 87, 0.6);
|
||||||
}
|
}
|
||||||
.marker-cluster-medium div {
|
.marker-cluster-medium div {
|
||||||
background-color: rgba(240, 194, 12, 0.6);
|
background-color: rgba(240, 194, 12, 0.6);
|
||||||
}
|
|
||||||
|
|
||||||
.marker-cluster-large {
|
|
||||||
background-color: rgba(253, 156, 115, 0.6);
|
|
||||||
}
|
|
||||||
.marker-cluster-large div {
|
|
||||||
background-color: rgba(241, 128, 23, 0.6);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* IE 6-8 fallback colors */
|
|
||||||
.leaflet-oldie .marker-cluster-small {
|
|
||||||
background-color: rgb(181, 226, 140);
|
|
||||||
}
|
|
||||||
.leaflet-oldie .marker-cluster-small div {
|
|
||||||
background-color: rgb(110, 204, 57);
|
|
||||||
}
|
|
||||||
|
|
||||||
.leaflet-oldie .marker-cluster-medium {
|
|
||||||
background-color: rgb(241, 211, 87);
|
|
||||||
}
|
|
||||||
.leaflet-oldie .marker-cluster-medium div {
|
|
||||||
background-color: rgb(240, 194, 12);
|
|
||||||
}
|
|
||||||
|
|
||||||
.leaflet-oldie .marker-cluster-large {
|
|
||||||
background-color: rgb(253, 156, 115);
|
|
||||||
}
|
|
||||||
.leaflet-oldie .marker-cluster-large div {
|
|
||||||
background-color: rgb(241, 128, 23);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.marker-cluster {
|
.marker-cluster-large {
|
||||||
background-clip: padding-box;
|
background-color: rgba(253, 156, 115, 0.6);
|
||||||
border-radius: 20px;
|
}
|
||||||
}
|
.marker-cluster-large div {
|
||||||
.marker-cluster div {
|
background-color: rgba(241, 128, 23, 0.6);
|
||||||
width: 30px;
|
}*/
|
||||||
height: 30px;
|
|
||||||
margin-left: 5px;
|
|
||||||
margin-top: 5px;
|
|
||||||
|
|
||||||
text-align: center;
|
.marker-cluster {
|
||||||
border-radius: 15px;
|
background-clip: padding-box;
|
||||||
font: 12px "Helvetica Neue", Arial, Helvetica, sans-serif;
|
border-radius: 20px;
|
||||||
}
|
}
|
||||||
|
.marker-cluster div {
|
||||||
|
width: 30px;
|
||||||
|
height: 30px;
|
||||||
|
margin-left: 5px;
|
||||||
|
margin-top: 5px;
|
||||||
|
|
||||||
|
text-align: center;
|
||||||
|
border-radius: 15px;
|
||||||
|
}
|
||||||
.marker-cluster span {
|
.marker-cluster span {
|
||||||
line-height: 30px;
|
line-height: 30px;
|
||||||
}
|
}
|
@ -73,7 +73,7 @@ var lc = L.control.locate({
|
|||||||
remainActive: true, // if true locate control remains active on click even if the user's location is in view.
|
remainActive: true, // if true locate control remains active on click even if the user's location is in view.
|
||||||
markerClass: L.circleMarker, // L.circleMarker or L.marker
|
markerClass: L.circleMarker, // L.circleMarker or L.marker
|
||||||
circleStyle: {}, // change the style of the circle around the user's location
|
circleStyle: {}, // change the style of the circle around the user's location
|
||||||
markerStyle: {},
|
markerStyle: {color: '#008000', fillColor: '#32CD32'},
|
||||||
followCircleStyle: {}, // set difference for the style of the circle around the user's location while following
|
followCircleStyle: {}, // set difference for the style of the circle around the user's location while following
|
||||||
followMarkerStyle: {},
|
followMarkerStyle: {},
|
||||||
icon: 'fa fa-map-marker', // class for icon, fa-location-arrow or fa-map-marker
|
icon: 'fa fa-map-marker', // class for icon, fa-location-arrow or fa-map-marker
|
||||||
|
@ -73,7 +73,7 @@ var lc = L.control.locate({
|
|||||||
remainActive: true, // if true locate control remains active on click even if the user's location is in view.
|
remainActive: true, // if true locate control remains active on click even if the user's location is in view.
|
||||||
markerClass: L.circleMarker, // L.circleMarker or L.marker
|
markerClass: L.circleMarker, // L.circleMarker or L.marker
|
||||||
circleStyle: {}, // change the style of the circle around the user's location
|
circleStyle: {}, // change the style of the circle around the user's location
|
||||||
markerStyle: {},
|
markerStyle: {color: '#008000', fillColor: '#32CD32'},
|
||||||
followCircleStyle: {}, // set difference for the style of the circle around the user's location while following
|
followCircleStyle: {}, // set difference for the style of the circle around the user's location while following
|
||||||
followMarkerStyle: {},
|
followMarkerStyle: {},
|
||||||
icon: 'fa fa-map-marker', // class for icon, fa-location-arrow or fa-map-marker
|
icon: 'fa fa-map-marker', // class for icon, fa-location-arrow or fa-map-marker
|
||||||
|
Reference in New Issue
Block a user