[OpenMap Users] ImageServer and OMGraphics

From: Daniel San Martín <danielsms_at_yahoo.es>
Date: Wed, 22 Feb 2006 20:35:23 +0100 (CET)

I have a servlet that returns an image generated with
ImageServer. ¿How can I use OMGraphics over that
I want draw some lines over it but dont know how to
get the graphic context.

Thank you very much!

This is the code that have:
float lat = 40;
float lon = -3;
int escale = 45000000;

LatLonPoint ll = new LatLonPoint(lat,lon);
Projection pp = new Mercator(ll,escale,400,200);
ImageServer iServer = new ImageServer(Props);
SunJPEGFormatter JpegFF = new SunJPEGFormatter();
ServletOutputStream fo = response.getOutputStream();
fo.write( iServer.createImage(pp));


LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.

[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 Wed Feb 22 2006 - 14:43:00 EST

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