From 91e9771f60b7d9972c48d1af2c1bf8f6833aa6a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Brunner?= Date: Thu, 27 Jun 2019 14:21:19 +0200 Subject: [PATCH] Fix the examples --- Makefile | 2 +- contribs/gmf/apps/iframe_api/index.html.ejs | 1 + contribs/gmf/examples/authentication.html | 1 + contribs/gmf/examples/backgroundlayerselector.html | 1 + contribs/gmf/examples/contextualdata.html | 1 + contribs/gmf/examples/datepicker.html | 1 + contribs/gmf/examples/displayquerygrid.html | 1 + contribs/gmf/examples/displayquerywindow.html | 1 + contribs/gmf/examples/drawfeature.html | 1 + contribs/gmf/examples/editfeature.html | 1 + contribs/gmf/examples/editfeatureselector.html | 1 + contribs/gmf/examples/elevation.html | 1 + contribs/gmf/examples/featurestyle.html | 1 + contribs/gmf/examples/filterselector.html | 1 + contribs/gmf/examples/importdatasource.html | 1 + contribs/gmf/examples/layertree.html | 1 + contribs/gmf/examples/layertreeadd.html | 1 + contribs/gmf/examples/lidarprofile.html | 1 + contribs/gmf/examples/mobilemeasure.html | 1 + contribs/gmf/examples/mouseposition.html | 1 + contribs/gmf/examples/objectediting.html | 1 + contribs/gmf/examples/objecteditinghub.html | 1 + contribs/gmf/examples/permalink.html | 1 + contribs/gmf/examples/print.html | 1 + contribs/gmf/examples/profile.html | 1 + contribs/gmf/examples/search.html | 1 + contribs/gmf/examples/share.html | 1 + contribs/gmf/examples/simple.html | 1 + contribs/gmf/examples/themeselector.html | 1 + contribs/gmf/examples/timeslider.html | 1 + contribs/gmf/examples/wfspermalink.html | 1 + contribs/gmf/examples/xsdattributes.html | 1 + examples/animation.html | 1 + examples/asitvd.html | 1 + examples/attributes.html | 1 + examples/backgroundlayer.html | 1 + examples/backgroundlayerdropdown.html | 1 + examples/bboxquery.html | 1 + examples/colorpicker.html | 1 + examples/control.html | 1 + examples/createfeature.html | 1 + examples/datepicker.html | 1 + examples/datetimepicker.html | 1 + examples/desktopgeolocation.html | 1 + examples/disclaimer.html | 1 + examples/displaywindow.html | 1 + examples/drawfeature.html | 1 + examples/elevationProfile.html | 1 + examples/googlestreetview.html | 1 + examples/grid.html | 1 + examples/importfeatures.html | 1 + examples/interactionbtngroup.html | 1 + examples/layerorder.html | 1 + examples/layertree.html | 1 + examples/locationsearch.html | 1 + examples/mapfishprint.html | 1 + examples/mapquery.html | 1 + examples/measure.html | 1 + examples/mobilegeolocation.html | 1 + examples/modal.html | 1 + examples/modifycircle.html | 1 + examples/modifyrectangle.html | 1 + examples/notification.html | 1 + examples/offline.html | 1 + examples/permalink.html | 1 + examples/popover.html | 1 + examples/popupservice.html | 1 + examples/recenter.html | 1 + examples/rotate.html | 1 + examples/routing.html | 1 + examples/scaleselector.html | 1 + examples/search.html | 1 + examples/simple.html | 1 + examples/simple3d.html | 1 + examples/toolActivate.html | 1 + 75 files changed, 75 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2a3cacd39bc1..bc477c328f95 100644 --- a/Makefile +++ b/Makefile @@ -234,7 +234,7 @@ gh-pages: .build/python-venv.timestamp .build/python-venv.timestamp mkdir -p $(dir $@) $(PY_VENV_BIN)/python buildtools/generate-examples-index.py \ - --app 'GeoMapFish' contribs/gmf/mobile.html 'GeoMapFish examples.' \ + --app 'GeoMapFish' contribs/gmf/ 'GeoMapFish examples.' \ $< $(NGEO_EXAMPLES_HTML_FILES) > $@ .build/examples-hosted/contribs/gmf/index.html: \ diff --git a/contribs/gmf/apps/iframe_api/index.html.ejs b/contribs/gmf/apps/iframe_api/index.html.ejs index e9f014774832..0c4b7bce98c0 100644 --- a/contribs/gmf/apps/iframe_api/index.html.ejs +++ b/contribs/gmf/apps/iframe_api/index.html.ejs @@ -89,6 +89,7 @@ + <% for (var chunk in htmlWebpackPlugin.files.chunks) { %> <% } %> diff --git a/contribs/gmf/examples/authentication.html b/contribs/gmf/examples/authentication.html index 9f2079097ac2..5c2959fa6e7a 100644 --- a/contribs/gmf/examples/authentication.html +++ b/contribs/gmf/examples/authentication.html @@ -13,5 +13,6 @@ directive to insert an authentication panel in a GeoMapFish page.

