[ka-Map-users] Map disappears
Paul Spencer
pspencer at dmsolutions.ca
Tue Aug 2 16:45:34 EDT 2005
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/|
+-----------------------------------------------------------------+
More information about the ka-Map-users
mailing list