QGoogleMap

QGoogleMap will draw a Google Map using the provided API key. An API key needs to be generated for the domain you plan to use this control on.

Attributes:

  • AddAddress() takes three parameters - Address, Info Window Text, Menu Link Text
  • MapKey: The unique API key for your domain. STRING
  • MapSensor: Set this to true if you use a GPS sensor to gather data. BOOLEAN Default = FALSE
  • MapWidth: Map Width. INTEGER Default = 500
  • MapHeight: Map Height. INTEGER Default = 300
  • MapZoom: Zoom Level. INTEGER Default = 13
  • IconStyle: Which marker to use. STRING Default = GT_FLAT
    • Other Options:
    • FLAG
    • GT_PILLOW
    • HOUSE
    • PIN
    • PUSH_PIN
    • STAR
  • IconColor: Color scheme to use. STRING Default = PACIFICA
    • Other Options:
    • YOSEMITE
    • MOAB
    • GRANITE_PINE
    • DESERT_SPICE
    • TAHITI_SEA
    • POPPY
    • NAUTICA
    • SLATE
  • MapControl: The map control system. STRING Default = SMALL_PAN_ZOOM
    • Other Options:
    • NONE
    • LARGE_PAN_ZOOM
    • SMALL_ZOOM
  • ContinuousZoom: Toggle continuous zoom. BOOLEAN Default=FALSE
  • DoubleClickZoom: Toggle double-click zoom. BOOLEAN Default=FALSE
  • MapScale: Show/Hide the map scale. BOOLEAN Default=TRUE
  • MapInset: Show/Hide the map inset. BOOLEAN Default=FALSE
  • MapType: Show/Hide the map type switcher. BOOLEAN Default=FALSE
  1. The White House
  2. The Capitol Building