Projection.forward()

From: David Garnier <david.garnier@etudier-online.com>
Date: Wed Jan 02 2002 - 18:17:12 EST

Hello,
Is that me or is (Some Projection).forward() isn't doing anything to the
actual Projection (unlike (Some Projection).pan()).

Here is the code used to create the Projection:

setProjection(
        ProjectionFactory.makeProjection(
        ProjectionFactory.getProjType(Mercator.MercatorName),
        latlon.getLatitude(),
        latlon.getLongitude(),
        getScaleByIndex(getCurrentScaleIndex()),
        600,
        440));
        
((Proj) getProjection()).setMaxScale(getScaleByIndex(0));
((Proj)getProjection()).setMinScale(getScaleByIndex(getScalesList().size()-1));

And I try to move the Projection using
       getProjection().forward(lat,lon);

Any thoughts on this problem?

Best regards,
David Garnier

--
[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 Wed Jan 2 18:17:21 2002

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