Map

Property Function Type
Url Iframe code of embedded Bing, Google, etc., map

Actions editor:
Property > Map > Url
Code:
widget.content.mapUrl
string
Google api Your google maps api key

Actions editor:
Property > Map > Google api
Code:
widget.content.googleApiKey
string
Use html Enable custom html code

Actions editor:
Property > Map > Use html
Code:
widget.content.useUserHtml
bool
Disable ui Hide map controls

Actions editor:
Property > Map > Disable ui
Code:
widget.content.disableDefaultUi
bool
Map type Determines which map type to use

Actions editor:
Property > Map > Map type
Code:
widget.content.mapType
string

Values:
roadmap
satellite
hybrid
terrain
Html Custom html code

Actions editor:
Property > Map > Html
Code:
widget.content.htmlCode
string
Smart scale Update map size at end of widget resize

Actions editor:
Property > Map > Smart scale
Code:
widget.content.smartScale
bool
Latitude Sets latitude coordinates

Actions editor:
Property > Map > Latitude
Code:
widget.content.lat
double
Longitude Sets longitude coordinates

Actions editor:
Property > Map > Longitude
Code:
widget.content.lng
double
Zoom Sets map zoom level

Actions editor:
Property > Map > Zoom
Code:
widget.content.zoom
int

Actions

Property Function
Go to coordinates Change the center position of the map in geographical coordinates: latitude and longitude

Actions editor:
Actions > Common > Go to coordinates
Code:
widget.content.script.actionGotoCoordinates(QString lat, QString lng)
Go to address Show address on map, i.e. 1600 Amphitheatre Pky, Mountain View, CA

Actions editor:
Actions > Common > Go to address
Code:
widget.content.script.actionGotoAddress(QString address)
Show user location if geolocation is enabled Actions editor:
Actions > Common > Show user location if geolocation is enabled
Code:
widget.content.script.actionGotoCurrentLocation()
Set zoom Set zoom level from 1 to 21

Actions editor:
Actions > Common > Set zoom
Code:
widget.content.script.actionSetZoom(int zoom)

results matching ""

    No results matching ""