Difference between revisions of "KML"

From SmartWiki
Jump to: navigation, search
Line 28: Line 28:
 
[[Image:EnableKML.png|link=|120px]]
 
[[Image:EnableKML.png|link=|120px]]
  
Fields that contain ''SmartSimple KML Variables'' will  
+
Fields that contain ''SmartSimple KML Variables'' will display as a "View Map" button in [[view mode]]:
 +
 
 +
{|
 +
! align="center"|[[Image:KMLFieldEditMode.png|link=]]
 +
! [[Image:KMLFieldViewMode.png|link=]]
 +
|-
 +
!Field in Edit Mode
 +
|Field in View Mode
 +
|-
 +
|}
 +
 
 +
 
  
[[Image:KMLFieldEditMode.png|link=]]
 
  
 
==Storing Public KML Files to System Variables==
 
==Storing Public KML Files to System Variables==

Revision as of 10:31, 8 November 2013

KML stands for Keyhole Markup Language and is a file format used to display geographic data in Earth browsers such as Google Earth, Google Maps and Google Maps for Mobile. KML was developed for use with Google Earth, which was originally named Keyhole Earth Viewer. KML uses a tag-based structure with nested elements and attributes and is based on the XML standard. It contains boundary coordinates and placemark information for multiple zones.

There are three ways KML features can be used with SmartSimple.

  1. Upload a KML file to an XML field
  2. Enable KML on a custom field
  3. Use a System Variable to store a link to a public KML file

Uploading a KML File to an XML Field

Enabling KML on Custom Fields

KML can be enabled on the following custom field types:

To do so, edit the custom field and, under General Options, select the "Enable KML" option:
EnableKML.png

Fields that contain SmartSimple KML Variables will display as a "View Map" button in view mode:

KMLFieldEditMode.png KMLFieldViewMode.png
Field in Edit Mode Field in View Mode



Storing Public KML Files to System Variables

Template:UnderConstruction