[OpenMap Users] OMText

From: Guillermo Payet <gpayet_at_localharvest.org>
Date: Thu, 3 Mar 2005 10:41:32 -0800

The one other "side effect" of the upgrade to 6.4.2 is that our
text labels are showing up as colored blocks. that is, the background
is not transparent anymore.

Our live site:


The "broken" dev site:


This is the code that we use to generate the city icons and labels:

        OMGraphic marker = new OMCircle( latitude, longitude, diam, diam );
        marker.setStroke(new BasicStroke(weight));
        loc = new BasicLocation(latitude, longitude, name, null);
        OMText text = new OMText(latitude,longitude,0,0,name,java.awt.Font.decode("SansSerif-"+labelStyle+"-"+labelPtSize),OMText.JUSTIFY_LEFT);

This code is what we've been using since waaaay back in '99. I wonder if there's
a more current way to achieve this?


Guillermo Payet
L O C A L  H A R V E S T
Every Morning I awake torn between a desire to save the world and 
an inclination to savor it.  This makes it hard to plan the day.
[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 Thu Mar 03 2005 - 13:42:48 EST

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