example with rubberband

temiz temiz at DEPREM.GOV.TR
Fri Oct 15 00:21:03 PDT 2004


hello Mr.Sandeep,

thank you for your help.
I have examined the javascript code you suggested.
Unfortunately I have also little knowledge about javascript. So, I coudn't
manage to get rectangle coordinates drawn as rubberband.
I think getting coord. values is the way for zooming.

Do you have any idea about how coord values can get?

best wishes

 Bashyal wrote:

> On Thu, 14 Oct 2004 17:13:37 +0300, temiz <temiz at DEPREM.GOV.TR> wrote:
>
>> hello
>>
>> for zooming, I want to build rubberband.
>> How can I get an example which contain rubberband for zooming ?
>>
>> kind regards
>>
>> Ahmet temiz
>>
>>
>> ______________________________________
>> Inflex - installed on mailserver for domain @deprem.gov.tr
>> Queries to: postmaster at deprem.gov.tr
>>
>> ______________________________________
>> The views and opinions expressed in this e-mail message are the sender's
>> own
>> and do not necessarily represent the views and the opinions of
>> Earthquake Research Dept.
>> of General Directorate of Disaster Affairs.
>>
>> Bu e-postadaki fikir ve gorusler gonderenin sahsina ait olup, yasal
>> olarak T.C.
>> B.I.B. Afet Isleri Gn.Mud. Deprem Arastirma Dairesi'ni baglayici
>> nitelikte degildir.
>>
>
> Ahmet,
>
> I've found the rubberband zoom box by Gayathri Swaminathan to be simple
> and quite useful. You can download it here:
>        http://mapserver.gis.umn.edu/user_utilities/RBand.zip
> Just call startRubber and stopRubber functions on mouseDown and mouseUp
> events on the main map image and put hidden form elements containing the
> width and height of the "rubberband" layer.
>
> Works pretty well for my limited knowledge of javascript and mapserver
> :).
>
> Regards.
>
> --
> Sandeep Bashyal
> --
>   National GIS Officer
>   Humanitarian Assistance Information System (HAIS)
>   United Nations (NEP/01/008)
>   UN House, Pulchowk
>   G.P.O. Box 107
>   Kathmandu, Nepal
>   Tel: (+977) 01 5543957
>        (+977) 01 5554304
>   Cell:(+977) 9841270854
>   Fax: (+977) 01 5528059
> --------------------------------------------------
> mailto:gis at undphais.org.np
> mailto:sandeep at earthmapping.com
> http://www.undp.org.np
>
>


______________________________________
Inflex - installed on mailserver for domain @deprem.gov.tr
Queries to: postmaster at deprem.gov.tr

______________________________________
The views and opinions expressed in this e-mail message are the sender's own
and do not necessarily represent the views and the opinions of Earthquake Research Dept.
of General Directorate of Disaster Affairs.

Bu e-postadaki fikir ve gorusler gonderenin sahsina ait olup, yasal olarak T.C.
B.I.B. Afet Isleri Gn.Mud. Deprem Arastirma Dairesi'ni baglayici nitelikte degildir.



More information about the MapServer-users mailing list