Plugin : Marker

Author:Rex.Rainbow

Download

Properties

Title

  • Rollover text.

Animation

  • Animation.
    • Options : ["None","BOUNCE","DROP"]

Label

Label text

  • The text to be displayed in the label. Only the first character of this string will be shown.

Label color

  • The color of the label text.

Label font family

  • The font family of the label text (equivalent to the CSS font-family property).

Label font size

  • The font size of the label text (equivalent to the CSS font-size property). Default size is 14px.

Label font weight

  • The font weight of the label text (equivalent to the CSS font-weight property).

Icon

Icon url

  • The URL of the image or sprite sheet.

Icon scaled width

  • The size of the entire image after scaling. Set (-1) to use default value.

Icon scaled height

  • The size of the entire image after scaling. Set (-1) to use default value.

UI - Drag

Clickable

  • If true, the marker receives mouse and touch events.
    • Options : ["Disabled","Enabled"]

Draggable

  • If true, the marker can be dragged.
    • Options : ["Disabled","Enabled"]

Appearance

Opacity

  • The marker's opacity between 0.0 and 1.0.

Visible

  • If true, the marker is visible.
    • Options : ["Invisible","Visible"]

Actions

Animation

Action:Start

  • Start animation.
    • Type ( Combo ) : Animation type.
      • Options : ["bounce","drop"]

Action:Stop

  • Stop animation.

Appearance

Action:Set visible

  • Set visible status.
    • Visible ( Combo ) : Visible status.
      • Options : ["Invisible","Visible"]

Put

Action:Put on map

  • Put this marker on map.
    • Map ( object ) : Map object.
    • Latitude ( number ) : Latitude.
    • Longitude ( number ) : Longitude.

Title

Action:Set title

  • Set title.
    • Title ( string ) : Rollover text.

Expressions

Position

Expression:Latitude

  • Get latitude of current position.

Expression:Longitude

  • Get longitude of current position.

Title

Expression:Title

  • Get title.

Conditions

Input

Condition:On clicked

  • Triggered when marker clicked.

Put

Condition:Is on map

  • Return true if this marker is on the map.