+ /** A boolean indicating if the primary button, such as the left mouse button or a tap on a touch screen, was used during a mouse down or up event. */
+ isPrimary:boolean;
+
+ /** A boolean indicating if the secondary mouse button, such as the right mouse button, was used during a mouse down or up event. */
+ isSecondary:boolean;
+
/** If the target is a shape, this will be the layer that the shape is in. */
* Defines the the icon to use for the pushpin.This can be a URL to an Image or SVG file, an image data URI, or an inline SVG string.
- * Tip: When using inline SVG, you can pass in a placeholder {color} in your SVG string for fill or stroke colors.This will be replaced by the
- * pushpins color property value when rendered.
+ * Tip: When using inline SVG, you can pass in placeholders `{color}` and `{text}` in your SVG string. This placeholder will be replaced by the pushpins color or text property value when rendered.
/** A boolean indicating whether to display a warning about walking directions. Default: true */
displayWalkingWarning?:boolean;
+ /** The polyline options that define how to draw the route line on the map, if the RouteMode is driving. */
+ drivingPolylineOptions?:IPolylineOptions;
+
+ /** The pushpin options that define how the first waypoint should be rendered. */
+ firstWaypointPushpinOptions?:IPushpinOptions;
+
/** The DOM element inside which the directions itinerary will be rendered. */
itineraryContainer?:HTMLElement;
+ /** The pushpin options that define how the last waypoint should be rendered. */
+ lastWaypointPushpinOptions?:IPushpinOptions;
+
/** A boolean indicating whether to show the input panel. Default: false */
showInputPanel?:boolean;
+
+ /** The options that define how to draw the route line on the map, if the RouteMode is transit. */
+ transitPolylineOptions?:IPolylineOptions;
+
+ /** The options that define how to draw the route line on the map, if the RouteMode is walking. */
+ walkingPolylineOptions?:IPolylineOptions;
+
+ /** The options that define the pushpin to use for all route waypoints by default. The first and last waypoints in the route will be overriden by firstWaypointPushpinOptions and lastWaypointPushpinOptions if set. */