<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1505" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Yep, that's what is happening. I noticed now
that toggling the tickbox makes it reappear. The map doesn't allow
itself to be dragged until the box has been unticked and ticked
again.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Got the zoomToExtents to work now. But it
doesn't seem to zoom to the correct extent; the keymap works perfectly, and the
box that appears there is accurate. But the extents the actual map zooms to is
not right.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>regards,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Jacob</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>» -----Original Message-----<BR>» From: Paul
Spencer [mailto:pspencer@dmsolutions.ca] <BR>» Sent: 3 August 2005 04:46<BR>»
To: Delfos, Jacob<BR>» Cc: <A
href="mailto:ka-map-users@lists.maptools.org">ka-map-users@lists.maptools.org</A><BR>»
Subject: Re: [ka-Map-users] Map disappears<BR>» <BR>» Jacob, there is a small
problem right now with the legend code, it <BR>» assumes that you want all
layers that are not in a group to be in the <BR>» 'Base' group ... and all other
groups are displayed as <BR>» separate layers. <BR>» These layers
are temporarily turned 'off' when dragging in <BR>» an attempt <BR>» to improve
performance. The code for this doesn't quite <BR>» work, it will <BR>»
turn the layers off but not back on again (until you manually hit the <BR>»
check box and turn them off/on)<BR>» <BR>» if you have groups on all your
layers, then your map will <BR>» disappear and <BR>» not come back (until you
manually toggle them)<BR>» <BR>» kaMap_zoomToExtents must be called as a method
on an instance <BR>» of kaMap, <BR>» usually something like:<BR>» <BR>» myKaMap
= new kaMap();<BR>» <BR>» ...<BR>» <BR>» myKaMap.zoomToExtents( ... );<BR>»
<BR>» Cheers<BR>» <BR>» Paul<BR>» <BR>» Delfos, Jacob wrote:<BR>» > Hi
List,<BR>» > <BR>» > After upgrading my Ka-Map to the latest CVS, my map
disappears upon <BR>» > panning. It doesn't re-appear..... That's using the
new template. <BR>» > Before, it worked ok. Has anyone run into this?<BR>»
> <BR>» > Also, in my PHP log, I get heaps of these:<BR>» >
[02-Aug-2005 16:25:23] PHP Notice: Undefined variable: <BR>»
aszLayers in <BR>» > C:\kamap\aus\htdocs\legend.php on line 46<BR>» >
<BR>» > Which I got before I upgraded as well, so that's probably <BR>» not
critical. <BR>» > Though they seem to appear for every tile.....<BR>» >
<BR>» > Also, when I try to make use of kaMap_zoomToExtents, I get this <BR>»
> javascript error:<BR>» > <BR>» > Error: this.getCurrentMap is not a
function<BR>» > Source File: <BR>»
_http://mia/kamapaus/getcjs.php?name=kaMap&compress=no_ <BR>» > <<A
href="http://mia/kamapaus/getcjs.php?name=kaMap&compress=no">http://mia/kamapaus/getcjs.php?name=kaMap&compress=no</A>><BR>»
> Line: 293<BR>» > <BR>» > Has anyone run into any of these
problems?<BR>» > <BR>» > Regards,<BR>» > <BR>» > Jacob<BR>» >
<BR>» > <BR>» > <BR>» > *JACOB DELFOS<BR>» > SPATIAL INFORMATION
ANALYST<BR>» > *Maunsell Australia Pty Ltd<BR>» > 629 Newcastle Street,
Leederville, WA 6007<BR>» > PO Box 81, Leederville, WA 6902<BR>» > Western
Australia<BR>» > ABN 20 093 846 925<BR>» > <BR>» >
Tel + 61 8 9281 6185<BR>» > Fax +
61 8 9281 6297<BR>» > <A
href="mailto:_jacob.delfos@maunsell.com">_jacob.delfos@maunsell.com</A>_<BR>»
> <BR>» > <BR>» > <BR>»
--------------------------------------------------------------<BR>»
----------<BR>» > <BR>» >
_______________________________________________<BR>» > ka-Map-users mailing
list<BR>» > <A
href="mailto:ka-Map-users@lists.maptools.org">ka-Map-users@lists.maptools.org</A><BR>»
> <A
href="http://lists.maptools.org/mailman/listinfo/ka-map-users">http://lists.maptools.org/mailman/listinfo/ka-map-users</A><BR>»
<BR>» -- <BR>»
+-----------------------------------------------------------------+<BR>» |Paul
Spencer
<A href="mailto:pspencer@dmsolutions.ca">pspencer@dmsolutions.ca</A>
|<BR>» +-----------------------------------------------------------------+<BR>»
|Applications & Software
Development
|<BR>» |DM Solutions Group
Inc
<A href="http://www.dmsolutions.ca/">http://www.dmsolutions.ca/</A>|<BR>»
+-----------------------------------------------------------------+<BR>»
</FONT></DIV>
<DIV><FONT face=Arial size=2><A
href="mailto:jacob.delfos@maunsell.com"></A></FONT> </DIV></BODY></HTML>