Constructor Summary |
|---|
|
MapMaker
(
)
Create a MapMaker object
|
Method Summary |
|---|
|
createMapx (1)
(
filename
)
Creates a Mapx object using a predefined projection definition.
|
|
createMapx (2)
(
server
,
filename
)
Creates a Mapx object by loading a predefined definition from a remote server
|
|
createMapx (3)
(
projection_name
,
lat0
,
lon0
,
lat1
,
lon1
,
rotation
,
scale
,
center_lat
,
center_lon
,
south
,
north
,
west
,
east
,
lat_interval
,
lon_interval
,
label_lat
,
label_lon
,
cil_detail
,
bdy_detail
,
riv_detail
,
equatorial_radius
,
eccentricity
)
Creates a Mapx object by loading in the necessary values manually.
|
var mm = new MapMaker();
// Creates a new MapMaker object.
var mx = mm.createMapx('East.mpp');
// Generates a Mapx object based on the East.mpp definitionvar mx = mm.createMapx('http://someserver.com/path/', 'def.mpp');
// Leads the file at http://someserver.com/path/def.mpp, and
// creates a Mapx object based on the definition in the filevar mx = mm.createMapx('Azimuthal Equal-Area', 90, 0, 0, 0,
0, 1, 90, 0, 0, 90, -180, 180, 15, 30, 0, 0,
0, 0, 1, 6371228.0, 0);
// Creates a Mapx object using the Azimuthal Equal-Area projection
// and the parameters given above.