[ka-Map-users] rubberband zoom
Pete Giencke
gienc002 at umn.edu
Fri Mar 31 22:01:08 EST 2006
Paul et al,
I finally have some time for dev work, so here's that code [finally] for the
box zoom. I redid my existing tool to work with the current ka-map iteration
(great work, btw). It piggybacks atop of kaQuery.js (which already has
zoom-box functionality).
I tweaked the onmousedown and onmouseup functions to accept either a query
or zoom request (toolMode). I'll try to work on making this a bit more
extensible in the coming week. *The key to it working to have have enough
scales from which ka-map can select when zooming.
Also, I played around with the legend -- it's now drag&droppable, and
includes hyperlinks to specific layers.
Here's the link: http://mds.glc.org/glosMap/htdocs/
-pete
-----Original Message-----
From: Paul Spencer [mailto:pspencer at dmsolutions.ca]
Sent: Sunday, January 08, 2006 10:54 AM
To: pgiencke at glc.org
Cc: Ehud Shabtai; ka-map-users at lists.maptools.org
Subject: Re: [ka-Map-users] rubberband zoom
Pete,
I took a quick look at your code, but it is not immediately evident to me
how you made this work. Would it be possible for you to put all the zoom
box code into a single js function (and css) that I could include in ka-map
as an optional zoom mode?
Cheers
Paul
On 6-Jan-06, at 12:46 PM, pgiencke at glc.org wrote:
> Ehud,
>
> Here's what I was working on before I got sidetracked from kamap
> development.
> Feel free (obviously) to use and abuse it...
>
> http://mds.glc.org/kamap_final/htdocs/
>
> -pete
>
> Quoting Paul Spencer <pspencer at dmsolutions.ca>:
>
>> Ehud, I saw at least one rubber band zoom implementation, you could
>> try searching the archives.
>>
>> Cheers
>>
>> Paul
>>
>> On 6-Jan-06, at 6:08 AM, Ehud Shabtai wrote:
>>
>>> Hi,
>>>
>>> Has anyone implemented a rubber band zoom for ka-map?
>>>
>>> Ehud.
>>>
>>> _______________________________________________
>>> ka-Map-users mailing list
>>> ka-Map-users at lists.maptools.org
>>> http://lists.maptools.org/mailman/listinfo/ka-map-users
>>>
>>
>> +-----------------------------------------------------------------+
>> |Paul Spencer pspencer at dmsolutions.ca |
>> +-----------------------------------------------------------------+
>> |Applications & Software Development |
>> |DM Solutions Group Inc http://www.dmsolutions.ca/|
>> +-----------------------------------------------------------------+
>>
>>
>>
>>
>> _______________________________________________
>> ka-Map-users mailing list
>> ka-Map-users at lists.maptools.org
>> http://lists.maptools.org/mailman/listinfo/ka-map-users
>>
>
>
>
>
+-----------------------------------------------------------------+
|Paul Spencer pspencer at dmsolutions.ca |
+-----------------------------------------------------------------+
|Applications & Software Development |
|DM Solutions Group Inc http://www.dmsolutions.ca/|
+-----------------------------------------------------------------+
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kaQuery.js
Type: application/octet-stream
Size: 10624 bytes
Desc: not available
Url : http://lists.maptools.org/pipermail/ka-map-users/attachments/20060331/67854d44/kaQuery.obj
More information about the ka-Map-users
mailing list