[ka-Map-users] cvs updates

Jon Fatula jonf at cruzio.com
Fri Jan 20 03:49:59 EST 2006

Thanks for the great updates, Paul.  A couple observations from
running the 2006-01-19 12:58 CVS under MS Internet Explorer 6.0:

1) Keymap drag doesn't appear to work under IE: initiating a drag
with a keydown anywhere in the keymap behaves the same way as if
you initiated a drag in FireFox with a keydown outside the drag
box.  Double clicking does work under IE to move the drag box.

2) When a page refresh is issued in IE 6, myOnLoad() in startup.js
calls myKaMap.initialize() before myScalebar is instantiated, and
IE throws a runtime error ('myScalebar' is null or not an object)
when the myScaleChanged() event handler is called.  Moving the
   myScalebar = new ScaleBar(1);
   myScalebar.divisions = 3;
from its current position to a point immediately before the call 
to drawPage() in myOnLoad() appears to prevent the runtime error.


-----Original Message-----
From: ka-map-users-bounces at lists.maptools.org
[mailto:ka-map-users-bounces at lists.maptools.org]On Behalf Of Paul
Sent: Thursday, January 19, 2006 12:58 PM
To: ka-Map-users
Subject: [ka-Map-users] cvs updates

All, following changes have been made to cvs version:

* fixed bug with populating the map selection list
* fixed problem with keymap drag, should be working now but I had to  
change it a bit so please test and report problems ...
* fixed permissions of files in kacache so that regular users can  
clear the cache without becoming root

With the keymap thing fixed, I'm pretty close to a release.  I need  
to go over the list of outstanding issues that Lorenzo put together  
and see if anything significant is left.

New Additions ...

* added iframe.html ... suitable to be used as the src of an iframe  
for embedding ka-map.  This could use some work ... it would be nice  
to pass in the name of the map to load and the extents to load at.

* added kaZoomer, an embedded zoom slider, along with images.  Its  
been added to iframe.html as an example, but not to index.html

To get kaZoomer to work, you need to do the following:

- add the following script tags:

<script type="text/javascript" src="wz_dragdrop.js"></script>
<script type="text/javascript" src="kaZoomer.js"></script>

- add the following to a script element (NOT in a function):


- add the following after myKaMap is initialized:

myKaZoomer = new kaZoomer(myKaMap);



|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

More information about the ka-Map-users mailing list