[ka-Map-users] Map disappears
Jacob Delfos
jacob.delfos at maunsell.com
Tue Aug 2 20:10:09 EDT 2005
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.
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.
regards,
Jacob
» -----Original Message-----
» From: Paul Spencer [mailto:pspencer at dmsolutions.ca]
» Sent: 3 August 2005 04:46
» To: Delfos, Jacob
» Cc: ka-map-users at lists.maptools.org
» Subject: Re: [ka-Map-users] Map disappears
»
» Jacob, there is a small problem right now with the legend code, it
» assumes that you want all layers that are not in a group to be in the
» 'Base' group ... and all other groups are displayed as
» separate layers.
» These layers are temporarily turned 'off' when dragging in
» an attempt
» to improve performance. The code for this doesn't quite
» work, it will
» turn the layers off but not back on again (until you manually hit the
» check box and turn them off/on)
»
» if you have groups on all your layers, then your map will
» disappear and
» not come back (until you manually toggle them)
»
» kaMap_zoomToExtents must be called as a method on an instance
» of kaMap,
» usually something like:
»
» myKaMap = new kaMap();
»
» ...
»
» myKaMap.zoomToExtents( ... );
»
» Cheers
»
» Paul
»
» Delfos, Jacob wrote:
» > Hi List,
» >
» > After upgrading my Ka-Map to the latest CVS, my map disappears upon
» > panning. It doesn't re-appear..... That's using the new template.
» > Before, it worked ok. Has anyone run into this?
» >
» > Also, in my PHP log, I get heaps of these:
» > [02-Aug-2005 16:25:23] PHP Notice: Undefined variable:
» aszLayers in
» > C:\kamap\aus\htdocs\legend.php on line 46
» >
» > Which I got before I upgraded as well, so that's probably
» not critical.
» > Though they seem to appear for every tile.....
» >
» > Also, when I try to make use of kaMap_zoomToExtents, I get this
» > javascript error:
» >
» > Error: this.getCurrentMap is not a function
» > Source File:
» _http://mia/kamapaus/getcjs.php?name=kaMap&compress=no_
» > <http://mia/kamapaus/getcjs.php?name=kaMap&compress=no>
» > Line: 293
» >
» > Has anyone run into any of these problems?
» >
» > Regards,
» >
» > Jacob
» >
» >
» >
» > *JACOB DELFOS
» > SPATIAL INFORMATION ANALYST
» > *Maunsell Australia Pty Ltd
» > 629 Newcastle Street, Leederville, WA 6007
» > PO Box 81, Leederville, WA 6902
» > Western Australia
» > ABN 20 093 846 925
» >
» > Tel + 61 8 9281 6185
» > Fax + 61 8 9281 6297
» > _jacob.delfos at maunsell.com_
» >
» >
» >
» --------------------------------------------------------------
» ----------
» >
» > _______________________________________________
» > 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 --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/ka-map-users/attachments/20050803/8ca050e2/attachment.html
More information about the ka-Map-users
mailing list