RE: [OpenMap Users] How to insert A symbol of the milStd2525 (UNCLASSIFIED)

From: Lackey, Michael B. (SED/BTI) <"Lackey,>
Date: Thu, 20 Sep 2007 09:17:01 -0500

Classification: UNCLASSIFIED
Caveats: NONE

I did not find a way to do this without writing some code. But also, at that time, Openmap was new subject for me, so maybe I just did not know. This is what I did. If anyone knows better way, please say so.

(1) Used "Location" layer by modifying the file.

(2) Created data handler for the layer by modifying file to fit my needs.

(3) Created icons using milStd2525_png.jar file. There are some additional helper tools in tools/symbology/milstd2525 folder.

(4) Placed the icons on the map by adding them to the data handler.

Once you understand what a data handler does, the rest is easy. Look at LocationLayer.prepare() and BasicLocationHandler.get() for examples.

Mike Lackey

-----Original Message-----
From: [] On Behalf Of Magdalini Zachariadou
Sent: Thursday, September 20, 2007 7:20 AM
Subject: [OpenMap Users] How to insert A symbol of the milStd2525

Hello to all.
I would like to ask if anyone knows how to insert in a layer a symbol of milStd2525.
here is the code of my layer.
import java.awt.*;
import com.bbn.openmap.Layer;
import com.bbn.openmap.event.ProjectionEvent;
public class FirstLayers extends Layer {
    public FirstLayers {
    public void paint(Graphiccs g){
    public void projectionChangd(ProjectionEvent e){} }
How should I go on? I would like to insert and position in the FirstLayer a symbol of the milStd2525 in order to be able to see it in the mapbean I have created.
Thanks in advance.


Si comunica che a seguito del cambiamento di ragione sociale della nostra ditta da "Oerlikon Contraves SpA" a "Rheinmetall Italia SpA", a partire dal 01/08/2007 il dominio di posta elettronica č stato sostituito dal nuovo dominio
Tutti gli indirizzi esistenti sono sostituiti dai corrispondenti <> ; il vecchio dominio continuerą a funzionare, in ricezione, sino al 31/12/2007.

Please be informed that the mail domain has changed to the new domain, as a consequence of the company name change from "Oerlikon Contraves SpA" to "Rheinmetall Italia SpA".
All present <> e-mail addresses have been replaced by the corresponding <> . Old addresses <> will still be active in reception only until 31/12/2007.

Classification: UNCLASSIFIED
Caveats: NONE

[To unsubscribe to this list send an email to ""
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Thu Sep 20 2007 - 10:18:29 EDT

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