- Source:
- style/EcoStyle.js
Members
-
<static> Default
-
Default style
- Source:
- style/EcoStyle.js
Methods
-
<static> batiment(symbol)
-
Affichage de la couche batiment
Parameters:
Name Type Description symbol
Object (affiche un symbole Fontawesome), color (couleur du symbol)
- Source:
- style/EcoStyle.js
-
<static> combine(style)
-
Combinaison de style
Parameters:
Name Type Description style
ol.style.StyleFunction | Array.<ol.style.StyleFunction> - Source:
- style/EcoStyle.js
-
<static> detruit()
-
Objets detruits
- Source:
- style/EcoStyle.js
-
<static> Fill(fstyle)
-
Get fill style from featureType.style
Parameters:
Name Type Description fstyle
featureType.style | undefined - Source:
- style/EcoStyle.js
Returns:
ol.style.Fill
-
<static> formatFeatureStyle(fstyle, feature)
-
Format Style with pattern ${attr}
Parameters:
Name Type Description fstyle
style feature
ol.Feature width properties
- Source:
- style/EcoStyle.js
-
<static> formatProperties(pattern, feature)
-
Format string with pattern ${attr}
Parameters:
Name Type Description pattern
String feature
ol.Feature width properties
- Source:
- style/EcoStyle.js
-
<static> getFeatureStyleFn(featureType)
-
Get ol.style.function as defined in featureType
Parameters:
Name Type Description featureType
featureType - Source:
- style/EcoStyle.js
Returns:
- Type
- ol.style.function | undefined
-
<static> getSymbolURI(featureType, name, width, height)
-
Get image uri and save to cache if not allready done
Parameters:
Name Type Description featureType
Object name
string image name
width
number height
number - Source:
- style/EcoStyle.js
-
<static> sens(attribute)
-
Affichage du sens de parcours
Parameters:
Name Type Description attribute
Object (attribut a tester), glyph (lettre), size, direct (valeur), inverse (valeur)
- Source:
- style/EcoStyle.js
-
<static> setImage(olStyle)
-
Get Image style from featureType.style
Parameters:
Name Type Description olStyle
featureType.style | undefined - Source:
- style/EcoStyle.js
Returns:
ol.style.Image
-
<static> Stroke(fstyle)
-
Get stroke style from featureType.style
Parameters:
Name Type Description fstyle
featureType.style | Object | undefined - Source:
- style/EcoStyle.js
Returns:
ol.style.Stroke
-
<static> StrokeLineDash(style)
-
Get stroke LineDash style from featureType.style
Parameters:
Name Type Description style
style - Source:
- style/EcoStyle.js
Returns:
Array
-
<static> Text(fstyle)
-
Get Text style from featureType.style
Parameters:
Name Type Description fstyle
featureType.style | undefined - Source:
- style/EcoStyle.js
Returns:
ol.style.Text
-
<static> toponyme(attribute)
-
Affichage D'un toponyme
Parameters:
Name Type Description attribute
Object (attribut a afficher), weight, size, minResolution, maxResolution
- Source:
- style/EcoStyle.js
-
<static> troncon_de_route()
-
Style des troncon de route DBUni
- Source:
- style/EcoStyle.js
-
<static> vivant()
-
Objets vivants
- Source:
- style/EcoStyle.js
-
<static> zombie()
-
Objets mort-vivant
- Source:
- style/EcoStyle.js