S355 Insert a Google Map

Use the S355 Tag to insert Google Maps on your site. This component can display one or more location markers for single or multiple locations, but you can only add one Google map to each page. The map also provides a link to directions.

Warning: Do not use this S-Tag on a secure site.

Google Maps requires you to configure several Site Options (SDPs):

  • GMAP_ENABLED - Set to TRUE

  • GMAP_API_ADMIN_KEY - Enter the API key for administrative side, supplied by Google at http://code.google.com/apis/maps/signup.html 

  • GMAP_API_USER_KEY = Enter the API key for the user side domain name if different from the administrative side, also obtainable at http://code.google.com/apis/maps/signup.html 

  • GMAP_BASE_URL = Only needed if a secure proxy is to be used; otherwise, not needed

Google Map API documentation is available at https://developers.google.com/maps/documentation

Application

Platform

Can You Add This S-Tag in the WYSIWYG content editor?

No, this S-Tag cannot be added using the WYSIWYG content editor toolbar. Add the S-Tag code to the HTML using the Plain Text editor. 

Can You Add This S-Tag in the Luminate CMS WYSIWYG content editor?

No, this S-Tag cannot be added using the Luminate CMSWYSIWYG content editor. Add the S-Tag code to the HTML using the Plain Text editor in Luminate CMS.

Format

  • Standard
    [[S355:address*title*description*color*width*height*zoom*map controls]]

  • XML
    <convio:session name="355" param="address*title*description*color*width*height*zoom*map controls" />

Parameters

Note: The tokens are separated with an asterisk (*), which are separated from each other by a semicolon (;). For multiple address maps, each address, title, and marker color is separated with a semicolon (see examples, below).  Each multiple map control is also separated with a semicolon. 

  • Address - Must include at least one of state, zip, and country; city and street are optional with state and zip

  • title - Descriptive title to render in the map

  • description - Brief (because embedded in the map itself) text contextualizing the map

  • color - Color of the markers

  • width - Integer in pixels for display

  • height - Integer in pixels for display

  • zoom - Initial zoom level

  • controls - Semicolon-separated list of map controls

Sample Code

  • Standard

    Single-address example, creates a map centered on Austin TX, with a blue marker, 300x300px map, auto zoom level, and a small map control:

    [[S355:Zilker Park, Austin, TX*Zilker!*Austin's weirdest park!*purple*400*400*3*GSmallMapControl;GScaleControl]]

    Multi-address example that creates a map with both Austin TX and Dallas TX:

    [[S355:AustinTX;DallasTX*Austin;Dallas*KeepAustinWierd;ThinkBig*blue;red*300*300*-1*GSmallMapControl;GScaleControl;GMapTypeControl]]

  • XML

    <convio:session name="355" param="Zilker Park, Austin, TX*Zilker!*Austin's weirdest park!*purple*400*400*3*GSmallMapControl;GScaleControl"> </convio:session>

  •