Deprecated: Return type of YDataTable::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/bdavid/prod/georef/yamldoc/ydclasses/ydata.inc.php on line 428

Deprecated: Return type of YamlDataTable::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/bdavid/prod/georef/yamldoc/ydclasses/yamldata.inc.php on line 295
ydclasses MarkerLib

MarkerLib - bibliothèque de symboles utilisés pour dessiner des objets géographiques vecteur

Les documents de cette classe doivent respecter le schéma YamlDoc/schema.yaml (json)
La classe est définie dans le fichier markerlib.inc.php

Documentation de la classe

Contient les définitions d'icones pour les cartes Leaflet.
Une bibliothèque correspond à un répertoire de fichier png plus un fichier index.yaml qui contient la description des fichiers png.
La méthode asJavaScript() génère le code Javascript à intégrer en début de code de la carte