From eca4ce0b478f8bc4cb1a452776964eba1bffeb2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Velarde?= Date: Sat, 11 Nov 2017 21:45:03 +0100 Subject: [PATCH] Updated references to Leaflet 1.2.0 --- docs/example_ColorScale.html | 8 ++--- docs/example_Grid.html | 4 +-- docs/example_ScalarField.html | 4 +-- docs/example_ScalarField_360.html | 4 +-- docs/example_ScalarField_Filter.html | 14 ++++---- docs/example_ScalarField_Geotiff.html | 4 +-- docs/example_ScalarField_Geotiff_Bigger.html | 4 +-- docs/example_ScalarField_Geotiff_WCS.html | 4 +-- docs/example_ScalarField_Interpolation.html | 4 +-- docs/example_ScalarField_Styles.html | 32 +++++++++---------- docs/example_ScalarField_Vector.html | 4 +-- docs/example_VectorFieldAnim.html | 4 +-- docs/example_VectorFieldAnim_ColorBar.html | 4 +-- docs/example_VectorFieldAnim_Styles.html | 4 +-- ...xample_VectorFieldAnim_Styles_Dynamic.html | 4 +-- ...mple_VectorFieldAnim_With_ScalarField.html | 4 +-- docs/in_progress_winds.html | 4 +-- docs/index.html | 11 +++++-- docs/test_async.html | 4 +-- 19 files changed, 66 insertions(+), 59 deletions(-) diff --git a/docs/example_ColorScale.html b/docs/example_ColorScale.html index 273ac9d..6fd1661 100644 --- a/docs/example_ColorScale.html +++ b/docs/example_ColorScale.html @@ -4,7 +4,7 @@ ColorScale - + @@ -15,14 +15,14 @@

ColorScales

- + - + \ No newline at end of file diff --git a/docs/example_Grid.html b/docs/example_Grid.html index 47fb5e8..0535f79 100644 --- a/docs/example_Grid.html +++ b/docs/example_Grid.html @@ -4,7 +4,7 @@ SimpleLonLat - + @@ -16,7 +16,7 @@

Grid from Field

- + diff --git a/docs/example_ScalarField.html b/docs/example_ScalarField.html index 8121ff6..cfb9db1 100644 --- a/docs/example_ScalarField.html +++ b/docs/example_ScalarField.html @@ -4,7 +4,7 @@ ScalarField / ASCIIGrid - + @@ -16,7 +16,7 @@

ScalarField

- + diff --git a/docs/example_ScalarField_360.html b/docs/example_ScalarField_360.html index 8ed1a7e..6bb8de3 100644 --- a/docs/example_ScalarField_360.html +++ b/docs/example_ScalarField_360.html @@ -4,7 +4,7 @@ ScalarField / ASCIIGrid with 0-360 longitudes - + @@ -16,7 +16,7 @@

ScalarField [0-360] longitudes

- + diff --git a/docs/example_ScalarField_Filter.html b/docs/example_ScalarField_Filter.html index 18a32a8..bcaad6a 100644 --- a/docs/example_ScalarField_Filter.html +++ b/docs/example_ScalarField_Filter.html @@ -4,7 +4,7 @@ ScalarField / inFilter - + @@ -24,7 +24,7 @@

ScalarField Filter

- + @@ -40,7 +40,7 @@

ScalarField Filter

/* DEM data from LIDAR - PNOA */ d3.request("data/castro_dem.tiff").responseType('arraybuffer').get( - function(error, tiffData) { + function (error, tiffData) { let dem = L.ScalarField.fromGeoTIFF(tiffData.response); let layerDem = L.canvasLayer.scalarField(dem, { color: chroma.scale('Spectral').domain([80, 0]) @@ -50,10 +50,10 @@

ScalarField Filter

/* dynamic filtering */ let height = document.getElementById('height'); - height.addEventListener('change', function() { + height.addEventListener('change', function () { layerDem.setColor('blue'); let h = height.value; - let f = function(v) { + let f = function (v) { return v >= 0 && v <= h; }; layerDem.setFilter(f); @@ -61,7 +61,7 @@

ScalarField Filter

}); /* popup */ - layerDem.on('click', function(e) { + layerDem.on('click', function (e) { if (e.value !== null) { let v = e.value.toFixed(1); let html = (`${v} meters`); @@ -76,4 +76,4 @@

ScalarField Filter

- + \ No newline at end of file diff --git a/docs/example_ScalarField_Geotiff.html b/docs/example_ScalarField_Geotiff.html index 9aad746..68e6297 100644 --- a/docs/example_ScalarField_Geotiff.html +++ b/docs/example_ScalarField_Geotiff.html @@ -4,7 +4,7 @@ ScalarField / Geotiff - + @@ -16,7 +16,7 @@

ScalarField GeoTIFF

- + diff --git a/docs/example_ScalarField_Geotiff_Bigger.html b/docs/example_ScalarField_Geotiff_Bigger.html index fcf57dd..1f1315f 100644 --- a/docs/example_ScalarField_Geotiff_Bigger.html +++ b/docs/example_ScalarField_Geotiff_Bigger.html @@ -4,7 +4,7 @@ ScalarField / Geotiff - + @@ -16,7 +16,7 @@

ScalarField GeoTIFF

- + diff --git a/docs/example_ScalarField_Geotiff_WCS.html b/docs/example_ScalarField_Geotiff_WCS.html index 5162a88..a4f95b1 100644 --- a/docs/example_ScalarField_Geotiff_WCS.html +++ b/docs/example_ScalarField_Geotiff_WCS.html @@ -4,7 +4,7 @@ ScalarField / Geotiff WCS - + @@ -16,7 +16,7 @@

ScalarField WCS

- + diff --git a/docs/example_ScalarField_Interpolation.html b/docs/example_ScalarField_Interpolation.html index ba4e6de..f6237a2 100644 --- a/docs/example_ScalarField_Interpolation.html +++ b/docs/example_ScalarField_Interpolation.html @@ -4,7 +4,7 @@ ScalarField / Interpolation - + @@ -16,7 +16,7 @@

ScalarField / Interpolation

- + diff --git a/docs/example_ScalarField_Styles.html b/docs/example_ScalarField_Styles.html index 4c1bcff..ab7aca4 100644 --- a/docs/example_ScalarField_Styles.html +++ b/docs/example_ScalarField_Styles.html @@ -4,7 +4,7 @@ ScalarField / color - + @@ -26,20 +26,20 @@

ScalarField styles

+ + + + + + + + + + + + + +
  • ScalarField filtering
  • +
  • + ScalarField spatial Mask +
  • ScalarField from an OGC-WCS Service (GeoTIFF)
  • @@ -63,12 +66,16 @@

    VectorFieldAnim

    Other

    - (2017) An IHCantabria project @github by @VictorVelarde + (2017) An IHCantabria project + @github by + @VictorVelarde
    diff --git a/docs/test_async.html b/docs/test_async.html index 6c46dcb..adcd0ba 100644 --- a/docs/test_async.html +++ b/docs/test_async.html @@ -3,7 +3,7 @@ Test - DELETE - +