Add new MapPoint code for geolocation, Thingy searching and indexing and a macro for rendering thing data outside of the Thingy.
This commit is contained in:
parent
944c76040a
commit
61534779d5
24 changed files with 1442 additions and 176 deletions
|
|
@ -168,11 +168,133 @@ our $I18N = {
|
|||
lastUpdated => 0,
|
||||
context => "Choose from the list of points that existon the map",
|
||||
},
|
||||
|
||||
'assetName' => {
|
||||
message => "Map",
|
||||
lastUpdated => 0,
|
||||
context => "Name of this asset",
|
||||
},
|
||||
|
||||
'canAddPoint' => {
|
||||
message => "A boolean which is true if the current user can add a new point to the map",
|
||||
lastUpdated => 0,
|
||||
context => "template variable help",
|
||||
},
|
||||
|
||||
'canEdit' => {
|
||||
message => "A boolean which is true if the current user can edit this Map asset",
|
||||
lastUpdated => 0,
|
||||
context => "template variable help",
|
||||
},
|
||||
|
||||
'map asset template variables' => {
|
||||
message => "Map Asset Template Variables",
|
||||
lastUpdated => 0,
|
||||
context => "template variable help",
|
||||
},
|
||||
|
||||
'view template' => {
|
||||
message => "Map Asset View Template",
|
||||
lastUpdated => 0,
|
||||
context => "template variable help",
|
||||
},
|
||||
|
||||
'groupIdAddPoint' => {
|
||||
message => "The GUID of the group that can add points to the Map",
|
||||
lastUpdated => 0,
|
||||
context => "template variable help",
|
||||
},
|
||||
|
||||
'mapApiKey' => {
|
||||
message => "The Google Maps API key",
|
||||
lastUpdated => 0,
|
||||
context => "template variable help",
|
||||
},
|
||||
|
||||
'mapHeight' => {
|
||||
message => "The height of the map, in pixels",
|
||||
lastUpdated => 0,
|
||||
context => "template variable help",
|
||||
},
|
||||
|
||||
'mapWidth' => {
|
||||
message => "The width of the map, in pixels",
|
||||
lastUpdated => 0,
|
||||
context => "template variable help",
|
||||
},
|
||||
|
||||
'startLatitude' => {
|
||||
message => "The starting latitude of the map, for the center",
|
||||
lastUpdated => 0,
|
||||
context => "template variable help",
|
||||
},
|
||||
|
||||
'startLongitude' => {
|
||||
message => "The starting longitude of the map, for the center",
|
||||
lastUpdated => 0,
|
||||
context => "template variable help",
|
||||
},
|
||||
|
||||
'startZoom' => {
|
||||
message => "The starting zoom level of the map",
|
||||
lastUpdated => 0,
|
||||
context => "template variable help",
|
||||
},
|
||||
|
||||
'templateIdEditPoint' => {
|
||||
message => "The GUID of the template for addding or editing a point.",
|
||||
lastUpdated => 0,
|
||||
context => "template variable help",
|
||||
},
|
||||
|
||||
'templateIdView' => {
|
||||
message => "The GUID of the template for viewing the map.",
|
||||
lastUpdated => 0,
|
||||
context => "template variable help",
|
||||
},
|
||||
|
||||
'templateIdViewPoint' => {
|
||||
message => "The GUID of the template for viewing a point of the map.",
|
||||
lastUpdated => 0,
|
||||
context => "template variable help",
|
||||
},
|
||||
|
||||
'workflowIdPoint' => {
|
||||
message => "The GUID of the workflow for committing a Map Point.",
|
||||
lastUpdated => 0,
|
||||
context => "template variable help",
|
||||
},
|
||||
|
||||
'mapPoints' => {
|
||||
message => "A loop of map points. See the MapPoint template variables for a list of available ones.",
|
||||
lastUpdated => 0,
|
||||
context => "template variable help",
|
||||
},
|
||||
|
||||
'mapPoints' => {
|
||||
message => "A loop of map points. See the MapPoint template variables for a list of available ones.",
|
||||
lastUpdated => 0,
|
||||
context => "template variable help",
|
||||
},
|
||||
|
||||
'button_addPoint' => {
|
||||
message => "A templated button with internationalized label to add a button.",
|
||||
lastUpdated => 0,
|
||||
context => "template variable help",
|
||||
},
|
||||
|
||||
'button_setCenter' => {
|
||||
message => "A templated button with internationalized label to set the center of the map back to the default.",
|
||||
lastUpdated => 0,
|
||||
context => "template variable help",
|
||||
},
|
||||
|
||||
'selectPoint' => {
|
||||
message => "A templated dropdown to center the map on a point, and to display it's information.",
|
||||
lastUpdated => 0,
|
||||
context => "template variable help",
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
1;
|
||||
|
|
|
|||
|
|
@ -133,7 +133,16 @@ our $I18N = {
|
|||
lastUpdated => 0,
|
||||
context => 'Description of asset property',
|
||||
},
|
||||
|
||||
'isGeocoded label' => {
|
||||
message => 'Automatically Position',
|
||||
lastUpdated => 0,
|
||||
context => 'Label for asset property',
|
||||
},
|
||||
'isGeocoded description' => {
|
||||
message => q{Choose whether or not this map point should be automatically positioned having it's latitude and longitude dynamically set based on the address. Choosing "Yes" will make the point unable to be moved on the map.},
|
||||
lastUpdated => 0,
|
||||
context => 'Description of asset property',
|
||||
},
|
||||
'assetName' => {
|
||||
message => "MapPoint",
|
||||
lastUpdated => 0,
|
||||
|
|
@ -380,6 +389,17 @@ our $I18N = {
|
|||
context => "template variable help",
|
||||
},
|
||||
|
||||
'form_isHidden' => {
|
||||
message => "A yes/no field indicating whether or not the Map Point should display in navigations.",
|
||||
lastUpdated => 0,
|
||||
context => "template variable help",
|
||||
},
|
||||
|
||||
'form_isGeocoded' => {
|
||||
message => "A checkbox field indicating whether or not the Map Point should be automatically placed on the map based on it's address.",
|
||||
lastUpdated => 0,
|
||||
context => "template variable help",
|
||||
},
|
||||
};
|
||||
|
||||
1;
|
||||
|
|
|
|||
|
|
@ -1144,6 +1144,12 @@ below/after the form element.|,
|
|||
context => q|Status message in the Export Thingy progress bar. %s is the name of the Thing that is being exported.|,
|
||||
},
|
||||
|
||||
'variables by label' => {
|
||||
message => q|In addition to the <b>field_loop</b>, field values may be directly accessed via their label. Please check the documentation for the template plugin that you are using to handle odd characters like spaces or quotes in the label.|,
|
||||
lastUpdated => 1231180362,
|
||||
context => q|Template variable help for getViewThingData|,
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue