Commit e6a37612 authored by Vincent Dubois's avatar Vincent Dubois

Mise à jour de la doc

parent fadf94c4
......@@ -1266,7 +1266,6 @@ class Geocropping {
} else {
style.weight = 3;
}*/
console.log(feature.properties.id, feature.properties.tags, style);
return style;
}
this._geoJSONLayers = L.geoJSON(null, {
......@@ -2015,6 +2014,12 @@ class Geocropping {
}*/
/**
* Rechercher les données et les affichers
*
* @param pos Position de recherche
* @memberof Geocropping
*/
_searchData(pos: L.LatLng){
if(this._app_display_far){
this._searchDataFar(pos);
......@@ -2023,6 +2028,14 @@ class Geocropping {
}
}
/**
*
* Type d'éléments a afficher sur la vue global
*
* @param {string} type
* @returns
* @memberof Geocropping
*/
setDisplayModeFar(type:string){
this._resetStyleFar();
let options = $.extend({},this._app_heatLayer_options);
......@@ -2048,6 +2061,13 @@ class Geocropping {
return true;
}
/**
*
* Récupérer le gradiant de l'affichage large (_heatLayerFar)
*
* @returns
* @memberof Geocropping
*/
_getGradientFar(){
let styles = [
this._style_alert_far,
......@@ -2065,6 +2085,11 @@ class Geocropping {
return gradient;
}
/**
*
*
* @memberof Geocropping
*/
_resetStyleFar(){
this._style_alert_far.display = false;
this._style_invalid_far.display = false;
......@@ -2103,9 +2128,9 @@ class Geocropping {
}
/**
* Mettre a jour les données des éléments affichés
*
* ettre a jour les données des éléments affichés
*
* @param {any} [data] Données OSM
* @memberof Geocropping
*/
_updateElementsDisplayedFar(data?) {
......
No preview for this file type
......@@ -666,7 +666,6 @@ var Geocropping = (function () {
style = $.extend({}, _this["_style_ok" + isFar]);
}
}
console.log(feature.properties.id, feature.properties.tags, style);
return style;
};
this._geoJSONLayers = L.geoJSON(null, {
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment