From Mapbuilder 1.5rc1 on, the new Proj4js library is used for projecting maps and features.
Proj4js.defs["EPSG:31258"] = "+proj=tmerc +lat_0=0 +lon_0=13.33333333333333 +k=1 +x_0=450000 +y_0=-5000000 +ellps=bessel +towgs84=577.326,90.129,463.919,5.137,1.474,5.297,2.4232 +units=m +no_defs ";
Replace "31258" in the above url with your EPSG code.
Prior to Mapbuilder 1.5rc1
This is information started from an email from Mike Adair:
Projection support in mapbuilder is a direct port of the Proj4 C library to
project. The way it works is (and my explanation is probably not very
rigorous as I'm not really an expert on this stuff):
Projections generally belong to a class like Lambert Conformal Conic (LCC),
Polar Stereographic (PS), Universal Transverse Mercator (UTM), etc. These
define the mathematical equations that are used to go from a
latitude/longitude coordinate system to projected map and it is these
equations that are implemented in the Proj.js library. Specific instances
of these classes are identified by their EPSG codes (and eventually by CRS
definitions) and will have specific initialization parameters for that class
of projection (eg. Standard parallels, earth ellipsoids and datums)
So to support a new projection, what is required is to implement the
initialization parameters with WKT from the EPSG database. (I hope to
convert this to a web service lookup for unknown EPSG codes and CRS URNs,
Our intent is to factor out projection code into a seperate library. This has already started and is discussed on the firstname.lastname@example.org email list. This list is also a good place for advice on how to add a new projection.