Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
140850c
New translations leaflet_messages.properties (Spanish)
lutece-crowdin Jun 21, 2023
3b847f7
New translations leaflet_messages.properties (Czech)
lutece-crowdin Jun 21, 2023
fbc7a79
New translations leaflet_messages.properties (German)
lutece-crowdin Jun 21, 2023
e9ffb6c
New translations leaflet_messages.properties (Finnish)
lutece-crowdin Jun 21, 2023
3efecc1
New translations leaflet_messages.properties (Italian)
lutece-crowdin Jun 21, 2023
4f774d8
New translations leaflet_messages.properties (Dutch)
lutece-crowdin Jun 21, 2023
cb9bcda
New translations leaflet_messages.properties (Portuguese)
lutece-crowdin Jun 21, 2023
736ced0
New translations leaflet_messages.properties (Swedish)
lutece-crowdin Jun 21, 2023
cfa3927
New translations leaflet_messages.properties (English)
lutece-crowdin Jun 21, 2023
4b59520
New translations index.xml (French)
lutece-crowdin Jun 21, 2023
9044970
New translations index.xml (Spanish)
lutece-crowdin Jun 21, 2023
ecd7eb3
New translations index.xml (Czech)
lutece-crowdin Jun 21, 2023
7b31093
New translations index.xml (German)
lutece-crowdin Jun 21, 2023
2b06581
New translations index.xml (Finnish)
lutece-crowdin Jun 21, 2023
ee315f4
New translations index.xml (Italian)
lutece-crowdin Jun 21, 2023
8b1739c
New translations index.xml (Dutch)
lutece-crowdin Jun 21, 2023
ba8fb51
New translations index.xml (Portuguese)
lutece-crowdin Jun 21, 2023
39f30b6
New translations index.xml (Swedish)
lutece-crowdin Jun 21, 2023
44875ba
New translations index.xml (English)
lutece-crowdin Jun 21, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Plugin's keys
plugin.provider=Mairie de Paris
plugin.description=Use leaflet maps

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Plugin's keys
plugin.provider=Mairie de Paris
plugin.description=Use leaflet maps

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Plugin's keys
plugin.provider=Mairie de Paris
plugin.description=Use leaflet maps

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Plugin's keys
plugin.provider=Mairie de Paris
plugin.description=Use leaflet maps

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Plugin's keys
plugin.provider=Mairie de Paris
plugin.description=Use leaflet maps

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Plugin's keys
plugin.provider=Mairie de Paris
plugin.description=Use leaflet maps

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Plugin's keys
plugin.provider=Mairie de Paris
plugin.description=Use leaflet maps

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Plugin's keys
plugin.provider=Mairie de Paris
plugin.description=Use leaflet maps

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Plugin's keys
plugin.provider=Mairie de Paris
plugin.description=Use leaflet maps

