initial commit
This commit is contained in:
427
Configuration/FlexForms/flexform_map.xml
Executable file
427
Configuration/FlexForms/flexform_map.xml
Executable file
@ -0,0 +1,427 @@
|
||||
<T3DataStructure>
|
||||
<sheets>
|
||||
<sDEF>
|
||||
<ROOT>
|
||||
<TCEforms>
|
||||
<sheetTitle>Function</sheetTitle>
|
||||
</TCEforms>
|
||||
<type>array</type>
|
||||
<el>
|
||||
<settings.markers>
|
||||
<label>LLL:EXT:a2g_maps/Resources/Private/Language/backend.xlf:flexform_map.markers</label>
|
||||
<config>
|
||||
<type>group</type>
|
||||
<allowed>tx_a2gmaps_domain_model_mapentry</allowed>
|
||||
<fieldControl>
|
||||
<editPopup>
|
||||
<disabled>false</disabled>
|
||||
</editPopup>
|
||||
<addRecord>
|
||||
<disabled>false</disabled>
|
||||
</addRecord>
|
||||
<listModule>
|
||||
<disabled>false</disabled>
|
||||
</listModule>
|
||||
</fieldControl>
|
||||
</config>
|
||||
</settings.markers>
|
||||
|
||||
<settings.layers>
|
||||
<label>LLL:EXT:a2g_maps/Resources/Private/Language/backend.xlf:flexform_map.selectable_layers</label>
|
||||
<description>LLL:EXT:a2g_maps/Resources/Private/Language/backend.xlf:flexform_map.selectable_layers_description</description>
|
||||
<config>
|
||||
<type>select</type>
|
||||
<renderType>selectMultipleSideBySide</renderType>
|
||||
<items type="array">
|
||||
<numIndex index="0" type="array">
|
||||
<numIndex index="0">osm</numIndex>
|
||||
<numIndex index="1">1</numIndex>
|
||||
</numIndex>
|
||||
<numIndex index="1" type="array">
|
||||
<numIndex index="0">stamen terrain</numIndex>
|
||||
<numIndex index="1">10</numIndex>
|
||||
</numIndex>
|
||||
<numIndex index="2" type="array">
|
||||
<numIndex index="0">stamen watercolor</numIndex>
|
||||
<numIndex index="1">11</numIndex>
|
||||
</numIndex>
|
||||
<numIndex index="3" type="array">
|
||||
<numIndex index="0">stamen toner</numIndex>
|
||||
<numIndex index="1">12</numIndex>
|
||||
</numIndex>
|
||||
<!-- <numIndex index="4" type="array">
|
||||
<numIndex index="0">thunderfores openCycleMap</numIndex>
|
||||
<numIndex index="1">100</numIndex>
|
||||
</numIndex>
|
||||
<numIndex index="5" type="array">
|
||||
<numIndex index="0">thunderfores transport</numIndex>
|
||||
<numIndex index="1">101</numIndex>
|
||||
</numIndex>
|
||||
<numIndex index="6" type="array">
|
||||
<numIndex index="0">thunderfores landscape</numIndex>
|
||||
<numIndex index="1">102</numIndex>
|
||||
</numIndex>
|
||||
<numIndex index="7" type="array">
|
||||
<numIndex index="0">thunderfores outdoors</numIndex>
|
||||
<numIndex index="1">103</numIndex>
|
||||
</numIndex>
|
||||
<numIndex index="8" type="array">
|
||||
<numIndex index="0">thunderfores atlas</numIndex>
|
||||
<numIndex index="1">104</numIndex>
|
||||
</numIndex>
|
||||
<numIndex index="9" type="array">
|
||||
<numIndex index="0">thunderfores transport-dark</numIndex>
|
||||
<numIndex index="1">105</numIndex>
|
||||
</numIndex>
|
||||
<numIndex index="10" type="array">
|
||||
<numIndex index="0">thunderfores spinal-map</numIndex>
|
||||
<numIndex index="1">106</numIndex>
|
||||
</numIndex>
|
||||
<numIndex index="11" type="array">
|
||||
<numIndex index="0">thunderfores pioneer</numIndex>
|
||||
<numIndex index="1">107</numIndex>
|
||||
</numIndex>
|
||||
<numIndex index="12" type="array">
|
||||
<numIndex index="0">thunderfores neighbourhout</numIndex>
|
||||
<numIndex index="1">108</numIndex>
|
||||
</numIndex>
|
||||
<numIndex index="13" type="array">
|
||||
<numIndex index="0">thunderfores mobile-atlas</numIndex>
|
||||
<numIndex index="1">109</numIndex>
|
||||
</numIndex>
|
||||
<numIndex index="14" type="array">
|
||||
<numIndex index="0">maptiler basic</numIndex>
|
||||
<numIndex index="1">200</numIndex>
|
||||
</numIndex>
|
||||
<numIndex index="15" type="array">
|
||||
<numIndex index="0">maptiler basic (EPSG:4326)</numIndex>
|
||||
<numIndex index="1">201</numIndex>
|
||||
</numIndex>
|
||||
<numIndex index="16" type="array">
|
||||
<numIndex index="0">maptiler bright</numIndex>
|
||||
<numIndex index="1">202</numIndex>
|
||||
</numIndex>
|
||||
<numIndex index="17" type="array">
|
||||
<numIndex index="0">maptiler openstreetmap</numIndex>
|
||||
<numIndex index="1">203</numIndex>
|
||||
</numIndex>
|
||||
<numIndex index="18" type="array">
|
||||
<numIndex index="0">maptiler outdoor</numIndex>
|
||||
<numIndex index="1">204</numIndex>
|
||||
</numIndex>
|
||||
<numIndex index="19" type="array">
|
||||
<numIndex index="0">maptiler pastel</numIndex>
|
||||
<numIndex index="1">205</numIndex>
|
||||
</numIndex>
|
||||
<numIndex index="20" type="array">
|
||||
<numIndex index="0">maptiler satelit hybrid</numIndex>
|
||||
<numIndex index="1">206</numIndex>
|
||||
</numIndex>
|
||||
<numIndex index="21" type="array">
|
||||
<numIndex index="0">maptiler streets</numIndex>
|
||||
<numIndex index="1">207</numIndex>
|
||||
</numIndex>
|
||||
<numIndex index="22" type="array">
|
||||
<numIndex index="0">maptiler toner</numIndex>
|
||||
<numIndex index="1">208</numIndex>
|
||||
</numIndex>
|
||||
<numIndex index="23" type="array">
|
||||
<numIndex index="0">maptiler topo</numIndex>
|
||||
<numIndex index="1">209</numIndex>
|
||||
</numIndex>
|
||||
<numIndex index="24" type="array">
|
||||
<numIndex index="0">maptiler topographique</numIndex>
|
||||
<numIndex index="1">210</numIndex>
|
||||
</numIndex>
|
||||
<numIndex index="25" type="array">
|
||||
<numIndex index="0">maptiler voyager</numIndex>
|
||||
<numIndex index="1">211</numIndex>
|
||||
</numIndex>
|
||||
<numIndex index="26" type="array">
|
||||
<numIndex index="0">maptiler winter</numIndex>
|
||||
<numIndex index="1">212</numIndex>
|
||||
</numIndex> -->
|
||||
</items>
|
||||
<minitems>1</minitems>
|
||||
</config>
|
||||
</settings.layers>
|
||||
|
||||
<settings.controllsPositions>
|
||||
<label>LLL:EXT:a2g_maps/Resources/Private/Language/backend.xlf:flexform_map.position_from_map_controll_stuff</label>
|
||||
<config>
|
||||
<type>select</type>
|
||||
<renderType>selectSingle</renderType>
|
||||
<items type="array">
|
||||
<numIndex index="0" type="array">
|
||||
<numIndex index="0">LLL:EXT:a2g_maps/Resources/Private/Language/backend.xlf:flexform_map.hide</numIndex>
|
||||
<numIndex index="1">0</numIndex>
|
||||
</numIndex>
|
||||
<numIndex index="1" type="array">
|
||||
<numIndex index="0">LLL:EXT:a2g_maps/Resources/Private/Language/backend.xlf:flexform_map.top</numIndex>
|
||||
<numIndex index="1">1</numIndex>
|
||||
</numIndex>
|
||||
<numIndex index="2" type="array">
|
||||
<numIndex index="0">LLL:EXT:a2g_maps/Resources/Private/Language/backend.xlf:flexform_map.bottom</numIndex>
|
||||
<numIndex index="1">2</numIndex>
|
||||
</numIndex>
|
||||
<numIndex index="3" type="array">
|
||||
<numIndex index="0">LLL:EXT:a2g_maps/Resources/Private/Language/backend.xlf:flexform_map.both</numIndex>
|
||||
<numIndex index="1">3</numIndex>
|
||||
</numIndex>
|
||||
</items>
|
||||
</config>
|
||||
</settings.controllsPositions>
|
||||
|
||||
<settings.showMarkerList>
|
||||
<label>LLL:EXT:a2g_maps/Resources/Private/Language/backend.xlf:flexform_map.show_marker_list</label>
|
||||
<config>
|
||||
<type>check</type>
|
||||
<items type="array">
|
||||
<numIndex index="0" type="array">
|
||||
<numIndex index="0">LLL:EXT:a2g_maps/Resources/Private/Language/backend.xlf:flexform_map.yes</numIndex>
|
||||
<numIndex index="1">1</numIndex>
|
||||
</numIndex>
|
||||
</items>
|
||||
</config>
|
||||
<onChange>reload</onChange>
|
||||
</settings.showMarkerList>
|
||||
<settings.markerListOrderBy>
|
||||
<label>LLL:EXT:a2g_maps/Resources/Private/Language/backend.xlf:flexform_map.order_marker_list_by</label>
|
||||
<config>
|
||||
<type>select</type>
|
||||
<renderType>selectMultipleSideBySide</renderType>
|
||||
<items type="array">
|
||||
<numIndex index="0" type="array">
|
||||
<numIndex index="0">LLL:EXT:a2g_maps/Resources/Private/Language/backend.xlf:flexform_map.none</numIndex>
|
||||
<numIndex index="1"></numIndex>
|
||||
</numIndex>
|
||||
<numIndex index="1" type="array">
|
||||
<numIndex index="0">LLL:EXT:a2g_maps/Resources/Private/Language/backend.xlf:flexform_map.region_state</numIndex>
|
||||
<numIndex index="1">region</numIndex>
|
||||
</numIndex>
|
||||
</items>
|
||||
</config>
|
||||
<displayCond>FIELD:settings.showMarkerList:=:1</displayCond>
|
||||
</settings.markerListOrderBy>
|
||||
|
||||
<settings.useLayerSwitcher>
|
||||
<label>LLL:EXT:a2g_maps/Resources/Private/Language/backend.xlf:flexform_map.use_layer_switcher</label>
|
||||
<config>
|
||||
<type>check</type>
|
||||
<items type="array">
|
||||
<numIndex index="0" type="array">
|
||||
<numIndex index="0">LLL:EXT:a2g_maps/Resources/Private/Language/backend.xlf:flexform_map.yes</numIndex>
|
||||
<numIndex index="1">1</numIndex>
|
||||
</numIndex>
|
||||
</items>
|
||||
</config>
|
||||
<onChange>reload</onChange>
|
||||
</settings.useLayerSwitcher>
|
||||
<settings.layerSwitcherValue>
|
||||
<label>LLL:EXT:a2g_maps/Resources/Private/Language/backend.xlf:flexform_map.layer_switcher_init_value</label>
|
||||
<config>
|
||||
<type>input</type>
|
||||
<eval>trim,int</eval>
|
||||
<size>3</size>
|
||||
</config>
|
||||
<displayCond>FIELD:settings.useLayerSwitcher:=:1</displayCond>
|
||||
</settings.layerSwitcherValue>
|
||||
|
||||
<settings.zoom>
|
||||
<label>LLL:EXT:a2g_maps/Resources/Private/Language/backend.xlf:flexform_map.map_zoom</label>
|
||||
<config>
|
||||
<type>input</type>
|
||||
<eval>trim,int</eval>
|
||||
<size>2</size>
|
||||
<range type="array">
|
||||
<lower>1</lower>
|
||||
<upper>18</upper>
|
||||
</range>
|
||||
<default>2</default>
|
||||
<slider>
|
||||
<step>1</step>
|
||||
<width>200</width>
|
||||
</slider>
|
||||
</config>
|
||||
</settings.zoom>
|
||||
<settings.maxZoom>
|
||||
<label>LLL:EXT:a2g_maps/Resources/Private/Language/backend.xlf:flexform_map.map_max_zoom</label>
|
||||
<config>
|
||||
<type>input</type>
|
||||
<eval>trim,int</eval>
|
||||
<size>2</size>
|
||||
<range type="array">
|
||||
<lower>1</lower>
|
||||
<upper>18</upper>
|
||||
</range>
|
||||
<default>18</default>
|
||||
<slider>
|
||||
<step>1</step>
|
||||
<width>200</width>
|
||||
</slider>
|
||||
</config>
|
||||
</settings.maxZoom>
|
||||
|
||||
<settings.centerLat>
|
||||
<label>LLL:EXT:a2g_maps/Resources/Private/Language/backend.xlf:flexform_map.center_lat</label>
|
||||
<config>
|
||||
<type>input</type>
|
||||
<eval>trim,float</eval>
|
||||
<size>11</size>
|
||||
<default>0</default>
|
||||
<range type="array">
|
||||
<lower>-90</lower>
|
||||
<upper>90</upper>
|
||||
</range>
|
||||
</config>
|
||||
</settings.centerLat>
|
||||
<settings.centerLon>
|
||||
<label>LLL:EXT:a2g_maps/Resources/Private/Language/backend.xlf:flexform_map.center_lon</label>
|
||||
<config>
|
||||
<type>input</type>
|
||||
<eval>trim,float</eval>
|
||||
<size>11</size>
|
||||
<default>0</default>
|
||||
<range type="array">
|
||||
<lower>-90</lower>
|
||||
<upper>90</upper>
|
||||
</range>
|
||||
</config>
|
||||
</settings.centerLon>
|
||||
<settings.showLayerSelect>
|
||||
<label>LLL:EXT:a2g_maps/Resources/Private/Language/backend.xlf:flexform_map.show_layer_select</label>
|
||||
<config>
|
||||
<type>check</type>
|
||||
<items type="array">
|
||||
<numIndex index="0" type="array">
|
||||
<numIndex index="0">LLL:EXT:a2g_maps/Resources/Private/Language/backend.xlf:flexform_map.yes</numIndex>
|
||||
<numIndex index="1">1</numIndex>
|
||||
</numIndex>
|
||||
</items>
|
||||
</config>
|
||||
</settings.showLayerSelect>
|
||||
<settings.showMyPositionButton>
|
||||
<label>LLL:EXT:a2g_maps/Resources/Private/Language/backend.xlf:flexform_map.show_my_position_btn</label>
|
||||
<config>
|
||||
<type>check</type>
|
||||
<items type="array">
|
||||
<numIndex index="0" type="array">
|
||||
<numIndex index="0">LLL:EXT:a2g_maps/Resources/Private/Language/backend.xlf:flexform_map.yes</numIndex>
|
||||
<numIndex index="1">1</numIndex>
|
||||
</numIndex>
|
||||
</items>
|
||||
</config>
|
||||
</settings.showMyPositionButton>
|
||||
<settings.showRemoveMarkerButton>
|
||||
<label>LLL:EXT:a2g_maps/Resources/Private/Language/backend.xlf:flexform_map.show_remove_marker_btn</label>
|
||||
<config>
|
||||
<type>check</type>
|
||||
<items type="array">
|
||||
<numIndex index="0" type="array">
|
||||
<numIndex index="0">LLL:EXT:a2g_maps/Resources/Private/Language/backend.xlf:flexform_map.yes</numIndex>
|
||||
<numIndex index="1">1</numIndex>
|
||||
</numIndex>
|
||||
</items>
|
||||
</config>
|
||||
</settings.showRemoveMarkerButton>
|
||||
<settings.useFullscreenButton>
|
||||
<label>LLL:EXT:a2g_maps/Resources/Private/Language/backend.xlf:flexform_map.show_fullscreen_btn</label>
|
||||
<config>
|
||||
<type>check</type>
|
||||
<items type="array">
|
||||
<numIndex index="0" type="array">
|
||||
<numIndex index="0">LLL:EXT:a2g_maps/Resources/Private/Language/backend.xlf:flexform_map.yes</numIndex>
|
||||
<numIndex index="1">1</numIndex>
|
||||
</numIndex>
|
||||
</items>
|
||||
</config>
|
||||
</settings.useFullscreenButton>
|
||||
<settings.useZoomSlider>
|
||||
<label>LLL:EXT:a2g_maps/Resources/Private/Language/backend.xlf:flexform_map.show_zoom_slider</label>
|
||||
<config>
|
||||
<type>check</type>
|
||||
<items type="array">
|
||||
<numIndex index="0" type="array">
|
||||
<numIndex index="0">LLL:EXT:a2g_maps/Resources/Private/Language/backend.xlf:flexform_map.yes</numIndex>
|
||||
<numIndex index="1">1</numIndex>
|
||||
</numIndex>
|
||||
</items>
|
||||
</config>
|
||||
</settings.useZoomSlider>
|
||||
|
||||
<settings.gpxData>
|
||||
<label>LLL:EXT:a2g_maps/Resources/Private/Language/backend.xlf:flexform_map.gpx_data</label>
|
||||
<config>
|
||||
<type>inline</type>
|
||||
<maxitems>1</maxitems>
|
||||
<foreign_table>sys_file_reference</foreign_table>
|
||||
<foreign_table_field>tablenames</foreign_table_field>
|
||||
<foreign_label>uid_local</foreign_label>
|
||||
<foreign_sortby>sorting_foreign</foreign_sortby>
|
||||
<foreign_field>uid_foreign</foreign_field>
|
||||
<foreign_selector>uid_local</foreign_selector>
|
||||
<foreign_selector_fieldTcaOverride>
|
||||
<config>
|
||||
<appearance>
|
||||
<elementBrowserType>file</elementBrowserType>
|
||||
<elementBrowserAllowed>gpx</elementBrowserAllowed>
|
||||
</appearance>
|
||||
</config>
|
||||
</foreign_selector_fieldTcaOverride>
|
||||
<foreign_types type="array">
|
||||
<numIndex index="0">
|
||||
<showitem>--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,--palette--;;filePalette</showitem>
|
||||
</numIndex>
|
||||
<numIndex index="2">
|
||||
<showitem>--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,--palette--;;filePalette</showitem>
|
||||
</numIndex>
|
||||
</foreign_types>
|
||||
<foreign_match_fields>
|
||||
<fieldname>image</fieldname> <!-- CAUTION!! Replace "fal" with the variable name of this field! -->
|
||||
</foreign_match_fields>
|
||||
<appearance type="array">
|
||||
<newRecordLinkAddTitle>1</newRecordLinkAddTitle>
|
||||
<headerThumbnail>
|
||||
<field>uid_local</field>
|
||||
<height>64</height>
|
||||
<width>64</width>
|
||||
</headerThumbnail>
|
||||
<enabledControls>
|
||||
<info>1</info>
|
||||
<new>0</new>
|
||||
<dragdrop>0</dragdrop>
|
||||
<sort>1</sort>
|
||||
<hide>0</hide>
|
||||
<delete>1</delete>
|
||||
<localize>1</localize>
|
||||
</enabledControls>
|
||||
<createNewRelationLinkTitle>LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:images.addFileReference</createNewRelationLinkTitle>
|
||||
</appearance>
|
||||
<behaviour>
|
||||
<localizationMode>select</localizationMode>
|
||||
<localizeChildrenAtParentLocalization>1</localizeChildrenAtParentLocalization>
|
||||
</behaviour>
|
||||
<overrideChildTca>
|
||||
<columns type="array">
|
||||
<uid_local type="array">
|
||||
<config type="array">
|
||||
<appearance type="array">
|
||||
<elementBrowserType>file</elementBrowserType>
|
||||
<elementBrowserAllowed>gpx</elementBrowserAllowed>
|
||||
</appearance>
|
||||
</config>
|
||||
</uid_local>
|
||||
</columns>
|
||||
<types type="array">
|
||||
<numIndex index="2">
|
||||
<showitem>--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,--palette--;;filePalette</showitem>
|
||||
</numIndex>
|
||||
</types>
|
||||
</overrideChildTca>
|
||||
</config>
|
||||
</settings.gpxData>
|
||||
</el>
|
||||
</ROOT>
|
||||
</sDEF>
|
||||
</sheets>
|
||||
</T3DataStructure>
|
Reference in New Issue
Block a user