Make mlat plane markers blue-ish.
This commit is contained in:
parent
727361c1ab
commit
5ef9bdd6f3
|
|
@ -19,6 +19,7 @@ CONST_ZOOMLVL = 10;
|
||||||
// -- Marker settings -------------------------------------
|
// -- Marker settings -------------------------------------
|
||||||
// The default marker color
|
// The default marker color
|
||||||
MarkerColor = "rgb(127, 127, 127)";
|
MarkerColor = "rgb(127, 127, 127)";
|
||||||
|
MlatMarkerColor = "rgb(75, 75, 180)";
|
||||||
SelectedColor = "rgb(225, 225, 225)";
|
SelectedColor = "rgb(225, 225, 225)";
|
||||||
|
|
||||||
// -- Site Settings ---------------------------------------
|
// -- Site Settings ---------------------------------------
|
||||||
|
|
|
||||||
|
|
@ -54,6 +54,9 @@ var planeObject = {
|
||||||
|
|
||||||
// Should create an icon for us to use on the map...
|
// Should create an icon for us to use on the map...
|
||||||
funcGetIcon : function() {
|
funcGetIcon : function() {
|
||||||
|
if (this.mlat == true) {
|
||||||
|
this.markerColor = MlatMarkerColor;
|
||||||
|
}
|
||||||
// If this marker is selected we should make it lighter than the rest.
|
// If this marker is selected we should make it lighter than the rest.
|
||||||
if (this.is_selected == true) {
|
if (this.is_selected == true) {
|
||||||
this.markerColor = SelectedColor;
|
this.markerColor = SelectedColor;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue