|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object | +--MMCustomEmission
Defined in MultimapAPI
| Field Summary | |
String |
name
The name or label by which you wish to denote this type of vehicle. |
String |
type
The fuel type used - 'gas', the default, or 'diesel'. |
String |
unit
The fuel economy unit in which carbon emissions are measured:
|
float |
value
The fuel economy value per unit. |
| Constructor Summary | |
MMCustomEmission
( )
This class represents the object literals that can be passed on the MMRoute.custom_emission array property - - it has no constructor, but is instantiated as an object literal, e.g., { 'name' : 'GreenCar', 'value' : '35', 'unit' : 'mpg_imp', 'type' : 'diesel' } |
|
| Field Detail |
String name
String type
String unit
float value
| Constructor Detail |
MMCustomEmission( )
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||