Maps » Documentation

Virtually every value of the software can be set as defaults or can be changed or added to on the fly through your calling program.

Where applicable, values should be passed as arrays if more than one series is being provided.

Map of Australia and New Zealand

Set the Title - String
$newitem-> setTitle($title);

Set the State (Case Insensitive) - array("nsw","vic" ... etc)
$newitem-> setState($state);

Set the Colors - array("RRGGBB","RRGGBB" ... etc)
$newitem-> setColor($color);

Set the Value - Numeric array(10, 20 ... etc)
$newitem-> setValue($value);

Set the Default fill Color - String "RRGGBB"
$newitem-> setDefaultColor($defaultcolor);

Map of United States of America

Set the Title - String
$newitem-> setTitle($title);

Set the State (Case Insensitive) - array("wa","ca" ... etc)
$newitem-> setState($state);

Set the Colors - array("RRGGBB","RRGGBB" ... etc)
$newitem-> setColor($color);

Set the Default fill Color - String "RRGGBB"
$newitem-> setDefaultColor($defaultcolor);

Map of the World

Set the Title - String
$newitem-> setTitle($title);

Set the Country (Case Insensitive) - array("us","au" ... etc)
$newitem-> setCountry($country);

Set the Colors - array("RRGGBB","RRGGBB" ... etc)
$newitem-> setColor($color);

Set the Default fill Color - String "RRGGBB"
$newitem-> setDefaultColor($defaultcolor);