• Home & Sliders This is a Sub-Title
    • 7 Different Homepage Sliders
    • Feature Header Sliders Only
      • Accordion slider
      • Roundabout Slider
    • FH & Shortcoded Sliders
      • The Revolution Slider
      • The Fotorama Slider
      • Ken Burner Slider
      • Nivo Slider
    • The Carousel Slider
    • SlideShow For Pages & Posts
  • Theme Features Check These Out!
    • Admin Panel Help Text
    • 7 Page Templates
      • A Full Width Page
      • Left sidebar
      • Right Sidebar
      • Landing Page
      • Page with Comments
      • Page with Sitemap
    • Boxed Layout Option
    • Shortcode Generator
    • 16 Custom Widgets
    • Huge Typography Options
    • Fonts – Font Awesome, Google, Cufon, @fontface & more!
    • MultiFunction Featured Header Area
      • Title Only
      • Custom Text Only
      • Title & Custom Text
      • Custom Text & Slideshow
      • Title and Slideshow
      • Disable
    • Individually Customizable Pages
  • Shortcodes 110 + shortcodes
    • Design & Layout
      • Columns
      • Styled Boxes
      • Content Box
      • Slogans
      • Tables
      • Tabs & Accordion & Toggles
    • Typography
    • Animated Milestone
    • Progress & Pie Progress
    • Icon Box
    • Process Steps
    • Testimonials
    • Lightbox
    • Buttons
    • Media
      • Video & Audio
      • Gallery
      • Images
      • Slideshow
      • Carousel Sliders
    • Google Maps
    • Google Chart
    • Widgets
    • Blog Posts
    • Portfolio Posts
    • Masonry
    • Sitemap
  • Portfolio Showcase
    • Sortable
      • Portfolio 1 Column
      • Sortable Portfolio Multiple Columns
    • Paging
      • Portfolio 1 Column
      • Portfolio Paging – Multiple Columns
    • Multiple Portfolios
    • With Sidebar
  • Blog Postlist
    • Blog with Fullwidth Image
    • Blog With Left Float Image
    • Blog With Right Float Image
    • Blog Framed Mode
    • Blog – Multiple Columns
Home » Shortcodes » Google Maps

Google Maps

  • Parameters
  • Shortcode Option Panel

Parameters

  • width
  • height
  • address: Address on which the viewport will be centered.
  • latitude: Point on which the viewport will be centered. If not given and no markers are defined the viewport defaults to world view.
  • longitude: Same as above but for longitude…
  • zoom: Zoom value from 1 to 19 where 19 is the greatest and 1 the smallest.
  • html: Content that will be shown within the info window for this marker.
  • popup: If true the info window for this marker will be shown when the map finished loading. If “html” is empty this option will be ignored.
  • controls: A simple array of string values representing the function names (without “()”) to add controls. Please refer to the Google Maps API for possible values. If empty the default map controls will be applied.
  • scrollwheel: Set to false to disable zooming with your mouses scrollwheel. If “controls” is not set this option will be ignored (because default map controls are applied).
  • maptype: Predefined variable for setting the map type. Please refer to the
    Google Maps API for possible values.
  • marker: Set to false to disable display a marker in the viewport.

Shortcode Option Panel

Google Maps Shortcode Options Panel
Google Maps Shortcode Options Panel
Top

Simple map with marker

Displays a simple map with controls and adds one marker. The viewport gets centered automatically.

[gmap latitude="47.660937" longitude="9.569803"]
Top

Different map type

Changes the map type to physical view.

[gmap maptype="TERRAIN" marker="false" zoom="10"]
Top

Map without controls

[gmap controls="false" scrollwheel="false" marker="false" zoom="3"]
Top

Map with marker and info window

[gmap latitude="47.660937" longitude="9.569803" html="Tettnang, Germany" popup="true" zoom="10"]
Top

Map with address

you can use address instead of latitude/longitude.
gMap automatically geocodes the given string and places a marker and center the viewport.

[gmap address="Tettnang, Germany" html="Tettnang, Germany" zoom="10"]
Top

Fullwidth Gmap in the Feature Header Area

  • Featured Header Code
  • Custom CSS
  • The Code

Feature Header Area Code

To get a fullwidth gmap into the feature header gmap shortcode needs to be inserted into the Feature Header Custom text-area in the Striking Page General options of that page and make sure the Feature Header Type is set to display that area only.

Insert striking Gmap Shortcode in Feature Header Custom text area
Gmap Shortcode in Feature Header Custom text area.

Custom CSS is Needed

After that in the same Striking Page General options Custom CSS is needed to alter the behaviour of the Feature Header.

Insert Gmap Shortcode in Featured Header Custom CSS
Gmap Shortcode in Featured Header Custom CSS
The Shortcode for the Fullwidth Gmap : in the Striking Page Options -> Feature Header Settings -> Feature Header Custom Text Area field

[gmap zoom="3" latitude="51.51121389999999" longitude="-0.11982439999997041" popup="false" controls="true" align="center" width="100%" scrollwheel="false" html="London UK, Map center"]
The Custom CSS for the Fullwidth Gmap : in the Striking Page Options -> Page Design Settings -> Custom CSS Text field
#feature .inner { width:100%; padding: 0px; } #introduce { padding:0px; } #feature .bottom_shadow, #feature .top_shadow, .has-shadow #feature .bottom_shadow, .has-shadow #feature .top_shadow {display:none;} #feature .inner .gmap_marker { color:#3867b1; }
Top
Note: Gmaps center on pageload not on page resize or swap from landscape to portrait or vice versa.

Shortcodes

  • Columns
  • Typography
  • Animated Milestone
  • Progress & Pie Progress
  • Icon Box
  • Process Steps
  • Slogans
  • Styled Boxes
  • Content Box
  • Testimonials
  • Lightbox
  • Tables
  • Buttons
  • Video & Audio
  • Gallery
  • Images
  • Slideshow
  • Carousel Sliders
  • Google Maps
  • Google Chart
  • Widgets
  • Tabs & Accordion & Toggles
  • Blog Posts
  • Portfolio Posts
  • Masonry
  • Sitemap

Photos on flickr

    Popular Posts

    • Pertinacia scriptorem proinc
      Pertinacia scriptorem proinc September 30, 2010
    • Sed porttitor auctor magna.
      Sed porttitor auctor magna. September 30, 2010
    • Ei iudico iuvaret abhorr eantusu
      Ei iudico iuvaret abhorr eantusu September 30, 2010

    Meta

    • Log in
    • Entries feed
    • Comments feed
    • WordPress.org

    Contact Us

    (+40) 111 222 333

    test*test.com

    the address

    city, state 1111

    Keep In Touch

    Follow Us on FacebookFollow Us on FlickrFollow Us on LinkedInFollow Us on MySpaceFollow Us on Twitter

    Email Us

    Your message was successfully sent. Thank You!

    • Features
    • Shortcodes
    • Portfolios
    • Blog
    • Sitemap
    Copyright All Rights Reserved