[Mapbender-users] set restricted map_extent compareable to openlayers map.restrictedExtend

Peter Freimuth freimuth at rapideye.de
Fri Jan 16 12:35:52 EST 2009


Hi,
does anybody have used or implemented someting like:

        function toggleRestrictedExtent() {
            if(map.restrictedExtent == null) {
                map.setOptions({restrictedExtent: extent});
            } else {
                map.setOptions({restrictedExtent: null});
            }
        }

in mapbender2.5. 
I would like to restrict pan, and zoom activities to an extent given via url parameter or user_specific on login which will be taken out of a db table!
Any ideas or hints to an already existing module for this issue?
Kind regards,
Peter
-- 
_______________________________________________________________________   

Peter Freimuth				phone: +49 3381 8904327
Product Development			fax:   +49 3381 8904101
RapidEye AG				email: freimuth at rapideye.de
Molkenmarkt 30
14776 Brandenburg an der Havel		http://www.rapideye.de
Germany
_______________________________________________________________________   

PRIVILEGE AND CONFIDENTIALITY NOTICE:
The information in this email is intended for the named recipients 
only. It may contain privileged and confidential information.  If you 
have received this communication in error, any use, copying or 
dissemination of its contents is strictly prohibited.  Please erase all 
copies of the message along with any included attachments and notify 
RapidEye AG or the sender immediately by telephone at the number 
indicated on this page.
_______________________________________________________________________

RapidEye AG
Molkenmarkt 30
14776 Brandenburg an der Havel
Germany

Head Office/Sitz der Gesellschaft: Brandenburg an der Havel
Management Board/Vorstand: Wolfgang G. Biedermann
Chairman of Supervisory Board/Vorsitzender des Aufsichtsrates: Axel Schmalz
Commercial Register/Handelsregister Potsdam HRB 17 796
Tax Number/Steuernummer: 048/100/00053
VAT-Ident-Number/Ust.-ID: DE 199331235
DIN EN ISO 9001 certified

*************************************************************************
Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese
E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den
Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie
die unbefugte Weitergabe dieser E-Mail ist nicht gestattet.

The information in this e-mail is intended for the named recipients
only. It may contain privileged and confidential information. If you
have received this communication in error, any use, copying or
dissemination of its contents is strictly prohibited. Please erase all
copies of the message along with any included attachments and notify
RapidEye AG or the sender immediately by telephone at the number
indicated on this page.


More information about the Mapbender_users mailing list