Plugin : Google map
Author:Rex.Rainbow
- Display google map at a div element.
Download
Properties
Map type
- Map type.
- Options : ["Roadmap","Satellite","Terrain","Hybrid"]
Zoom level
- Zoom level of the map. Set (-1) to ignore this parameter.
Back ground color
- Color used for the background of the Map div. This color will be visible when tiles have not yet loaded as the user pans. This option can only be set when the map is initialized.
UI
- User interface configuration.
Default UI
- Enables/disables all default UI.
- Options : ["Disabled","Enabled"]
Keyboard shortcuts
- Set disabled to prevent the map from being controlled by the keyboard.
- Options : ["Disabled","Enabled"]
UI - Drag
Draggable
- Set disabled to prevent the map from being dragged.
- Options : ["Disabled","Enabled"]
Draggable cursor
- The url of the cursor to display when mousing over a draggable map.
Dragging cursor
- The url of the cursor to display when the map is being dragged.
UI - Full screen
Fullscreen control
- The enabled/disabled state of the Fullscreen control.
- Options : ["Disabled","Enabled"]
Fullscreen control position
- Specify the position of the control on the map.
- Options : ["Bottom center","Bottom left","Bottom right","Left bottom","Left center","Left top","Right bottom","Right center","Right top","Top center","Top left","Top right"]
UI - Map type
Map type control
- The initial enabled/disabled state of the Map type control.
- Options : ["Disabled","Enabled"]
Map type control position
- Specify the position of the control on the map.
- Options : ["Bottom center","Bottom left","Bottom right","Left bottom","Left center","Left top","Right bottom","Right center","Right top","Top center","Top left","Top right"]
Map type control style
- Select what style of map type control to display.
- Options : ["Default","Dropdown menu","Horizontal bar"]
UI - Zoom
Max zoom level
- Max zoom level of the map. Set (-1) to ignore this parameter.
Min zoom level
- Min zoom level of the map. Set (-1) to ignore this parameter.
Zoom control
- The enabled/disabled state of the Zoom control.
- Options : ["Disabled","Enabled"]
Zoom control position
- Specify the position of the control on the map.
- Options : ["Bottom center","Bottom left","Bottom right","Left bottom","Left center","Left top","Right bottom","Right center","Right top","Top center","Top left","Top right"]
Double-click zoom
- Enables/disables zoom and center on double click.
- Options : ["Disabled","Enabled"]
Scroll wheel
- If false, disables scrollwheel zooming on the map.
- Options : ["Disabled","Enabled"]
UI - Rotate
Rotate control
- The enabled/disabled state of the Rotate control.
- Options : ["Disabled","Enabled"]
Rotate control position
- Specify the position of the control on the map.
- Options : ["Bottom center","Bottom left","Bottom right","Left bottom","Left center","Left top","Right bottom","Right center","Right top","Top center","Top left","Top right"]
UI - Scale
Scale control
- The initial enabled/disabled state of the Scale control.
- Options : ["Disabled","Enabled"]
Actions
Load
Action:Set center
- Set center.
- Latitude ( number ) : Latitude.
- Longitude ( number ) : Longitude.
Map type
Action:Set map type
- Set map type.
- Map type ( Combo ) : Map type.
- Options : ["Roadmap","Satellite","Terrain","Hybrid"]
Refresh
Action:Refresh
- Refresh the map displaying in case of graphical issues.
Snapshot
Action:Snapshot
- Take a screenshot of the current map.
Zoom level
Action:Set zoom level
- Set zoom level.
- Zoom level ( number ) : Zoom level of the map. Set (-1) to clean this parameter.
Expressions
Center
Expression:CenterLatitude
- Get latitude of center position.
Expression:CenterLongitude
- Get longitude of center position.
Event
Expression:LastLatitude
- Get latitude returned by the last triggered event.
Expression:LastLongitude
- Get longitude returned by the last triggered event.
Snapshot
Expression:Snapshot
Conditions
Input
Condition:On clicked
- Triggered when map clicked.
Load
Condition:On map loaded
- Triggered when map loaded.
Snapshot
Condition:On snapsot
- Triggered when the snapshot of current map is ready.