Rex's plugins for Construct2
  • Home
  • Map
  • Tutorial/Templates
  • News
  • About

rex_googlemap_api

Plugin, ACE table, Discussion thread
Dependence: None


Introduction
Load google map api.

Usage
Sample capx
Load API
Set property "
Initial loading" to "Yes", or call "Action:Load" to load google map api. An application only could load google map once.
"Condition:On loaded" will be triggered while api loaded completed, otherwise "Condition:On loaded" will be triggered. "Condition:Is loaded" will return true if api is loaded.
Set API key
Set api key in property "API key", designer could ignore it when preview.
Set language
User could assign display language in property "Language code", or "Action:Set language code" before loading api. This displayed language can not be changed on fly once api is loaded,
Get language code in this page. Set language code to "" to use local language.
Set API URL
API URL could be assigned in property "API URL", or "action:Set API URL". Sets this property to "maps.google.cn" for China user.

Create a free web site with Weebly
  • Home
  • Map
  • Tutorial/Templates
  • News
  • About