Google Map Shortcodes

Place a Map Anywhere You Want

  • Sample Usages:

    • Page Header
    • Sidebar Widget
    • Content Element
    • Contact Page Box
    • Page Footer
Verkrijg de code

[gmap height="250px" latitude="40.714353" longitude="-74.005973"]

Customize The Entire Look

Verkrijg de code

[gmap height="400px" latitude="40.714353" longitude="-74.005973" marker="standard" color="#ff6c36" marker_icon="/wp-content/uploads/2013/04/gmap_marker_1_v01.png"]You can plce some text here…[/gmap]

Shortcode documentatie

  • ID kaart
    Het id-kenmerk specificeert een id voor een HTML-element.
    Het moet uniek zijn binnen het HTML-document.
    (Voornamelijk voor aanvullende styling / scripting-doeleinden)
  • klasse
    Het class attribuut specificeert een class naam voor een HTML element.
    (Voornamelijk voor aanvullende styling / scripting-doeleinden)
  • width
    Map width eg. 800px (leave it empty to use 100% width)
  • height
    Map height eg. 500px
  • type
    Map interface. Simple has no controls
    Beschikbare opties:
    • simple
    • rich
  • color
  • invert_lightness
    Beschikbare opties:
    • 0 - none
    • 1 - standard
  • map_type
    Beschikbare opties:
    • roadmap
    • satellite
    • hybrid
    • terrain
  • latitude
    To center the map on a specific point (eg. 40.714353 for New York, USA)
  • longitude
    To center the map on a specific point (eg. -74.005973 for New York, USA)
  • zoom
    The initial resolution at which to display the map (default: 15)
  • marker
    Decide if you want to show marker on the map
    Beschikbare opties:
    • none
    • standard
    • open-bubble - with open bubble
  • marker_icon
    optional, if empty default marker will be used