API Documentation

Public APIs

geKMZ.aspx – Return the fully formed KMZ file for a Project

                Parameters(2): int ProjectID, int LOD
                Example geKMZ?c=ProjectID&r=(either LOD or -1)

Functions called at /services/vt.asmx all return JSON formatted values     

getGEStyle – Returns the list of Google Earth Styles for a given Project

                                Parameters(2): int projectID, (optional) string Callback

GetBubbletypes – Returns the template used to format content for a given Project

                Parameter(2): int ProjectID, (optional) string Callback

GetFolders – Return a list of Folders for a given Project

                Parameters(2): int ProjectID, (optional) string Callback

GetFolderOverview – Returns a list of Folders for a given Project with the counts of how many Placemarks, PhotoOverlays, and GroundOverlays are contained in the folder

                Parameters(2): int ProjectID, (optional) string Callback

  – Returns a list

GetLOD – Returns a list of LOD IDs for a given Project

                Parameters(2): int ProjectID, (optional) string Callback

GetInnerKML – Returns all pertinent information for a Placemark, Ground/Photo Overlay or Style focused mainly on the KML contained in the element tags

                Parameters(2): string Type_ID, (optional) string Callback
Type_ID should be in the format Placemark_2345754 where Placemark is the Type and 2345754 is the ID

GetSearchResults – Returns a list of Placemarks, and Photo/Ground Overlays which contain the keyword

                Parameters(3): int ProjectID, string Keyword, (optional) string Callback

getPlacemark – Returns a single placemark record with information about the containing folder

                Parameters(2): int PlacemarkID, (optional) string Callback

getPlacemarksByFolderId – Returns a list of Placemark records based on the ID of the containing Folder

                Parameters(2):  int FolderID, (optional) string Callback

getFolderContentJSON – Returns all content of a folder including subfolders

                Parameters(3): int ProjectID, int FolderID, (optional) string Callback

getCampaignsJSON – Returns a list of Projects available to the public

                Parameters(1): (optional) string Callback

getAccountInfo – Returns all the information about an account with a given email except Password

                Parameters(2): string email, (optional) string Callback

getFolderContent – Returns the contents of a given folder in XML format

                Parameters(3): int ProjectID, int FolderID, (optional) string Callback

getFolderOverlays – Returns a list of Photo and Ground Overlays for a given Folder

                Parameters(2): int FolderID, (optional) string Callback

getFolderInfo – Returns the record and all information identified by FolderID

                Parameters(2): int FolderID, (optional) string Callback

getIconHref – Return the web URL of the icon

                Parameters(2): string styleUrl, (optional) string Callback

GetCameraView – Return the cameraview object of a given element

                Parameters(3): int ID, string Type, (optional) string Callback

Depreciated APIs

getGMTrailOverlay (depreciated) – Returns a list of segments  ordered by mile markers

getGMTrailOverlayByLocation (depreciated) – Returns a list of segments for a given county

getGMTrailOverlayByDate (depreciated) – Returns a list of segments completed on a given date

getGMSegmentsByBox (depreciated) – Returns a list of segments not yet sponsored for a trail

getCountiesByStateList (depreciated) – Returns a list of counties by State

validatePromo (depreciated) – Is the promo code being used valid

GetKMLFileDetails (depreciated) – return the information about the last KML file uploaded

GetStyleMapsGrid (depreciated) – Returns all pertinent style and stylemap information for a given Project

Private APIs

(available at /admin/services/vt.asmx)  Specific to the Map-N-Tour admin panel

updateFolderView – updates which objects are visible, and/or expanded based on a list

                updatelist, callback

GetAdminCampaigns – Return all campaigns the logged in user can administer

                userId, callback

CreateGEPlacemark – Create a Google Earth Placemark

                ProjectId, folderId, lodid, visibility, userAccess, (opt) {bubbletemplatename, styleURL, iconHref, iconScale, iconColor, labelScale, labelColor, name, description, extendedData, callback}

updateGESortOrder – update the sort order in a folder

                folderId, sortedlist, callback

UpdateGEPlacemark – Modify an already existing Placemark

                Id, ProjectId, folderId, lod, visibility, userAccess (opt) {bubbletemplatename, styleURL, iconHref, iconScale, iconColor, labelScale, labelColor, name, description, callback}

GridOverviewSave – Save changes to an object made in the admin panel overview

                ProjectId, Id, visibility, useraccess, folderId, lod (opt) {name, externalId, styleUrl, iconHref, iconScale, iconColor, labelScale, labelColor, callback}

GridOverviewSaveLine – Save changes to a linestring made in the admin panel overview

                ProjectId, Id, visibility, useraccess, folderId, lod (opt) {name, externalId, styleUrl, iconHref, lineWidth, lineColor, callback}

GridOverviewSavePoly – Save changes made to a polygon in the admin panel overview

                ProjectId, Id, visibility, useraccess, folderId, lod (opt) {name, externalId, styleUrl, iconHref, lineWidth, lineColor, polyFillOutline, polyColor, callback}

GridOverviewDelete – delete an object from the admin panel overview

                Id, ProjectId, (opt) {Type, path, callback}

UpdateFolderOverview – update status (open, active) of a folder

                ProjectId, parentFolderId, folderId, isOpen, active, (opt) {label, callback}

deleteFolder – delete the given folder

                FolderID, (opt) callback

UpdateIcon – update the given icon with either a new name or file

                ProjectId, iconId, (opt) name, filename, callback

DeleteIcon – delete the given icon

                iconId, (opt) callback

SetSnapshot – set the “Snapshot” view of a given object

                ID, KML, (opt) callback

UpdateInnerKML – update the innerKML of an object

                ID, KML, (opt) callback

UpdateSortOrder – update the sort order in a given folder

                SortedList, FolderId

movePlacemarkToFolder – move the given placemark to a new folder

                ProjectID, folderId, ID

moveOverlayToFolder – move the given overlay to a new folder

                ProjectId, folderId, ID

UpdateFolder – update the status of a folder (open/ active) as well as the name if desired

                ProjectId, ID, parentId, isOpen, isActive, (opt) name

GetPlacemarksForGrid – Returns a list of Placemarks  including the following information:  ProjectID, PlacemarkId, UserAccess, Type, ExternalID, FolderID, FolderLabel, FolderSortOrder, Name, Visibility, UpdateDate, SortOrder, LodLabel, LodId,StyleURL, styleIconHref, StyleInnerKML

                Parameters(7): int projectID, (optional) int folderId, int UserLevel, (optional) int PlacemarkID, (optional) string type, (optional) string filter, (optional) string Callback

GetIconOverview – return the list of icons for a given project

                ProjectId, (opt) callback

CheckViewURL – check the given URL to make sure it is valid

                URL, (opt) callback

ProcessKMLFile – process the most recently uploaded KML/KMZ file for a project

                ProjectId, userAccess, visibility, (opt) template, callback

UpdateCameraView – update the cameraview of an object

                ID, lat, lon, alt, tilt, heading, range, (opt) Mode, type, callback

ValidateHyperLinks – validate all Hyperlinks in a project at least return something.

                ProjectID, (opt) callback

 ​