[ka-Map-users] rubberband zoom

Paul Spencer pspencer at dmsolutions.ca
Sat Apr 1 08:06:36 EST 2006


Pete,

very nice :)

ka-Mapers - what do you think about modifying the default interface  
to include the draggable legend?  I was thinking that we could have  
draggable toolbars that could include any of the elements (keymap,  
scale reference, legend) that can be collapsible (ala photoshop tools  
- at least on mac).

Cheers

Paul

On 31-Mar-06, at 10:01 PM, Pete Giencke wrote:

> 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/|
> +-----------------------------------------------------------------+
>
>
>
>
> <kaQuery.js>

+-----------------------------------------------------------------+
|Paul Spencer                           pspencer at dmsolutions.ca   |
+-----------------------------------------------------------------+
|Applications & Software Development                              |
|DM Solutions Group Inc                 http://www.dmsolutions.ca/|
+-----------------------------------------------------------------+






More information about the ka-Map-users mailing list