36 changes: 36 additions & 0 deletions src/site/cs/xdoc/index.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<document>
<properties>
<title>Plugin leaflet</title>
</properties>
<body>
<section name="Plugin leaflet">
<!--
<p>
<img src="images/leaflet.png" />
</p>
-->
<subsection name="Introduction">
<p>This plugin allows to use leaflet maps: http://leafletjs.com/</p>
</subsection>
<subsection name="Usage">
<p>The plugin provides leaflet's core and leaflet.markercluster files in js/plugins/leaflet/leaflet. It adds a few colored icons in addition to leaflet's default blue icon (red, green, yellow). It also includes the proj4js library and the esri-leaflet plugin.</p>
<p>In it's current form, it doesn't provide any html/javascript scaffolding, only server-side features. The user must integrate the map in a page itself.</p>
</subsection>
<subsection name="Icons">
<p>The main mechanism to use icons is to have a spring bean named "leaflet-icon-provider-XXX" implement the interface fr.paris.lutece.plugins.leaflet.service.IIconProvider. The implementor must return an icon name. The Java code for pages displaying the map can then call fr.paris.lutece.plugins.leaflet.service.IconService.getIcon() to retrieve the icon name from the resource.</p>
<p>fr.paris.lutece.plugins.leaflet.service.IconService.getList() can be used to get a List of available icons, for example to build GUIs for users to choose an icon. To add icons to this list, add an entry in the datastore in the form ('leaflet.icon.icons.ICON_NAME.installed', 'true').</p>
</subsection>
<subsection name="Popups">
<p>The main mechanism to use popups is to have a spring bean named "leaflet-rest-popup-provider-XXX" implement the interface fr.paris.lutece.plugins.leaflet.rest.service.IPopupContentProvider. The implementor must produce html snippets. They will be automatically accessible at the URL rest/leaflet/popup/{XXX}/{docid}/{code} and can be loaded when the user clicks a marker with AJAX.</p>
<p>CORS headers can be enabled with the following properties:
<ul>
<li>leaflet.cors.enabled (default false)</li>
<li>leaflet.cors.origin (default *)</li>
<li>leaflet.cors.methods (default GET, POST, DELETE, PUT)</li>
</ul>
</p>
</subsection>
</section>
</body>
</document>
36 changes: 36 additions & 0 deletions src/site/de/xdoc/index.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<document>
<properties>
<title>Plugin leaflet</title>
</properties>
<body>
<section name="Plugin leaflet">
<!--
<p>
<img src="images/leaflet.png" />
</p>
-->
<subsection name="Introduction">
<p>This plugin allows to use leaflet maps: http://leafletjs.com/</p>
</subsection>
<subsection name="Usage">
<p>The plugin provides leaflet's core and leaflet.markercluster files in js/plugins/leaflet/leaflet. It adds a few colored icons in addition to leaflet's default blue icon (red, green, yellow). It also includes the proj4js library and the esri-leaflet plugin.</p>
<p>In it's current form, it doesn't provide any html/javascript scaffolding, only server-side features. The user must integrate the map in a page itself.</p>
</subsection>
<subsection name="Icons">
<p>The main mechanism to use icons is to have a spring bean named "leaflet-icon-provider-XXX" implement the interface fr.paris.lutece.plugins.leaflet.service.IIconProvider. The implementor must return an icon name. The Java code for pages displaying the map can then call fr.paris.lutece.plugins.leaflet.service.IconService.getIcon() to retrieve the icon name from the resource.</p>
<p>fr.paris.lutece.plugins.leaflet.service.IconService.getList() can be used to get a List of available icons, for example to build GUIs for users to choose an icon. To add icons to this list, add an entry in the datastore in the form ('leaflet.icon.icons.ICON_NAME.installed', 'true').</p>
</subsection>
<subsection name="Popups">
<p>The main mechanism to use popups is to have a spring bean named "leaflet-rest-popup-provider-XXX" implement the interface fr.paris.lutece.plugins.leaflet.rest.service.IPopupContentProvider. The implementor must produce html snippets. They will be automatically accessible at the URL rest/leaflet/popup/{XXX}/{docid}/{code} and can be loaded when the user clicks a marker with AJAX.</p>
<p>CORS headers can be enabled with the following properties:
<ul>
<li>leaflet.cors.enabled (default false)</li>
<li>leaflet.cors.origin (default *)</li>
<li>leaflet.cors.methods (default GET, POST, DELETE, PUT)</li>
</ul>
</p>
</subsection>
</section>
</body>
</document>
36 changes: 36 additions & 0 deletions src/site/en/xdoc/index.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<document>
<properties>
<title>Plugin leaflet</title>
</properties>
<body>
<section name="Plugin leaflet">
<!--
<p>
<img src="images/leaflet.png" />
</p>
-->
<subsection name="Introduction">
<p>This plugin allows to use leaflet maps: http://leafletjs.com/</p>
</subsection>
<subsection name="Usage">
<p>The plugin provides leaflet's core and leaflet.markercluster files in js/plugins/leaflet/leaflet. It adds a few colored icons in addition to leaflet's default blue icon (red, green, yellow). It also includes the proj4js library and the esri-leaflet plugin.</p>
<p>In it's current form, it doesn't provide any html/javascript scaffolding, only server-side features. The user must integrate the map in a page itself.</p>
</subsection>
<subsection name="Icons">
<p>The main mechanism to use icons is to have a spring bean named "leaflet-icon-provider-XXX" implement the interface fr.paris.lutece.plugins.leaflet.service.IIconProvider. The implementor must return an icon name. The Java code for pages displaying the map can then call fr.paris.lutece.plugins.leaflet.service.IconService.getIcon() to retrieve the icon name from the resource.</p>
<p>fr.paris.lutece.plugins.leaflet.service.IconService.getList() can be used to get a List of available icons, for example to build GUIs for users to choose an icon. To add icons to this list, add an entry in the datastore in the form ('leaflet.icon.icons.ICON_NAME.installed', 'true').</p>
</subsection>
<subsection name="Popups">
<p>The main mechanism to use popups is to have a spring bean named "leaflet-rest-popup-provider-XXX" implement the interface fr.paris.lutece.plugins.leaflet.rest.service.IPopupContentProvider. The implementor must produce html snippets. They will be automatically accessible at the URL rest/leaflet/popup/{XXX}/{docid}/{code} and can be loaded when the user clicks a marker with AJAX.</p>
<p>CORS headers can be enabled with the following properties:
<ul>
<li>leaflet.cors.enabled (default false)</li>
<li>leaflet.cors.origin (default *)</li>
<li>leaflet.cors.methods (default GET, POST, DELETE, PUT)</li>
</ul>
</p>
</subsection>
</section>
</body>
</document>
36 changes: 36 additions & 0 deletions src/site/es/xdoc/index.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<document>
<properties>
<title>Plugin leaflet</title>
</properties>
<body>
<section name="Plugin leaflet">
<!--
<p>
<img src="images/leaflet.png" />
</p>
-->
<subsection name="Introduction">
<p>This plugin allows to use leaflet maps: http://leafletjs.com/</p>
</subsection>
<subsection name="Usage">
<p>The plugin provides leaflet's core and leaflet.markercluster files in js/plugins/leaflet/leaflet. It adds a few colored icons in addition to leaflet's default blue icon (red, green, yellow). It also includes the proj4js library and the esri-leaflet plugin.</p>
<p>In it's current form, it doesn't provide any html/javascript scaffolding, only server-side features. The user must integrate the map in a page itself.</p>
</subsection>
<subsection name="Icons">
<p>The main mechanism to use icons is to have a spring bean named "leaflet-icon-provider-XXX" implement the interface fr.paris.lutece.plugins.leaflet.service.IIconProvider. The implementor must return an icon name. The Java code for pages displaying the map can then call fr.paris.lutece.plugins.leaflet.service.IconService.getIcon() to retrieve the icon name from the resource.</p>
<p>fr.paris.lutece.plugins.leaflet.service.IconService.getList() can be used to get a List of available icons, for example to build GUIs for users to choose an icon. To add icons to this list, add an entry in the datastore in the form ('leaflet.icon.icons.ICON_NAME.installed', 'true').</p>
</subsection>
<subsection name="Popups">
<p>The main mechanism to use popups is to have a spring bean named "leaflet-rest-popup-provider-XXX" implement the interface fr.paris.lutece.plugins.leaflet.rest.service.IPopupContentProvider. The implementor must produce html snippets. They will be automatically accessible at the URL rest/leaflet/popup/{XXX}/{docid}/{code} and can be loaded when the user clicks a marker with AJAX.</p>
<p>CORS headers can be enabled with the following properties:
<ul>
<li>leaflet.cors.enabled (default false)</li>
<li>leaflet.cors.origin (default *)</li>
<li>leaflet.cors.methods (default GET, POST, DELETE, PUT)</li>
</ul>
</p>
</subsection>
</section>
</body>
</document>
36 changes: 36 additions & 0 deletions src/site/fi/xdoc/index.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<document>
<properties>
<title>Plugin leaflet</title>
</properties>
<body>
<section name="Plugin leaflet">
<!--
<p>
<img src="images/leaflet.png" />
</p>
-->
<subsection name="Introduction">
<p>This plugin allows to use leaflet maps: http://leafletjs.com/</p>
</subsection>
<subsection name="Usage">
<p>The plugin provides leaflet's core and leaflet.markercluster files in js/plugins/leaflet/leaflet. It adds a few colored icons in addition to leaflet's default blue icon (red, green, yellow). It also includes the proj4js library and the esri-leaflet plugin.</p>
<p>In it's current form, it doesn't provide any html/javascript scaffolding, only server-side features. The user must integrate the map in a page itself.</p>
</subsection>
<subsection name="Icons">
<p>The main mechanism to use icons is to have a spring bean named "leaflet-icon-provider-XXX" implement the interface fr.paris.lutece.plugins.leaflet.service.IIconProvider. The implementor must return an icon name. The Java code for pages displaying the map can then call fr.paris.lutece.plugins.leaflet.service.IconService.getIcon() to retrieve the icon name from the resource.</p>
<p>fr.paris.lutece.plugins.leaflet.service.IconService.getList() can be used to get a List of available icons, for example to build GUIs for users to choose an icon. To add icons to this list, add an entry in the datastore in the form ('leaflet.icon.icons.ICON_NAME.installed', 'true').</p>
</subsection>
<subsection name="Popups">
<p>The main mechanism to use popups is to have a spring bean named "leaflet-rest-popup-provider-XXX" implement the interface fr.paris.lutece.plugins.leaflet.rest.service.IPopupContentProvider. The implementor must produce html snippets. They will be automatically accessible at the URL rest/leaflet/popup/{XXX}/{docid}/{code} and can be loaded when the user clicks a marker with AJAX.</p>
<p>CORS headers can be enabled with the following properties:
<ul>
<li>leaflet.cors.enabled (default false)</li>
<li>leaflet.cors.origin (default *)</li>
<li>leaflet.cors.methods (default GET, POST, DELETE, PUT)</li>
</ul>
</p>
</subsection>
</section>
</body>
</document>
73 changes: 36 additions & 37 deletions src/site/fr/xdoc/index.xml
Original file line number Diff line number Diff line change
@@ -1,37 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<document>
<properties>
<title>Plugin leaflet</title>
</properties>
<body>
<section name="Plugin leaflet">
<!--
<p>
<img src="images/leaflet.png" />
</p>
-->
<subsection name="Introduction">
<p>Ce plugin sert à utiliser des cartes leaflet: http://leafletjs.com/</p>
</subsection>
<subsection name="Utilisation">
<p>Le plugin fournit les fichiers du cœur de leaflet et de leaflet.markerkcluster dans js/plugins/leaflet/leaflet. Il ajoute quelques icônes de couleur (rouge, vert, jaune) en plus de l'icône bleue par défaut de leaflet. Il inclut aussi la bibliothèque proj4js et le plugin esri-leaflet.</p>
<p>Dans sa version actuelle, il n'intervient pas dans l'écriture du HTML/javascript, il fournit seulement des fonctionnalités coté serveur. L'utilisateur doit intégrer la carte dans sa page lui-même.</p>
</subsection>
<subsection name="Icones">
<p>Le mécanisme principal pour choisir des icône est de créer un bean spring "leaflet-icon-provider-XXX" qui implémente l'interface fr.paris.lutece.plugins.leaflet.service.IIconProvider. L'implémentation doit retourner un nom d'icône. Le code java générant la page peut alors appeler la fonction fr.paris.lutece.plugins.leaflet.service.IconService.getIcon() pour obtenir un nom d'icône pour la ressource.</p>
<p>fr.paris.lutece.plugins.leaflet.service.IconService.getList() renvoie la liste des icônes disponibles, ce qui permet de faire des interfaces utilisateur permettant de choisir l'icône. Pour ajouter des icônes à cette liste, il faut insérer une valeur dans le datastore de la forme ('leaflet.icon.icons.ICON_NAME.installed', 'true').</p>
</subsection>
<subsection name="Popups">
<p>Le mécanisme principal pour obtenir des popups est de créer un bean spring "leaflet-rest-popup-provider-XXX" qui implémente l'interface fr.paris.lutece.plugins.leaflet.rest.service.IPopupContentProvider. L'implémentation doit produire des fragment d'html. Ils seront accessibles automatiquement à l'URL rest/leaflet/popup/{XXX}/{docid}/{code} et peuvent être chargés dynamiquement quand l'utilisateur clique sur le marqueur en AJAX.</p>
<p>Les headers CORS peuvent être activés avec les propriétés suivantes:
<ul>
<li>leaflet.cors.enabled (default false)</li>
<li>leaflet.cors.origin (default *)</li>
<li>leaflet.cors.methods (default GET, POST, DELETE, PUT)</li>
</ul>
</p>
</subsection>
</section>
</body>
</document>

