Some Requirements
-Must have some 'layers' incorporated
Layers must be able to turn on and off
Layers must be interactive – User may interact with them
Remote Sensing Products?
GeoJson?
WMS Layers?
Rest Endpoints?
-Must incorporate some other data, (i.e. real-time data)
Ask yourself - how will you include this data
visualization? Query the layer?
Where will you get it?
Downloadable? Scrape it?
Rest Endpoint(s)?
How will you store/persist the data?
How will you access the data from the application?
Requirements - continued
function parsingCurrentGauges(){
$.getJSON(gaugeData, function (data) {
geoJsonGaugeDataCurrent = L.geoJson(data, {
pointToLayer: function (feature, latlng) {
if (feature.properties.status === "moderate") {
return new L.CircleMarker(latlng, {
radius: 7,
color: "#000",
weight: 1,
fillColor: "#ff0000",
fillOpacity: 0.75
});
} else {
return new L.CircleMarker(latlng, {
radius: 6,
color: "#000",
weight: 1,
fillColor: "#ecf32e",
fillOpacity: 0.70
});}}});
mapFocus.addLayer(geoJsonGaugeDataCurrent);
geoJsonGaugeDataCurrent.eachLayer(handleLayerEvents);
})
}