Plugin maps

Version: Not specified

Features detail

maps/service.maps.map

Use shared configuration parameters:
runtime.google-api-key

Components:

org.ametys.plugins.maps.MapServiceHelper

Associated java class:
org.ametys.plugins.maps.MapServiceHelper

Configuration:

<component class="org.ametys.plugins.maps.MapServiceHelper" id="org.ametys.plugins.maps.MapServiceHelper" role="org.ametys.plugins.maps.MapServiceHelper"/>

Extensions:

org.ametys.plugins.maps.services.rights

Extension point extended:
org.ametys.core.right.RightsExtensionPoint

Configuration:

<extension point="org.ametys.core.right.RightsExtensionPoint" id="org.ametys.plugins.maps.services.rights">
<right id="Maps_Right_Service_Maps">
<label i18n="true">PLUGINS_MAPS_RIGHT_SERVICE_LABEL</label>
<description i18n="true">PLUGINS_MAPS_RIGHT_SERVICE_DESCRIPTION</description>
<category i18n="true">plugin.web:PLUGINS_WEB_RIGHTS_SERVICE_CREATE_CATEGORY</category>
</right>
</extension>

org.ametys.plugins.maps.services.Maps

Associated java class:
org.ametys.web.service.StaticService

Extension point extended:
org.ametys.web.service.ServiceExtensionPoint

Configuration:

<extension point="org.ametys.web.service.ServiceExtensionPoint" class="org.ametys.web.service.StaticService" id="org.ametys.plugins.maps.services.Maps">
<url>service/maps/maps.html</url>
<cacheable>true</cacheable>
<right>Maps_Right_Service_Maps</right>
<label i18n="true">PLUGINS_MAPS_SERVICE_LABEL</label>
<description i18n="true">PLUGINS_MAPS_SERVICE_DESCRIPTION</description>
<thumbnail>
<glyph>ametysicon-map32</glyph>
<small>img/maps_16.png</small>
<medium>img/maps_32.png</medium>
<large>img/maps_48.png</large>
</thumbnail>
<parameters>
<action class="Ametys.plugins.maps.MapServiceActions.open"/>
<parameter name="title" type="string">
<label i18n="true">PLUGINS_MAPS_SERVICE_TITLE</label>
<description i18n="true">PLUGINS_MAPS_SERVICE_TITLE_DESC</description>
</parameter>
<parameter name="height" type="long">
<label i18n="true">PLUGINS_MAPS_SERVICE_MAP_HEIGHT</label>
<description i18n="true">PLUGINS_MAPS_SERVICE_MAP_HEIGHT_DESC</description>
<validation>
<mandatory/>
</validation>
<default-value>400</default-value>
</parameter>
<scripts>
<file>js/Ametys/plugins/maps/MapServiceActions.js</file>
<file>js/Ametys/plugins/maps/EditShapeDialog.js</file>
<file>js/Ametys/plugins/maps/GMapConfiguration.js</file>
<file>js/Ametys/plugins/maps/GMapConfiguration/GMapElement.js</file>
<file>js/Ametys/plugins/maps/MapItemsView.js</file>
<file>js/Ametys/plugins/maps/GMapPanel.js</file>
<file>js/Ametys/plugins/maps/MarkerIconsDialog.js</file>
<file>js/Ametys/plugins/maps/MarkerIconsDialog/MarkerIcon.js</file>
<file>js/Ametys/plugins/maps/EditMarkerDialog.js</file>
</scripts>
<css>
<file>css/maps_service_config.css</file>
</css>
<depends>
<org.ametys.core.ui.MessageTargetFactoriesManager>page</org.ametys.core.ui.MessageTargetFactoriesManager>
<org.ametys.core.ui.StaticFileImportsManager>org.ametys.web.page.page</org.ametys.core.ui.StaticFileImportsManager>
<org.ametys.core.ui.StaticFileImportsManager>org.ametys.runtime.helpers</org.ametys.core.ui.StaticFileImportsManager>
</depends>
</parameters>
<indexation>
<parameter>title</parameter>
</indexation>
<css>
<file plugin="core-ui">font/ametys/AmetysIcon.css</file>
</css>
</extension>

maps/maps.service.cache.policy

Extensions:

org.ametys.plugins.maps.services.MapsCachePolicy

Associated java class:
org.ametys.web.cache.service.IsolatedServiceCachePolicy

Extension point extended:
org.ametys.web.cache.pageelement.PageElementCachePolicyExtensionPoint/zoneItem

Configuration:

<extension point="org.ametys.web.cache.pageelement.PageElementCachePolicyExtensionPoint/zoneItem" id="org.ametys.plugins.maps.services.MapsCachePolicy" class="org.ametys.web.cache.service.IsolatedServiceCachePolicy">
<service id="org.ametys.plugins.maps.services.Maps"/>
</extension>