mirror of
https://github.com/stylersnico/librenms.git
synced 2026-08-02 00:32:09 +02:00
updated examples
This commit is contained in:
+29
@@ -9575,4 +9575,33 @@ $(function(){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Example #7
|
||||||
|
$(".maparea7").mapael({
|
||||||
|
map : {
|
||||||
|
name : "usa_states"
|
||||||
|
},
|
||||||
|
plots: {
|
||||||
|
'ny' : {
|
||||||
|
latitude: 40.717079,
|
||||||
|
longitude: -74.00116,
|
||||||
|
tooltip: {content : "New York"}
|
||||||
|
},
|
||||||
|
'an' : {
|
||||||
|
latitude: 61.2108398,
|
||||||
|
longitude: -149.9019557,
|
||||||
|
tooltip: {content : "Anchorage"}
|
||||||
|
},
|
||||||
|
'sf' : {
|
||||||
|
latitude: 37.792032,
|
||||||
|
longitude: -122.394613,
|
||||||
|
tooltip: {content : "San Francisco"}
|
||||||
|
},
|
||||||
|
'pa' : {
|
||||||
|
latitude: 19.493204,
|
||||||
|
longitude: -154.8199569,
|
||||||
|
tooltip: {content : "Pahoa"}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
});
|
});
|
||||||
Reference in New Issue
Block a user