+ diff --git a/contribs/gmf/examples/backgroundlayerselector.html b/contribs/gmf/examples/backgroundlayerselector.html index d52f636263c4..7bc895f141ea 100644 --- a/contribs/gmf/examples/backgroundlayerselector.html +++ b/contribs/gmf/examples/backgroundlayerselector.html @@ -17,5 +17,6 @@ + diff --git a/contribs/gmf/examples/contextualdata.html b/contribs/gmf/examples/contextualdata.html index a5e2bd9baf5b..d35eec4d25cb 100644 --- a/contribs/gmf/examples/contextualdata.html +++ b/contribs/gmf/examples/contextualdata.html @@ -10,5 +10,6 @@

This example shows how to use the gmf-contextualdata directive to display coordinates or data related to the point after a right click on the map.

+ diff --git a/contribs/gmf/examples/datepicker.html b/contribs/gmf/examples/datepicker.html index c9d9f748f511..0c4496feaed8 100644 --- a/contribs/gmf/examples/datepicker.html +++ b/contribs/gmf/examples/datepicker.html @@ -29,5 +29,6 @@ + diff --git a/contribs/gmf/examples/displayquerygrid.html b/contribs/gmf/examples/displayquerygrid.html index 451c3a528672..9466f4137d30 100644 --- a/contribs/gmf/examples/displayquerygrid.html +++ b/contribs/gmf/examples/displayquerygrid.html @@ -50,5 +50,6 @@ gmf-displayquerygrid-featuresstyle="ctrl.featureStyle" gmf-displayquerygrid-map="::ctrl.map"> + diff --git a/contribs/gmf/examples/displayquerywindow.html b/contribs/gmf/examples/displayquerywindow.html index af3bd0c106a6..0ff6e48b2d65 100644 --- a/contribs/gmf/examples/displayquerywindow.html +++ b/contribs/gmf/examples/displayquerywindow.html @@ -60,5 +60,6 @@ gmf-displayquerywindow-desktop="::ctrl.desktop" gmf-displayquerywindow-featuresstyle="ctrl.featureStyle"> + diff --git a/contribs/gmf/examples/drawfeature.html b/contribs/gmf/examples/drawfeature.html index 6b878ea85599..9a6304819d52 100644 --- a/contribs/gmf/examples/drawfeature.html +++ b/contribs/gmf/examples/drawfeature.html @@ -35,5 +35,6 @@

Draw & Measure

directive to create, modify and delete vector features on a map and style them as we please.

+ diff --git a/contribs/gmf/examples/editfeature.html b/contribs/gmf/examples/editfeature.html index 94de45a0eda6..51d37a86d328 100644 --- a/contribs/gmf/examples/editfeature.html +++ b/contribs/gmf/examples/editfeature.html @@ -59,5 +59,6 @@ + diff --git a/contribs/gmf/examples/editfeatureselector.html b/contribs/gmf/examples/editfeatureselector.html index beafd9b4439b..c3b04ef7790d 100644 --- a/contribs/gmf/examples/editfeatureselector.html +++ b/contribs/gmf/examples/editfeatureselector.html @@ -55,5 +55,6 @@ + diff --git a/contribs/gmf/examples/elevation.html b/contribs/gmf/examples/elevation.html index f369fcf254a1..9bb8ecfbc1e9 100644 --- a/contribs/gmf/examples/elevation.html +++ b/contribs/gmf/examples/elevation.html @@ -44,5 +44,6 @@

This example shows how to use the gmf-elevation directive to get elevation under the mouse position.

+ diff --git a/contribs/gmf/examples/featurestyle.html b/contribs/gmf/examples/featurestyle.html index e4dfa1df3314..fcb41a19114b 100644 --- a/contribs/gmf/examples/featurestyle.html +++ b/contribs/gmf/examples/featurestyle.html @@ -19,5 +19,6 @@ directive to style a vector feature. Click on a feature to show the directive.

