Class MMCustomEmission

Object
   |
   +--MMCustomEmission

class 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:
  • mpg - miles per gallon (US gallon);
  • mpg_imp - miles per gallon (Imperial gallon); or
  • lper100km - liters per 100 kilometers.
 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

name

String name

type

String type

unit

String unit

value

float value

Constructor Detail

MMCustomEmission

MMCustomEmission( )


Documentation generated by JSDoc on Tue Jun 30 13:55:23 2009