[ka-Map-users] Panning and zooming question
Gambin Dejan
Dejan.Gambin at pula.hr
Tue May 31 02:45:54 EDT 2005
Well, first I have to report some other things that happened to me:
I have tried to open ka-map with IE and I got error in
testMapInitialized saying 'options[...].value is null or not an object'.
It reports line 73, but in code it is actually line 69 of kaTest.html. I
don't get this error in Mozilla Firefox so I continued to work with
firefox. I have noticed if I refresh the page it ocasionally writes a
number of warnings in legend window (frame) saying:
Warning: [MapServer Error]: msLoadMap(): in C:\Program Files\Apache
Group\Apache2\htdocs\ka-map\legend_template.php on line 24
Warning: [MapServer Error]: msFreeHashItems(): Can't free NULL table in
C:\Program Files\Apache Group\Apache2\htdocs\ka-map\legend_template.php
on line 24
and repeats this many times. This is happening using gmap (gmap is the
first selected map in combo).
Regarding my own map I have first removed GROUPs but the map didn't
show. Soon I realised that map is not shown even if I remove all the
layers except simplest one. The browser is just saying "Transferring
data from localhost..." and that is all.
Can you tell me what is the best way to debug?
regards, dejan
-----Original Message-----
From: Paul Spencer [mailto:pspencer at dmsolutions.ca]
Sent: Monday, May 30, 2005 6:29 PM
To: Gambin Dejan
Cc: ka-map-users at lists.maptools.org
Subject: Re: [ka-Map-users] Panning and zooming question
dejan,
that would be great! First thing to try would be removing groups and
seeing if it works that way, then start adding groups back in I guess.
The difference in the new version is that each group is put into a
separate layer and requested as separate images. They are also cached
in separate directories on the server side.
Paul
Gambin Dejan wrote:
> thanks Paul,
>
> I think box zooming is not difficult to implement so it shouldn't be a
> problem to contribute. I am also willing to do translation if
> multilanguage interface is something that is in the plan. Also, I have
> tried to read my map file (that is using many layers, groups, etc.)
> and it doesnpt show so I shall take a look and see where does it
> "hang" (without this new feature that is available in cvs, the map was
> shown
> successfully)
>
> regards, dejan
>
> -----Original Message-----
> From: Paul Spencer [mailto:pspencer at dmsolutions.ca]
> Sent: Monday, May 30, 2005 3:17 PM
> To: Gambin Dejan
> Cc: ka-map-users at lists.maptools.org
> Subject: Re: [ka-Map-users] Panning and zooming question
>
>
> Hi,
>
> panning without reloading the page is done by drawing the map as a
> series of small (200x200 pixel) tiles that are loaded separately.
When
> the user clicks and drags, the images are moved inside the page. When
> one set of images are off the visible part of the map, they are moved
to
>
> the other side and a new set of tiles are loaded. The 'tiles' are
> rendered using MapServer and so whatever you can get MapServer to
draw,
> you can display ... tileindexed raster data should work just fine.
> Overviews just make it more efficient for MapServer to render at
> different scales
>
> The 'box zooming' is not something I am planning to add, but I will
> take
>
> contributions.
>
> Paul
>
> Gambin Dejan wrote:
>
>>As I am not a GIS professional I am interested in how is the "panning
>>without reloading the page" enabled and will it require some new
>>configuration of my tileindexed raster data (I am also using
>>overviews)? Second, will the "box zooming" be enabled in ka-map?
>>
>>regards
>>
>>dg
>>
>>_______________________________________________
>>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