[OpenMap Users] Projection Initialisation

From: Potter, Mark A (UK Rochester) <"Potter,>
Date: Thu, 16 Dec 2004 10:49:31 +0000

How do I stop this message:

ProjectionFactory.getDefaultProjectionFromEnvironment(): Can't use (openmap.Projection = null) property as a projection class, need a class name instead. Using default of com.bbn.openmap.proj.Mercator.

OpenMap(tm) Version 4.6.1
  Copyright (C) BBNT Solutions LLC. All rights reserved.
  See http://openmap.bbn.com/ for details.

ProjectionFactory.getDefaultProjectionFromEnvironment(): Can't use (openmap.Projection = null) property as a projection class, need a class name instead. Using default of com.bbn.openmap.proj.Mercator.

When I call
  MapPanel mapPanel = new BasicMapPanel();

which I need to do before I can
    mapBean = mapPanel.getMapBean();
    mapBean.setProjection(new com.bbn.openmap.proj.Mercator(currentPos,65000f,1024,768));

Which is where I set the projection? Do I need to set the projection elsewhere first somehow?

Thanks,

Mark Potter.

********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************
--
[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 Dec 16 2004 - 05:50:41 EST

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