[ka-Map-users] legend tree, changes in pdf output

marco barra marco.barra at gmail.com
Mon May 25 08:44:09 EST 2009


Hi Royce....... sorry for my wrong reply to the 4th question....
however you can modify the layout of your pdf output modifiing the files in
kamap/htdocs/tools/print/

Ciao
      Marco

2009/5/25 Royce Eustaquio <rgeustaquio at gmail.com>

> Hello Marco,
>
> Thanks for the quick reply. I will do your suggestions and hopefully I will
> do it right.
>
> On my 1st question, I will send you a screenshot as soon as possible. My
> internet connection is quite slow right now and I am having a hard time
> accessing our web map.
>
> While on my fourth question - I am wondering if one can change layout of
> the output map. Meaning add organization logo, transfer location of the
> scale and the scale map, change location of map title, etc. I will also try
> to send you graphics as soon as possible.
>
> Thank you very much!
>
> Royce
>
>
>
>
> On Mon, May 25, 2009 at 6:40 PM, marco barra <marco.barra at gmail.com>wrote:
>
>> Hi Royce,
>>
>> >>1. I have tried doing the legend tree but I can't seem to make a
>> numerous layers - just 2 layers then I can't get to have >>the top most
>> layer to collapse/minimize. Where or what should should I check to correct
>> this?
>> Can you describe better the problem??
>>
>>
>>
>> >>2. Is there a way to have "zoom limits" on the visibility of a layer?
>> For example Layer A can only be viewed if the >>map zoom is 1:20,000 or a
>> larger scale? When on zoom extents this layer can't be displayed.
>> You can use MINSCALE/MAXSCALE  (see
>> http://mapserver.org/mapfile/layer.html)
>>
>>
>> >>3. Also I found some ka-map applications (i forgot which one) wherein
>> the "Map Info" (particularly the key map) >>and "Legend" are shown together
>> in one view. How does one do this?
>> Take a look at startUp file, you'll find someting like:
>>
>> var myKaLegend = new kaLegend( myKaMap, 'legend', false, legendOptions);
>> var myKaKeymap = new kaKeymap( myKaMap, 'keymap' );
>>
>> as you can see 'legend' and 'keymap' are the HTML elements where the
>> keymap and legend will be displayed, so simply change the targhet div...
>>
>>
>> >>4. Finally, in line with Mr. Bob Bistrais' question on changing scalebar
>> style, is there a way to change the layout of >>the pdf output map? Can it
>> be changed also thru the screen.css?
>> Try to define the scalebar in the mapfile, I'm not shure, but during the
>> printing the parameters for the scale bar are taken from the mapfile.
>>
>> try adding something like this
>>
>>  SCALEBAR
>>   STATUS ON
>>   IMAGECOLOR 255 255 255
>>   COLOR  0 0 0
>>   OUTLINECOLOR 0 0 0
>>    LABEL
>>        COLOR  0 0 0
>>        SIZE tiny
>>     END
>>   UNITS miles
>>   STYLE 1
>>   INTERVALS 5
>>   TRANSPARENT ON
>>   SIZE 249 15
>> END
>>
>> to youre map file
>>
>> Ciao
>>          marco
>>
>>
>> 2009/5/25 Royce Eustaquio <rgeustaquio at gmail.com>
>>
>>> Hi there!
>>>
>>> Newbie here and thanks to the wiki page I was able to set up ka-map for
>>> our organization. There are a number of things though that I just can't
>>> figure out. Help!
>>>
>>> 1. I have tried doing the legend tree but I can't seem to make a numerous
>>> layers - just 2 layers then I can't get to have the top most layer to
>>> collapse/minimize. Where or what should should I check to correct this?
>>>
>>> 2. Is there a way to have "zoom limits" on the visibility of a layer? For
>>> example Layer A can only be viewed if the map zoom is 1:20,000 or a larger
>>> scale? When on zoom extents this layer can't be displayed.
>>>
>>> 3. Also I found some ka-map applications (i forgot which one) wherein the
>>> "Map Info" (particularly the key map) and "Legend" are shown together in one
>>> view. How does one do this?
>>>
>>> 4. Finally, in line with Mr. Bob Bistrais' question on changing scalebar
>>> style, is there a way to change the layout of the pdf output map? Can it be
>>> changed also thru the screen.css?
>>>
>>> Thank you very much!
>>>
>>> Regards,
>>> Royce
>>>
>>> _______________________________________________
>>> ka-Map-users mailing list
>>> ka-Map-users at lists.maptools.org
>>> http://lists.maptools.org/mailman/listinfo/ka-map-users
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/ka-map-users/attachments/20090525/7f7ff2de/attachment.htm 


More information about the ka-Map-users mailing list