+ diff --git a/contribs/gmf/examples/filterselector.html b/contribs/gmf/examples/filterselector.html index 4e3b9a970a1e..e4adf1eb86ed 100644 --- a/contribs/gmf/examples/filterselector.html +++ b/contribs/gmf/examples/filterselector.html @@ -57,5 +57,6 @@ tool-group="ctrl.toolGroup"> + diff --git a/contribs/gmf/examples/importdatasource.html b/contribs/gmf/examples/importdatasource.html index e532d0ade91b..51d68be8c86e 100644 --- a/contribs/gmf/examples/importdatasource.html +++ b/contribs/gmf/examples/importdatasource.html @@ -43,5 +43,6 @@ map="ctrl.map"> + diff --git a/contribs/gmf/examples/layertree.html b/contribs/gmf/examples/layertree.html index aba77d9b879a..e065225b299d 100644 --- a/contribs/gmf/examples/layertree.html +++ b/contribs/gmf/examples/layertree.html @@ -25,5 +25,6 @@ + diff --git a/contribs/gmf/examples/layertreeadd.html b/contribs/gmf/examples/layertreeadd.html index aba77d9b879a..e065225b299d 100644 --- a/contribs/gmf/examples/layertreeadd.html +++ b/contribs/gmf/examples/layertreeadd.html @@ -25,5 +25,6 @@ + diff --git a/contribs/gmf/examples/lidarprofile.html b/contribs/gmf/examples/lidarprofile.html index d2a1948bb25f..3cf3705aa036 100644 --- a/contribs/gmf/examples/lidarprofile.html +++ b/contribs/gmf/examples/lidarprofile.html @@ -24,5 +24,6 @@ gmf-lidarprofile-panel-line="ctrl.profileLine"> + diff --git a/contribs/gmf/examples/mobilemeasure.html b/contribs/gmf/examples/mobilemeasure.html index c9853a5b7e82..734148614b16 100644 --- a/contribs/gmf/examples/mobilemeasure.html +++ b/contribs/gmf/examples/mobilemeasure.html @@ -55,5 +55,6 @@ gmfRaster service to also obtain the height of the location as well.

+ diff --git a/contribs/gmf/examples/mouseposition.html b/contribs/gmf/examples/mouseposition.html index 7f53058e4b7f..7fe77c21bf61 100644 --- a/contribs/gmf/examples/mouseposition.html +++ b/contribs/gmf/examples/mouseposition.html @@ -17,5 +17,6 @@

This example shows how to use the gmf.mouseposition directive.

+ diff --git a/contribs/gmf/examples/objectediting.html b/contribs/gmf/examples/objectediting.html index ba433ae2ade4..90211774d3ab 100644 --- a/contribs/gmf/examples/objectediting.html +++ b/contribs/gmf/examples/objectediting.html @@ -51,5 +51,6 @@

ObjectEditing

+ diff --git a/contribs/gmf/examples/objecteditinghub.html b/contribs/gmf/examples/objecteditinghub.html index efc59b98213c..9c7f29de632a 100644 --- a/contribs/gmf/examples/objecteditinghub.html +++ b/contribs/gmf/examples/objecteditinghub.html @@ -53,5 +53,6 @@ + diff --git a/contribs/gmf/examples/permalink.html b/contribs/gmf/examples/permalink.html index a465b2756d8f..98c5e0d1402d 100644 --- a/contribs/gmf/examples/permalink.html +++ b/contribs/gmf/examples/permalink.html @@ -35,5 +35,6 @@ gmfPermalinkOptions to customize the permalink crosshair feature style.

+ diff --git a/contribs/gmf/examples/print.html b/contribs/gmf/examples/print.html index 42b2f4a42e7e..cbf93228b146 100644 --- a/contribs/gmf/examples/print.html +++ b/contribs/gmf/examples/print.html @@ -107,5 +107,6 @@ + diff --git a/contribs/gmf/examples/profile.html b/contribs/gmf/examples/profile.html index 92ed1cfcf30f..df192f1da7ed 100644 --- a/contribs/gmf/examples/profile.html +++ b/contribs/gmf/examples/profile.html @@ -25,5 +25,6 @@ gmf-profile-linesconfiguration="::ctrl.profileLinesconfiguration" gmf-profile-options="::ctrl.profileOptions"> + diff --git a/contribs/gmf/examples/search.html b/contribs/gmf/examples/search.html index ba4c8e8863af..f308c0330f4f 100644 --- a/contribs/gmf/examples/search.html +++ b/contribs/gmf/examples/search.html @@ -27,5 +27,6 @@

