Shortcode di Google Maps

Place a Map Anywhere You Want

  • Sample Usages:

    • Page Header
    • Sidebar Widget
    • Content Element
    • Contact Page Box
    • Page Footer
Ottieni il codice

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

Customize The Entire Look

Ottieni il codice

[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 documentation

  • ID
    L'attributo id specifica un id per un elemento HTML.
    Deve essere univoco all'interno del documento HTML.
    (Principalmente per scopi di stile/script aggiuntivi)
  • classe
    L'attributo class specifica un nome di classe per un elemento HTML.
    (Principalmente per scopi di stile/script aggiuntivi)
  • width
    Map width eg. 800px (leave it empty to use 100% width)
  • height
    Map height eg. 500px
  • genere
    Map interface. Simple has no controls
    Opzioni disponibili:
    • semplice
    • rich
  • color
  • invert_lightness
    Opzioni disponibili:
    • 0 - nessuno
    • 1 - standard
  • map_type
    Opzioni disponibili:
    • 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
    Opzioni disponibili:
    • nessuno
    • standard
    • open-bubble - with open bubble
  • marker_icon
    optional, if empty default marker will be used