Description

Displays a Google Map for location or event locations.

Usage

em_display_google_map($args)

Parameters

  • $args | array – an array of parameters (optional)
    • width | string – google map width in pixels or percentage. Defaults to 100%
    • height | string – google map height in pixels or percentage. Defaults to 200px
    • zoom | int – google map zoom level, from 0 to 21. Defaults to 15
    • maptype | string – google map type. Defaults to ‘roadmap’
      • roadmap
      • satellite
      • hybrid
      • terrain
    • maptypecontrol | boolean – enable map type change option. Defaults to TRUE
    • zoomcontrol | boolean – enable zoom. Defaults to TRUE
    • streetviewcontrol | boolean – enable zoom. Defaults to TRUE
    • overviewmapcontrol | boolean – enable map thumbnail. Defaults to FALSE
    • pancontrol | boolean – enable pan change. Defaults to FALSE
    • rotatecontrol | boolean – enable map rotation. Defaults to FALSE
    • scalecontrol | boolean – enable scaling. Defaults to FALSE
    • draggable | boolean – enable dragging. Defaults to TRUE
    • keyboardshortcuts | boolean – enable keyboard controls. Defaults to TRUE
    • scrollzoom | boolean – enable scrolling. Defaults to TRUE

Return

Returns a WP_Post object, or NULL on failure.

3 replies to "em_display_google_map()"

  1. Google Map not working !

    Have a look at my Events Maker WordPress test page :

    http://parisgratuit.com/testwp41/fr/events/location/mairie-paris-75001/

    Help me !

    • Please register to the site and post a support thread for this.

      • I am already registered.
        What can I do ?

Leave a Reply

Please, do not use this form for technical support. To get support for our plugins, use the support forum.

Your email address will not be published. Required fields are marked *