[ka-Map-users] Panning and zooming question

Paul Spencer pspencer at dmsolutions.ca
Tue May 31 10:12:20 EDT 2005


I think this is the most viable option.  Note that this will require 
some changes since the code currently only provides the drag/pan tool 
embedded in the code.  We  would need to abstract that out and provide a 
method to hook tools into the various handlers.  So its not trivial :)

Cheers

Paul

Moran Ben-David wrote:
> You could do what we've done in http://pushpin.place-base.com (use usr/pwd =
> demo/demo).  We snap the user to the closest zoom level to the extent they
> chose with the zoom box.  I think it's a good solution.  Especially since,
> the box is in most cases not forced to be in proportion to the map height
> and width.  
> 
> That is, the resulting extent should at least contain the extent selected by
> the zoom box.  If that is the case, making it a little bigger to snap to a
> zoom level isn't so bad.
> 
> Moran
> 
> 
>>-----Original Message-----
>>From: ka-map-users-bounces at lists.maptools.org [mailto:ka-map-users-
>>bounces at lists.maptools.org] On Behalf Of Matthew Perry
>>Sent: Tuesday, May 31, 2005 3:17 AM
>>To: Gambin Dejan
>>Cc: ka-map-users at lists.maptools.org
>>Subject: Re: [ka-Map-users] Panning and zooming question
>>
>>On 5/30/05, Gambin Dejan <Dejan.Gambin at pula.hr> wrote:
>>
>>>I think box zooming is not difficult to implement so it shouldn't be a
>>>problem to contribute.
>>
>>Box zooming will introduce major problems on the server side as there
>>will be a potentially inifinite number of zoom levels. This equates to
>>a potentially infinite number of tiles and the massive disk space and
>>processor time used to generate and store these tiles. As ka-map is
>>already **very** processor intensive, this is not an option for many
>>of us with a modest hardware budget ;-)
>>
>>How would you propose to solve these problems? Is box zoom even viable
>>given the tile model of ka-map??
>>
>>--
>>Matt Perry
>>perrygeo at gmail.com
>>http://www.perrygeo.net
>>
>>_______________________________________________
>>ka-Map-users mailing list
>>ka-Map-users at lists.maptools.org
>>http://lists.maptools.org/mailman/listinfo/ka-map-users
> 
> 
> _______________________________________________
> 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/|
+-----------------------------------------------------------------+


More information about the ka-Map-users mailing list