You typed: {{ctrl.inputValue}}

+ diff --git a/contribs/gmf/examples/share.html b/contribs/gmf/examples/share.html index 5a7088e023d7..7e36eeffd877 100644 --- a/contribs/gmf/examples/share.html +++ b/contribs/gmf/examples/share.html @@ -33,5 +33,6 @@ + diff --git a/contribs/gmf/examples/simple.html b/contribs/gmf/examples/simple.html index f733938637af..60e2dbd97a9e 100644 --- a/contribs/gmf/examples/simple.html +++ b/contribs/gmf/examples/simple.html @@ -10,5 +10,6 @@

This example shows how to use the gmf-map directive to insert an OpenLayers map in a GeoMapFish page.

+ diff --git a/contribs/gmf/examples/themeselector.html b/contribs/gmf/examples/themeselector.html index 5777001f7a1b..b8cd82cfc604 100644 --- a/contribs/gmf/examples/themeselector.html +++ b/contribs/gmf/examples/themeselector.html @@ -14,5 +14,6 @@

This example shows how to use the gmf.themeselector directive from a c2c geoportal theme service.

+ diff --git a/contribs/gmf/examples/timeslider.html b/contribs/gmf/examples/timeslider.html index ab17777aae72..8782233b0044 100644 --- a/contribs/gmf/examples/timeslider.html +++ b/contribs/gmf/examples/timeslider.html @@ -35,5 +35,6 @@ + diff --git a/contribs/gmf/examples/wfspermalink.html b/contribs/gmf/examples/wfspermalink.html index 612894790e4d..20af2a2d1486 100644 --- a/contribs/gmf/examples/wfspermalink.html +++ b/contribs/gmf/examples/wfspermalink.html @@ -48,5 +48,6 @@ gmf-displayquerywindow-desktop="false" gmf-displayquerywindow-featuresstyle="ctrl.featureStyle"> + diff --git a/contribs/gmf/examples/xsdattributes.html b/contribs/gmf/examples/xsdattributes.html index 99623a202409..b4e4e9c32dc8 100644 --- a/contribs/gmf/examples/xsdattributes.html +++ b/contribs/gmf/examples/xsdattributes.html @@ -42,5 +42,6 @@ + diff --git a/examples/animation.html b/examples/animation.html index 7b52a2d5f004..65fd03333aaa 100644 --- a/examples/animation.html +++ b/examples/animation.html @@ -19,5 +19,6 @@

Use the Open sidebar! to open the sidebar and change the width of the map.

This example shows how to animate the resizing of a map without distortions of the map during the animation. This uses the ngeoResizemap directive.

+ diff --git a/examples/asitvd.html b/examples/asitvd.html index 17eea9e961aa..24e90c7bc47e 100644 --- a/examples/asitvd.html +++ b/examples/asitvd.html @@ -13,5 +13,6 @@ This example shows how to use the ngeo.source.AsitVD source to access tiles from the ASIT VD tile server.

+ diff --git a/examples/attributes.html b/examples/attributes.html index 2716d0eae411..7370c4ea82eb 100644 --- a/examples/attributes.html +++ b/examples/attributes.html @@ -44,5 +44,6 @@ + diff --git a/examples/backgroundlayer.html b/examples/backgroundlayer.html index 5a1af44b5b92..71b9c32d5516 100644 --- a/examples/backgroundlayer.html +++ b/examples/backgroundlayer.html @@ -33,5 +33,6 @@ + diff --git a/examples/backgroundlayerdropdown.html b/examples/backgroundlayerdropdown.html index c8fbc5f72555..c9686155d316 100644 --- a/examples/backgroundlayerdropdown.html +++ b/examples/backgroundlayerdropdown.html @@ -13,5 +13,6 @@

This example shows how to write an application-specific directive (app-backgroundlayer) to create a background layer selector. The directive is based on Bootstrap's dropdown jQuery plugin, and on the ngeoBackgroundLayerMgr service.

+ diff --git a/examples/bboxquery.html b/examples/bboxquery.html index f29589439d65..42420e6e55fa 100644 --- a/examples/bboxquery.html +++ b/examples/bboxquery.html @@ -26,5 +26,6 @@ + diff --git a/examples/colorpicker.html b/examples/colorpicker.html index 82c642968335..be08f5741eed 100644 --- a/examples/colorpicker.html +++ b/examples/colorpicker.html @@ -19,5 +19,6 @@