<?xml version="1.0" encoding="UTF-8"?>
<document>
<properties>
<title>Plugin leaflet</title>
</properties>
<body>
<section name="Plugin leaflet">
<!--
<p>
<img src="images/leaflet.png" />
</p>
-->
<subsection name="Introduction">
<p>Ce plugin sert à utiliser des cartes leaflet: http://leafletjs.com/</p>
</subsection>
<subsection name="Utilisation">
<p>Le plugin fournit les fichiers du cœur de leaflet et de leaflet.markerkcluster dans js/plugins/leaflet/leaflet. Il ajoute quelques icônes de couleur (rouge, vert, jaune) en plus de l'icône bleue par défaut de leaflet. Il inclut aussi la bibliothèque proj4js et le plugin esri-leaflet.</p>
<p>Dans sa version actuelle, il n'intervient pas dans l'écriture du HTML/javascript, il fournit seulement des fonctionnalités coté serveur. L'utilisateur doit intégrer la carte dans sa page lui-même.</p>
</subsection>
<subsection name="Icones">
<p>Le mécanisme principal pour choisir des icône est de créer un bean spring "leaflet-icon-provider-XXX" qui implémente l'interface fr.paris.lutece.plugins.leaflet.service.IIconProvider. L'implémentation doit retourner un nom d'icône. Le code java générant la page peut alors appeler la fonction fr.paris.lutece.plugins.leaflet.service.IconService.getIcon() pour obtenir un nom d'icône pour la ressource.</p>
<p>fr.paris.lutece.plugins.leaflet.service.IconService.getList() renvoie la liste des icônes disponibles, ce qui permet de faire des interfaces utilisateur permettant de choisir l'icône. Pour ajouter des icônes à cette liste, il faut insérer une valeur dans le datastore de la forme ('leaflet.icon.icons.ICON_NAME.installed', 'true').</p>
</subsection>
<subsection name="Popups">
<p>Le mécanisme principal pour obtenir des popups est de créer un bean spring "leaflet-rest-popup-provider-XXX" qui implémente l'interface fr.paris.lutece.plugins.leaflet.rest.service.IPopupContentProvider. L'implémentation doit produire des fragment d'html. Ils seront accessibles automatiquement à l'URL rest/leaflet/popup/{XXX}/{docid}/{code} et peuvent être chargés dynamiquement quand l'utilisateur clique sur le marqueur en AJAX.</p>
<p>Les headers CORS peuvent être activés avec les propriétés suivantes:
<ul>
<li>leaflet.cors.enabled (default false)</li>
<li>leaflet.cors.origin (default *)</li>
<li>leaflet.cors.methods (default GET, POST, DELETE, PUT)</li>
</ul>
</p>
</subsection>
</section>
</body>
</document>
Loading