-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
maj package tgz + mise à niveau du code avec le nouveau depot + activ…
…ation par defaut des nouveaux widgets
- Loading branch information
1 parent
6282371
commit 00cd592
Showing
16 changed files
with
102 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"name":"catalog","auto":true,"params":[{"type":{"names":["Object"]},"description":"options for function call.","name":"options","value":null,"section":true}],"examples":["var widget = new ol.control.Catalog({\n collapsed : true,\n draggable : false,\n titlePrimary : \"\",\n titleSecondary : \"Gérer vos couches de données\",\n layerLabel : \"title\",\n layerFilter : [],\n search : {\n display : true, \n criteria : [\n \"name\",\n \"title\",\n \"description\"\n ]\n },\n addToMap : true,\n categories : [\n {\n title : \"Données\",\n id : \"data\",\n default : true,\n filter : null\n // sous categories\n // items : [\n // {\n // title : \"\",\n // default : true,\n // filter : {\n // field : \"\",\n // value : \"\"\n // }\n // }\n // ]\n }\n ],\n configuration : {\n type : \"json\", // type:\"service\"\n urls : [ // data:{}\n \"https://raw.githubusercontent.com/IGNF/cartes.gouv.fr-entree-carto/main/public/data/layers.json\",\n \"https://raw.githubusercontent.com/IGNF/cartes.gouv.fr-entree-carto/main/public/data/edito.json\"\n ]\n }\n});\nwidget.on(\"catalog:loaded\", (e) => { console.log(e.data); });\nwidget.on(\"catalog:layer:add\", (e) => { console.log(e); });\nwidget.on(\"catalog:layer:remove\", (e) => { console.log(e); });\nmap.addControl(widget);"]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"name":"geoportalfullscreen","auto":true,"params":[{"type":{"names":["Object"]},"description":"ol.control.FullScreen options (see {@link http://openlayers.org/en/latest/apidoc/ol.control.FullScreen.html ol.Control.FullScreen})","name":"options","value":null,"section":true}],"examples":["var zoom = new ol.control.GeoportalFullScreen({\n position: \"top-left\"\n});\nmap.addControl(zoom);"]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"name":"geoportaloverviewmap","auto":true,"params":[{"type":{"names":["Object"]},"description":"ol.control.OverviewMap options (see {@link http://openlayers.org/en/latest/apidoc/ol.control.OverviewMap.html ol.Control.OverviewMap})","name":"options","value":null,"section":true}],"examples":["var overviewmap = new ol.control.GeoportalOverviewMap({\n position: \"top-left\"\n});\nmap.addControl(overviewmap);"]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"name":"geoportalzoom","auto":true,"params":[{"type":{"names":["Object"]},"description":"ol.control.Zoom options (see {@link http://openlayers.org/en/latest/apidoc/ol.control.Zoom.html ol.Control.Zoom})","name":"options","value":null,"section":true}],"examples":["var zoom = new ol.control.GeoportalZoom({\n position: \"top-left\"\n});\nmap.addControl(zoom);"]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"name":"layerswitcher","auto":true,"params":[{"type":{"names":["Object"]},"description":"control options","name":"options","value":null,"section":true},{"type":{"names":["Array"]},"optional":true,"description":"list of layers to be configured. Each array element is an object, with following properties :","name":"options.layers","value":null,"section":true},{"type":{"names":["ol.layer.Layer"]},"optional":true,"description":"ol.layer.Layer layer to be configured (that has been added to map)","name":"options.layers.layer","value":null,"section":false},{"type":{"names":["Object"]},"optional":true,"description":"custom configuration object for layer information (title, description, legends, metadata, quicklook url), with following properties :","name":"options.layers.config","value":null,"section":true},{"type":{"names":["String"]},"optional":true,"description":"layer alias, to be displayed in widget layer list. E.g. : \"Cartes IGN\"","name":"options.layers.config.title","value":null,"section":false},{"type":{"names":["String"]},"optional":true,"description":"layer description, to be displayed on title hover, or in layer information panel.","name":"options.layers.config.description","value":null,"section":false},{"type":{"names":["String"]},"optional":true,"description":"link to a quick look image for this layer.","name":"options.layers.config.quicklookUrl","value":null,"section":false},{"type":{"names":["Array"]},"optional":true,"description":"array of layer legends. Each array element is an object, with following properties :\n - url (String, mandatory) : link to a legend\n - minScaleDenominator (Number, optional) : min scale denominator for legend validity.","name":"options.layers.config.legends","value":null,"section":false},{"type":{"names":["Array"]},"optional":true,"description":"array of layer metadata. Each array element is an object, with property url (String, mandatory) : link to a metadata","name":"options.layers.config.metadata","value":null,"section":false},{"type":{"names":["Object"]},"optional":true,"description":"ol.control.Control options (see {@link http://openlayers.org/en/latest/apidoc/ol.control.Control.html ol.control.Control})","name":"options.options","value":null,"section":true},{"type":{"names":["Boolean"]},"optional":true,"defaultvalue":true,"description":"Specify if widget has to be collapsed (true) or not (false) on map loading. Default is true.","name":"options.options.collapsed","value":null,"section":false}],"examples":["map.addControl(new ol.control.LayerSwitcher(\n [\n {\n layer : wms1,\n config : {\n title : \"test layer name 1\",\n description : \"test layer desc 1\",\n }\n }\n ],\n {\n collapsed : true\n }\n));"]} | ||
{"name":"layerswitcher","auto":true,"params":[{"type":{"names":["Object"]},"description":"control options","name":"options","value":null,"section":true},{"type":{"names":["Array"]},"optional":true,"description":"list of layers to be configured. Each array element is an object, with following properties :","name":"options.layers","value":null,"section":true},{"type":{"names":["ol.layer.Layer"]},"optional":true,"description":"ol.layer.Layer layer to be configured (that has been added to map)","name":"options.layers.layer","value":null,"section":false},{"type":{"names":["Object"]},"optional":true,"description":"custom configuration object for layer information (title, description, legends, metadata, quicklook url), with following properties :","name":"options.layers.config","value":null,"section":true},{"type":{"names":["String"]},"optional":true,"description":"layer alias, to be displayed in widget layer list. E.g. : \"Cartes IGN\"","name":"options.layers.config.title","value":null,"section":false},{"type":{"names":["String"]},"optional":true,"description":"layer description, to be displayed on title hover, or in layer information panel.","name":"options.layers.config.description","value":null,"section":false},{"type":{"names":["String"]},"optional":true,"description":"link to a quick look image for this layer.","name":"options.layers.config.quicklookUrl","value":null,"section":false},{"type":{"names":["Array"]},"optional":true,"description":"array of layer legends. Each array element is an object, with following properties :\n - url (String, mandatory) : link to a legend\n - minScaleDenominator (Number, optional) : min scale denominator for legend validity.","name":"options.layers.config.legends","value":null,"section":false},{"type":{"names":["Array"]},"optional":true,"description":"array of layer metadata. Each array element is an object, with property url (String, mandatory) : link to a metadata","name":"options.layers.config.metadata","value":null,"section":false},{"type":{"names":["Object"]},"optional":true,"description":"ol.control.Control options (see {@link http://openlayers.org/en/latest/apidoc/ol.control.Control.html ol.control.Control})","name":"options.options","value":null,"section":true},{"type":{"names":["Boolean"]},"optional":true,"defaultvalue":true,"description":"Specify if widget has to be collapsed (true) or not (false) on map loading. Default is true.","name":"options.options.collapsed","value":null,"section":false},{"type":{"names":["Boolean"]},"optional":true,"defaultvalue":false,"description":"Specify if widget has to have a panel header. Default is false.","name":"options.options.panel","value":null,"section":false},{"type":{"names":["Boolean"]},"optional":true,"defaultvalue":false,"description":"Specify if widget has to have a counter. Default is false.","name":"options.options.counter","value":null,"section":false}],"examples":["map.addControl(new ol.control.LayerSwitcher(\n [\n {\n layer : wms1,\n config : {\n title : \"test layer name 1\",\n description : \"test layer desc 1\",\n }\n }\n ],\n {\n collapsed : true,\n panel : false,\n counter : false,\n position : \"top-left\"\n }\n));\n\nLayerSwitcher.on(\"layerswitcher:add\", function (e) {\n console.warn(\"layer\", e.layer);\n});\nLayerSwitcher.on(\"layerswitcher:remove\", function (e) {\n console.warn(\"layer\", e.layer);\n});\nLayerSwitcher.on(\"layerswitcher:change:opacity\", function (e) {\n console.warn(\"layer\", e.layer, e.opacity);\n});\nLayerSwitcher.on(\"layerswitcher:change:visibility\", function (e) {\n console.warn(\"layer\", e.layer, e.visibility);\n});"]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"name":"legends","auto":true,"params":[{"type":{"names":["Object"]},"description":"options for function call.","name":"options","value":null,"section":true}],"examples":["var legends = new ol.control.Legends();\nmap.addControl(legends);"]} |
Oops, something went wrong.