Not only that, but it would be much nicer if instead of just rotating there
was a way for the text to follow the path of the polyline. There are also
problems on choosing the point of the polyline to calculate the rotation
angle. For example:
Some St
--\
\
\
\
\
\
\
As opposed to
--\S
\o
\m
\e
\
\S
\t
-Guy
-----Original Message-----
From: owner-openmap-users_at_bbn.com [mailto:owner-openmap-users_at_bbn.com] On
Behalf Of JR Andreassen
Sent: Monday, November 27, 2006 3:15 PM
To: oland
Cc: openmap-users_at_bbn.com
Subject: Re: [OpenMap Users] OpenMap Layer (New)
Hi Carsten.
1. As far as the decluttering, I was going to leave that to the
OMLabler/OMTextLabler.
I looked at the link and the NLPF stuff.
From your posting i didn't get wether that got integrated.
2. I did some experiments with the rotation angle, it slows the drawing of
the objects to a crawl.
This is partially due to the Shape layer/plugin don't filter out all the
things that are not in the projection(unless I missed something).
So, quite a few issues to work out.
Thanks for the input.
JR
>Hi JR
>
>1. To do this properly you will need to use some decluttering mech. I
think.
>Take a look at
>http://www.nabble.com/Too-many-re-draws-%28again%29-tf2651992.html#a740
>0339
>
>2. Maybe you can use some of the stuff from OMText. Look for
>rotationAngle in OMText.java.
>
>regards
>/carsten
>
>
>JR Andreassen wrote:
>
>
>>Hi...
>>I'm working on making a labeling function in the shape layer.
>>There are two problems.
>>1. Filtering major/minor streets names. It get's awfully bussy and
>>it's hard to see the labels.
>>I'm trying to come up with an algo that won't show the label unless
>>the length of the label is <= line segment.
>>Combined with perhaps a enumeration for major/minor street 2.
>>Currently the OMLabel/OMTextLabeler only displays the label
>>Horizontaly.
>>Need to figure out a way to rotate it..
>>
>>Anyone that have any comments suggestions feel free to comment.
>>JR
>>
>>
>>
>>
>>
>
>
>
--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe
openmap-users"]
--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Tue Nov 28 2006 - 07:02:25 EST