On Wed, 5 Jan 2011, Dirk Stöcker wrote:

   I want to write a plugin that adds a projection. Since the projection is
 somewhat outlandish I don't want to add the projection to the core.

 Existing plugins that do this go the somewhat clumsy route of having their
 own menu button or something because they cannot add themselves to the
 static final projection list defined in the interface Projection.java.

 I suggest moving this "master list" of projections to the
 ProjectionPreference class where it could then be modified by plugins.

 Ok?

Please use something like "addProjection()" at a proper place, so we can change internals later. I already suggested something alike to the one doing the other external projection plugin, but it seems he lost interest in that topic.

P.S. You don't BTW want to add libproj4 support (at least for Linux). Would be very nice ...

Ciao
--
http://www.dstoecker.eu/ (PGP key available)
_______________________________________________
josm-dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/josm-dev

Reply via email to