[OpenMap Users] get lat/lon of a OMPoly

From: ijtejedor <ijtejedor@lycos.es>
Date: Tue Mar 11 2003 - 05:55:08 EST

Hello people,

I want to get lat/lon of a OMPoly. Now, I know that this OMPoly must be

a RENDERTYPE_OFFSET; my question is: how I do it?

my code is:

OMPoly objPolilinea = (OMPoly)objetoGrafico;
objPolilinea.setRenderType(objetoGrafico.RENDERTYPE_OFFSET);
objPolilinea.getLat(); //this return 0,0
objPolilinea.getLon(); //this return 0,0

both return 0,0; I think that I need do something but I don't know. I try
to do:

objPolilinea.generate(mapBean.getProjection());

but return false,

Can someone help me?

thanks
un saludo.
Iván.

--
[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 Tue Mar 11 06:00:21 2003

This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:35 EDT