[OpenMap Users] Adding labels to OMScalingIcon?

From: Democko, Nickie <nickie.democko_at_lmco.com>
Date: Mon, 18 Aug 2008 16:15:44 -0400

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_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Mon Aug 18 2008 - 16:17:10 EDT

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