coordsLookup

Description

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.

Files

  • http/javascripts/mod_coordsLookup.js
  • http/php/mod_coordsLookup_server.php

SQL

INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment,
e_title, e_element, e_src, e_attributes, e_left, e_top, e_width,
e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file,
e_mb_mod, e_target, e_requires, e_url) VALUES ('<app_id>','coordsLookup',
10,1,'','Coordinate lookup','div','','',1000,0,NULL ,NULL ,NULL ,
'z-index:9999;','','div','mod_coordsLookup.php','',
'mapframe1','','');

INSERT INTO gui_element_vars (fkey_gui_id, fkey_e_id, var_name,
var_value, context, var_type) VALUES ('<app_id>', 'coordsLookup',
'perimeters', '[50,200,1000,10000]', '' ,'var');

INSERT INTO gui_element_vars (fkey_gui_id, fkey_e_id, var_name,
var_value, context, var_type) VALUES('<app_id>', 'coordsLookup',
'projections', '[''EPSG:31467'',''EPSG:31468'',''EPSG:31469'']', '' ,
'var');

Help

http://www.mapbender.org/coordsLookup

Maintainer

http://www.mapbender.org/User:Christoph_Baudson

Parameters

perimetersArray of perimeters in m, like [50,200,1000,10000]
projectionsArray of EPSG names, like [‘EPSG:31467’,’EPSG:31468’]

License

Copyright © 2009, Open Source Geospatial Foundation This program is dual licensed under the GNU General Public License and Simplified BSD license.  http://svn.osgeo.org/mapbender/trunk/mapbender/license/license.txt

Close