This example shows how to write an application-specific directive (app-colorpicker) based on ngeo-colorpickerto create a color picker.

+ diff --git a/examples/control.html b/examples/control.html index 713b017b3e1e..5e2b111ecce6 100644 --- a/examples/control.html +++ b/examples/control.html @@ -11,5 +11,6 @@
Mouse position:

This example shows how to use the ngeo-control directive to insert an OpenLayers control in the page.

+ diff --git a/examples/createfeature.html b/examples/createfeature.html index 4fd7fc49a14a..24a4d6673bf2 100644 --- a/examples/createfeature.html +++ b/examples/createfeature.html @@ -64,5 +64,6 @@ a map.

+ diff --git a/examples/datepicker.html b/examples/datepicker.html index 8cc940fc77c3..5f76445b0bc5 100644 --- a/examples/datepicker.html +++ b/examples/datepicker.html @@ -29,5 +29,6 @@ + diff --git a/examples/datetimepicker.html b/examples/datetimepicker.html index 66e9b174b465..731ab9b14605 100644 --- a/examples/datetimepicker.html +++ b/examples/datetimepicker.html @@ -21,5 +21,6 @@ ng-model="ctrl.datetime" ngeo-datetimepicker ngeo-datetimepicker-options="{scrollTime: false, format: 'Y-m-d H:i:s', mask: '9999-19-39 29:59:59'}">

+ diff --git a/examples/desktopgeolocation.html b/examples/desktopgeolocation.html index 18e70c21bd2b..661130e84c44 100644 --- a/examples/desktopgeolocation.html +++ b/examples/desktopgeolocation.html @@ -23,5 +23,6 @@ directive.

+ diff --git a/examples/disclaimer.html b/examples/disclaimer.html index f218973982d6..c50cf42e83c2 100644 --- a/examples/disclaimer.html +++ b/examples/disclaimer.html @@ -53,5 +53,6 @@ class="btn btn-danger">Close all + diff --git a/examples/displaywindow.html b/examples/displaywindow.html index 76a7966b8b72..e739a2ada627 100644 --- a/examples/displaywindow.html +++ b/examples/displaywindow.html @@ -80,5 +80,6 @@

Using AngularJS bindings:

+ diff --git a/examples/drawfeature.html b/examples/drawfeature.html index c634d398579b..57b1f6882003 100644 --- a/examples/drawfeature.html +++ b/examples/drawfeature.html @@ -74,5 +74,6 @@ directive to draw vector features on the map.

+ diff --git a/examples/elevationProfile.html b/examples/elevationProfile.html index 257c08adea61..8d37c3084ee2 100644 --- a/examples/elevationProfile.html +++ b/examples/elevationProfile.html @@ -23,5 +23,6 @@

This example shows how to use ngeo-profile to create a D3-based elevation profile graphic.

+ diff --git a/examples/googlestreetview.html b/examples/googlestreetview.html index a3dc19968763..9f87bc6d18a5 100644 --- a/examples/googlestreetview.html +++ b/examples/googlestreetview.html @@ -38,5 +38,6 @@ + diff --git a/examples/grid.html b/examples/grid.html index fa100ca1cf4a..8de62c582503 100644 --- a/examples/grid.html +++ b/examples/grid.html @@ -12,5 +12,6 @@ + diff --git a/examples/importfeatures.html b/examples/importfeatures.html index 856592a18889..df9af4949445 100644 --- a/examples/importfeatures.html +++ b/examples/importfeatures.html @@ -13,5 +13,6 @@

Your browser doesn't support the FileReader API! IE 9?

This example shows how to use the ngeo-filereader directive to import features from a KML file read from the user's file system.

You can download and use the 2012-02-10.kml file from the OpenLayers examples for testing.

+ diff --git a/examples/interactionbtngroup.html b/examples/interactionbtngroup.html index 423a2462b451..1faff9f0b450 100644 --- a/examples/interactionbtngroup.html +++ b/examples/interactionbtngroup.html @@ -19,5 +19,6 @@

This example shows how to use the ngeo-btn-group and ngeo-btn directives to activate/deactivate OpenLayers interactions in a toggle group.

+ diff --git a/examples/layerorder.html b/examples/layerorder.html index 01c78b294c48..a0e055aa23ba 100644 --- a/examples/layerorder.html +++ b/examples/layerorder.html @@ -26,5 +26,6 @@