Re: [nbos] [FM] sorting symbols in a map~~Richard K~~ Sun Oct 21st, 2007
A lot of this is solved by preplanning the use of the layers.
Use symbols of individual types, mountains separated from peaks, forests
separated from densities (thin forests vs thicker forests)
Just so that there is more ease in grabbing specific symbols and adjusting Z
orders eg; Front-to-back as well as adjusting the z order on individual
This way, selection is much easier by switching on/off select properties per
It takes a bit of discipline to keep checking your layers when putting down
symbols, often you might accidentally put symbols on the wrong layer, then
that causes more frustration. FM8 has ample layers, so its best to make use
of the layers to help you select specific symbols.
Layers are not the same as Adobe photoshop, Each layering of symbols should
be done from ground up...
Put peaks then mountians down first, then hills, roads, forests, city
markers, then borders. Depending on the effect you want roads can go on
after forests. The order of when you put down specific symbols is important
to their above/below effect, however having them on separate layers helps
when wanting to adjust them later without digging through endless symols
over top of the one that you want to adjust.
This method has its advantages and disadvantages, but hopefully with careful
preplanning, you can erase most of the disadvantages.
Hope this helps somewhat. (or is at least reads understandably)
----- Original Message -----
Sent: Sunday, October 21, 2007 3:11 PM
Subject: [nbos] sorting symbols in a map
> Hi All,
> I'm using FM7, will probably upgrade to FM8 fairly soon, if I can find a
> way to solve this.
> How can I sort symbols on a map to correct their Z-order?
> I've got a bunch of symbols already on the map, I want to add some more
> but want them ordered from 'top' to 'bottom'. Procedurally this could
> be done by ordering the symbols from lowest y-value to highest y-value
> (then lowest x-value to highest x-value where there's a collision -- I'd
> expect this to be fairly uncommon), then setting Z-order appropriately.
> I haven't done a lot of vbscript, but I can probably come up with a way
> to do the sort. How would I set the Z-order, though? Perhaps simplest
> might be to take the objects in sorted order, then call 'MoveToFront'
> (or whatever the function's called, I don't have the API open) on each
> in turn. Is there an easier way?
> Or better yet, is this a solved problem, and I just have to find and
> install a particular macro?
> Keith Davies "History is made by stupid people
> keith.davies-at-kjdavies.org "Clever people wouldn't even try
> keith.davies-at-gmail.com "If you want a place in the history books
> http://www.kjdavies.org/ "Then do something dumb before you die."
> -- The Arrogant Worms
> Nbossoftware mailing list
Nbossoftware mailing list