[OpenMap Users] Whats the right way to rotate a label

From: JR Andreassen <janrune_at_io.com>
Date: Fri, 26 Jan 2007 13:35:37 -0600


I'm back to trying to rotate Text labels to follow a OMGraphic.
What is the correct way to get it done?
Any samples anywhere ??

My goal is to put in Road/Street names, but make it follow a segment.
Also, at the same time I can ask the question again
What are the possibilities of adding a couple of methods to the
OMLabeler interface.

     * Set the Object beeing labeled by this OMLabeler
     * _at_param omg The Object beeing labeled
    public void setLabeledObject(OMGraphic omg);

     * Get the Object beeing labeled by this OMLabeler
     * _at_return OMGraphic The Object beeing labeled
    public OMGraphic getLabeledObject();

It would convinient for the labler to know what it was labeling.
We could find the size the Graphic beeing labeled, was smaller than the
    Don't label(Until it was)
.In the case of roads or other plylines you can find out the path and
label along it
    (Hopefully. I'm currenty trying to acomplish that)


[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 Fri Jan 26 2007 - 14:37:45 EST

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:08 EDT