Class ComputeDataForMapIcon

An object with data shared between the differents objects that are building the note ( TranslationRotationFinder, ArrowAndTooltipFinder, StreetFinder and SvgBuilder )

Source : file core/mapIcon/ComputeDataForMapIcon.js at line 34

Constructor

new ComputeDataForMapIcon ( )

The constructor

Source : file core/mapIcon/ComputeDataForMapIcon.js at line 40

Public properties

direction : String

The direction to follow ( = the angle of the outgoing street after the rotation of the svg icon )

Source : file core/mapIcon/ComputeDataForMapIcon.js at line 70

directionArrow : String

The arrow to display in the address

Source : file core/mapIcon/ComputeDataForMapIcon.js at line 77

nearestItineraryPointObjId : Number

The objId of the nearest itinerary point

Source : file core/mapIcon/ComputeDataForMapIcon.js at line 49

positionOnRoute : Number

The position on the Route. Must be a property of the ICON_POSITION enum

Source : file core/mapIcon/ComputeDataForMapIcon.js at line 63

rcnRef : String

The rcnRef number for bike ( when a bike network exists near the note position )

Source : file core/mapIcon/ComputeDataForMapIcon.js at line 84

rotation : Number

The rotation of the svg icon needed to have the incoming street oriented from the bottom of the icon

Source : file core/mapIcon/ComputeDataForMapIcon.js at line 91

route : Route

The route for witch the note will be created

Source : file core/mapIcon/ComputeDataForMapIcon.js at line 56

translation : Array of Number

The translation needed to have the note position at the center of the svg icon ( = the translation in pixel from the map origin.)

Source : file core/mapIcon/ComputeDataForMapIcon.js at line 99