24
I Use This!
Activity Not Available

News

Analyzed 4 months ago. based on code collected about 1 year ago.
Posted almost 9 years ago by Armin Retterath
SQL: ← Older revision Revision as of 12:43, 24 June 2015 Line 47: Line 47: INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES('gui1', 'showCoords_div', 'css_coords_div' ... [More] , '../css/coordsdiv.css', '' ,'file/css'); INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES('gui1', 'showCoords_div', 'css_coords_div', '../css/coordsdiv.css', '' ,'file/css'); </textarea></html> </textarea></html>  +It is also possible to show Mapcodes for the click position. To allow this following SQLs are needed (one for the GUI, one other for the javascript integration):  +<html><textarea rows=4>  +INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES('<app_id>', 'showCoords_div', 'useMapcode', 'true', '' ,'var');  +  +UPDATE gui_element SET e_mb_mod = '../extensions/mapcode-js-master/mapcode.js,../extensions/mapcode-js-master/ndata.js,../extensions/mapcode-js-master/ctrynams.js' WHERE e_id IN ('showCoords_div');  +</textarea></html>  +  + [[Category:Modules]] [[Category:Modules]] [[Category:Modules for map GUIs]] [[Category:Modules for map GUIs]] [[Category:Controls]] [[Category:Controls]] [Less]
Posted almost 9 years ago by Armin Retterath
SQL: ← Older revision Revision as of 12:43, 24 June 2015 Line 47: Line 47: INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES('gui1', 'showCoords_div', 'css_coords_div' ... [More] , '../css/coordsdiv.css', '' ,'file/css'); INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES('gui1', 'showCoords_div', 'css_coords_div', '../css/coordsdiv.css', '' ,'file/css'); </textarea></html> </textarea></html>  +It is also possible to show Mapcodes for the click position. To allow this following SQLs are needed (one for the GUI, one other for the javascript integration):  +<html><textarea rows=4>  +INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES('<app_id>', 'showCoords_div', 'useMapcode', 'true', '' ,'var');  +  +UPDATE gui_element SET e_mb_mod = '../extensions/mapcode-js-master/mapcode.js,../extensions/mapcode-js-master/ndata.js,../extensions/mapcode-js-master/ctrynams.js' WHERE e_id IN ('showCoords_div');  +</textarea></html>  +  + [[Category:Modules]] [[Category:Modules]] [[Category:Modules for map GUIs]] [[Category:Modules for map GUIs]] [[Category:Controls]] [[Category:Controls]] [Less]
Posted almost 9 years ago by Armin Retterath
Option to use Mapcode: ← Older revision Revision as of 12:38, 24 June 2015 (One intermediate revision not shown)Line 6: Line 6: === user story === === user story === The user enters a coordinate tuple and selects the ... [More] corresponding SRS from a select box. After submitting this form, Mapbender transforms the coordinate tuple to the current SRS and zooms to the location. The user enters a coordinate tuple and selects the corresponding SRS from a select box. After submitting this form, Mapbender transforms the coordinate tuple to the current SRS and zooms to the location.  +  +==== Option to use Mapcode ====  +Since 2015 (mb2.8_trunk) it is possible to use also mapcodes for zooming to a position.  +It can be activated by setting a new element_var:  +<pre>  +INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES('<app_id>', 'coordsLookup', 'useMapcode', 'true', '' ,'var');  +</pre>  +  +To allow the computing some javascripts have to referenced by the module :  +<pre>  +UPDATE gui_element SET e_mb_mod = '../extensions/mapcode-js-master/mapcode.js,../extensions/mapcode-js-master/ndata.js,../extensions/mapcode-js-master/ctrynams.js' WHERE e_id IN ('showCoords_div');  +</pre> === usage === === usage === [Less]
Posted almost 9 years ago by Armin Retterath
Option to use Mapcode: ← Older revision Revision as of 12:38, 24 June 2015 (One intermediate revision not shown)Line 6: Line 6: === user story === === user story === The user enters a coordinate tuple and selects the ... [More] corresponding SRS from a select box. After submitting this form, Mapbender transforms the coordinate tuple to the current SRS and zooms to the location. The user enters a coordinate tuple and selects the corresponding SRS from a select box. After submitting this form, Mapbender transforms the coordinate tuple to the current SRS and zooms to the location.  +  +==== Option to use Mapcode ====  +Since 2015 (mb2.8_trunk) it is possible to use also mapcodes for zooming to a position.  +It can be activated by setting a new element_var:  +<pre>  +INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES('<app_id>', 'coordsLookup', 'useMapcode', 'true', '' ,'var');  +</pre>  +  +To allow the computing some javascripts have to referenced by the module :  +<pre>  +UPDATE gui_element SET e_mb_mod = '../extensions/mapcode-js-master/mapcode.js,../extensions/mapcode-js-master/ndata.js,../extensions/mapcode-js-master/ctrynams.js' WHERE e_id IN ('showCoords_div');  +</pre> === usage === === usage === [Less]
Posted almost 9 years ago by Armin Retterath
Option to use Mapcode: ← Older revision Revision as of 12:38, 24 June 2015 (One intermediate revision not shown)Line 6: Line 6: === user story === === user story === The user enters a coordinate tuple and selects the ... [More] corresponding SRS from a select box. After submitting this form, Mapbender transforms the coordinate tuple to the current SRS and zooms to the location. The user enters a coordinate tuple and selects the corresponding SRS from a select box. After submitting this form, Mapbender transforms the coordinate tuple to the current SRS and zooms to the location.  +  +==== Option to use Mapcode ====  +Since 2015 (mb2.8_trunk) it is possible to use also mapcodes for zooming to a position.  +It can be activated by setting a new element_var:  +<pre>  +INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES('<app_id>', 'coordsLookup', 'useMapcode', 'true', '' ,'var');  +</pre>  +  +To allow the computing some javascripts have to referenced by the module :  +<pre>  +UPDATE gui_element SET e_mb_mod = '../extensions/mapcode-js-master/mapcode.js,../extensions/mapcode-js-master/ndata.js,../extensions/mapcode-js-master/ctrynams.js' WHERE e_id IN ('showCoords_div');  +</pre> === usage === === usage === [Less]
Posted almost 9 years ago by Armin Retterath
Option to use Mapcode: ← Older revision Revision as of 12:38, 24 June 2015 (One intermediate revision not shown)Line 6: Line 6: === user story === === user story === The user enters a coordinate tuple and selects the ... [More] corresponding SRS from a select box. After submitting this form, Mapbender transforms the coordinate tuple to the current SRS and zooms to the location. The user enters a coordinate tuple and selects the corresponding SRS from a select box. After submitting this form, Mapbender transforms the coordinate tuple to the current SRS and zooms to the location.  +  +==== Option to use Mapcode ====  +Since 2015 (mb2.8_trunk) it is possible to use also mapcodes for zooming to a position.  +It can be activated by setting a new element_var:  +<pre>  +INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES('<app_id>', 'coordsLookup', 'useMapcode', 'true', '' ,'var');  +</pre>  +  +To allow the computing some javascripts have to referenced by the module :  +<pre>  +UPDATE gui_element SET e_mb_mod = '../extensions/mapcode-js-master/mapcode.js,../extensions/mapcode-js-master/ndata.js,../extensions/mapcode-js-master/ctrynams.js' WHERE e_id IN ('showCoords_div');  +</pre> === usage === === usage === [Less]
Posted almost 9 years ago by Armin Retterath
Demos for Geoportal.rlp: ← Older revision Revision as of 09:10, 8 May 2015 Line 15: Line 15: ==Demos for Geoportal.rlp== ==Demos for Geoportal.rlp== -# Integrated in typo3 [http://www.gdi-rp-dienste3.rlp.de ... [More] http://www.gdi-rp-dienste3.rlp.de]+# Integrated in typo3 [http://www.geoportal.rlp.de http://www.geoportal.rlp.de] -# Start by cloud tags: [http://www.gdi-rp-dienste3.rlp.de/mapbender/php/tagCloud.php?type=topicCategories&scale=linear&maxObjects=25&maxFontSize=30&languageCode=en http://www.gdi-rp-dienste3.rlp.de/mapbender/php/tagCloud.php?type=topicCategories&scale=linear&maxObjects=25&maxFontSize=30&languageCode=en] - another usefull service for a service registry ;-)+# Start by cloud tags: [http://www.geoportal.rlp.de/mapbender/php/tagCloud.php?type=topicCategories&scale=linear&maxObjects=25&maxFontSize=30&languageCode=en http://www.geoportal.rlp.de/mapbender/php/tagCloud.php?type=topicCategories&scale=linear&maxObjects=25&maxFontSize=30&languageCode=en] - another usefull service for a service registry ;-) <html> <html> -<iframe src='http://www.gdi-rp-dienste3.rlp.de/mapbender/php/tagCloud.php?type=topicCategories&scale=linear&maxObjects=25&maxFontSize=30&languageCode=en' width='900' height='500' frameborder='0'>+<iframe src='http://www.geoportal.rlp.de/mapbender/php/tagCloud.php?type=topicCategories&scale=linear&maxObjects=25&maxFontSize=30&languageCode=en' width='900' height='500' frameborder='0'> </iframe> </iframe> </html> </html> [Less]
Posted almost 9 years ago by Armin Retterath
Demos for Geoportal.rlp: ← Older revision Revision as of 09:10, 8 May 2015 Line 15: Line 15: ==Demos for Geoportal.rlp== ==Demos for Geoportal.rlp== -# Integrated in typo3 [http://www.gdi-rp-dienste3.rlp.de ... [More] http://www.gdi-rp-dienste3.rlp.de]+# Integrated in typo3 [http://www.geoportal.rlp.de http://www.geoportal.rlp.de] -# Start by cloud tags: [http://www.gdi-rp-dienste3.rlp.de/mapbender/php/tagCloud.php?type=topicCategories&scale=linear&maxObjects=25&maxFontSize=30&languageCode=en http://www.gdi-rp-dienste3.rlp.de/mapbender/php/tagCloud.php?type=topicCategories&scale=linear&maxObjects=25&maxFontSize=30&languageCode=en] - another usefull service for a service registry ;-)+# Start by cloud tags: [http://www.geoportal.rlp.de/mapbender/php/tagCloud.php?type=topicCategories&scale=linear&maxObjects=25&maxFontSize=30&languageCode=en http://www.geoportal.rlp.de/mapbender/php/tagCloud.php?type=topicCategories&scale=linear&maxObjects=25&maxFontSize=30&languageCode=en] - another usefull service for a service registry ;-) <html> <html> -<iframe src='http://www.gdi-rp-dienste3.rlp.de/mapbender/php/tagCloud.php?type=topicCategories&scale=linear&maxObjects=25&maxFontSize=30&languageCode=en' width='900' height='500' frameborder='0'>+<iframe src='http://www.geoportal.rlp.de/mapbender/php/tagCloud.php?type=topicCategories&scale=linear&maxObjects=25&maxFontSize=30&languageCode=en' width='900' height='500' frameborder='0'> </iframe> </iframe> </html> </html> [Less]
Posted almost 9 years ago by Armin Retterath
Demos for Geoportal.rlp: ← Older revision Revision as of 09:10, 8 May 2015 Line 15: Line 15: ==Demos for Geoportal.rlp== ==Demos for Geoportal.rlp== -# Integrated in typo3 [http://www.gdi-rp-dienste3.rlp.de ... [More] http://www.gdi-rp-dienste3.rlp.de]+# Integrated in typo3 [http://www.geoportal.rlp.de http://www.geoportal.rlp.de] -# Start by cloud tags: [http://www.gdi-rp-dienste3.rlp.de/mapbender/php/tagCloud.php?type=topicCategories&scale=linear&maxObjects=25&maxFontSize=30&languageCode=en http://www.gdi-rp-dienste3.rlp.de/mapbender/php/tagCloud.php?type=topicCategories&scale=linear&maxObjects=25&maxFontSize=30&languageCode=en] - another usefull service for a service registry ;-)+# Start by cloud tags: [http://www.geoportal.rlp.de/mapbender/php/tagCloud.php?type=topicCategories&scale=linear&maxObjects=25&maxFontSize=30&languageCode=en http://www.geoportal.rlp.de/mapbender/php/tagCloud.php?type=topicCategories&scale=linear&maxObjects=25&maxFontSize=30&languageCode=en] - another usefull service for a service registry ;-) <html> <html> -<iframe src='http://www.gdi-rp-dienste3.rlp.de/mapbender/php/tagCloud.php?type=topicCategories&scale=linear&maxObjects=25&maxFontSize=30&languageCode=en' width='900' height='500' frameborder='0'>+<iframe src='http://www.geoportal.rlp.de/mapbender/php/tagCloud.php?type=topicCategories&scale=linear&maxObjects=25&maxFontSize=30&languageCode=en' width='900' height='500' frameborder='0'> </iframe> </iframe> </html> </html> [Less]
Posted almost 9 years ago by Armin Retterath
Demos for Geoportal.rlp: ← Older revision Revision as of 09:10, 8 May 2015 Line 15: Line 15: ==Demos for Geoportal.rlp== ==Demos for Geoportal.rlp== -# Integrated in typo3 [http://www.gdi-rp-dienste3.rlp.de ... [More] http://www.gdi-rp-dienste3.rlp.de]+# Integrated in typo3 [http://www.geoportal.rlp.de http://www.geoportal.rlp.de] -# Start by cloud tags: [http://www.gdi-rp-dienste3.rlp.de/mapbender/php/tagCloud.php?type=topicCategories&scale=linear&maxObjects=25&maxFontSize=30&languageCode=en http://www.gdi-rp-dienste3.rlp.de/mapbender/php/tagCloud.php?type=topicCategories&scale=linear&maxObjects=25&maxFontSize=30&languageCode=en] - another usefull service for a service registry ;-)+# Start by cloud tags: [http://www.geoportal.rlp.de/mapbender/php/tagCloud.php?type=topicCategories&scale=linear&maxObjects=25&maxFontSize=30&languageCode=en http://www.geoportal.rlp.de/mapbender/php/tagCloud.php?type=topicCategories&scale=linear&maxObjects=25&maxFontSize=30&languageCode=en] - another usefull service for a service registry ;-) <html> <html> -<iframe src='http://www.gdi-rp-dienste3.rlp.de/mapbender/php/tagCloud.php?type=topicCategories&scale=linear&maxObjects=25&maxFontSize=30&languageCode=en' width='900' height='500' frameborder='0'>+<iframe src='http://www.geoportal.rlp.de/mapbender/php/tagCloud.php?type=topicCategories&scale=linear&maxObjects=25&maxFontSize=30&languageCode=en' width='900' height='500' frameborder='0'> </iframe> </iframe> </html> </html> [Less]