[ka-Map-users] Legend and keymap
Marc Pfister
mpfister at enplan.com
Tue Jan 24 13:24:40 EST 2006
It's good that the legend is working in the right order, but having the
off layers drop out of layer movement is really weird. ArcView doesn't
do that - and I don't know any other GIs programs that follow the same
thinking. Also, there's no visual cue that they don't work anymore. If
the up and down arrows greyed out then it would make more sense, but
still it's strange to me.
Also, I don't think the base layer should be moveable. If you want a
moveable base layer, you should just put the base layers into a group
named "Base". This might require a check to see if there are no
ungrouped layers in the map to then suppress the generation of the
automatic "__base__" layer. Maybe the current code already does this,
but I can't remember exactly how it works without checking it.
Marc
> -----Original Message-----
> From: ka-map-users-bounces at lists.maptools.org [mailto:ka-map-users-
> bounces at lists.maptools.org] On Behalf Of Lorenzo Becchi
> Sent: Tuesday, January 24, 2006 10:12 AM
> To: ka-map-users at lists.maptools.org
> Subject: RE: [ka-Map-users] Legend and keymap
>
> Jacob, finally I've post your work in the CVS. Now the legend is
> "conventional".
>
> your site is cool, well done!
> I've posted the link to your application in the wiki. Hope you like it
> otherwise edit the wiki or ask me to delete it.
>
> ciao
> Lorenzo
>
>
>
>
>
>
> Il giorno 24/gen/06, alle 18:01,
> ka-map-users-request at lists.maptools.org ha scritto:
>
> > ------------------------------
> >
> > Message: 5
> > Date: Tue, 24 Jan 2006 09:05:07 +0800
> > From: "Delfos, Jacob" <jacob.delfos at maunsell.com>
> > Subject: RE: [ka-Map-users] Legend and keymap
> > To: "Lorenzo Becchi" <lorenzo at ominiverdi.com>,
> > <ka-map-users at lists.maptools.org>
> > Message-ID:
> >
<4997F456680DAD4DA1E042C40C463611426EDB at auper1ex002.au.aecomnet.com>
> > Content-Type: text/plain; charset="us-ascii"
> >
> > Lorenzo,
> >
> > Looking great. You've done a great job. Looks like hell to debug :)
> > Only thing I noticed is that layers that are not turned on, do not
> > participate in moving up or down. Is that intentional? It basically
> > does
> > not permit the layer to move, or another layer skips over the
'offed'
> > layer if it moves. Not a drama, though.
> >
> > About the layer order: I did something very basic (possibly
gruesome),
> > which seems to work:
> > On line 157 and 170 of KaLegend.js, I flipped the FOR-loop around
(make
> > it loop in reverse), and then I switched the bodies of the
> > "movelayerup"
> > and "movelayerdown" functions. Now the legend is the correct
> > (conventional?) way around, and all works great. You can see this
> > change
> > at:
> >
> > http://geo.maunsell.com/kamapaus/aus.html
> >
> > I hope this abuse of your code doesn't shock you too much :)
>
> _______________________________________________
> ka-Map-users mailing list
> ka-Map-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ka-map-users
--
Marc Pfister
ENPLAN
mpfister at enplan.com
530/221-0440
530/221-6963 Fax
More information about the ka-Map-users
mailing list