[OpenMap Users] Adding labels to OMScalingIcon?

From: Democko, Nickie <nickie.democko_at_email.domain.hidden>
Date: Mon Aug 18 2008 - 16:15:44 EDT

I'm trying to add a label to an OMScalingIcon as follows:

 

OMScalingIcon icon = ...

 

OMTextLabeler label = new OMTextLabeler("TEST LABEL",
OMText.JUSTIFY_RIGHT);

 

Icon.putAttribute(OMGraphicConstants.LABEL, label);

 

It compiles and runs, but I'm seeing no labels. It works fine for
OMPolys and such, but not for OMScalingIcons. What am I missing?

 

Thanks,

Nickie

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Mon Aug 18 16:22:13 2008

This archive was generated by hypermail 2.1.8 : Mon Aug 18 2008 - 16:22:13 EDT