A collection of samples demonstrating how build MyGeotab and Geotab Drive add-ins.
In order to run these examples, you can clone this repo, go into each of the examples and follow the instructions in the README.md file.
Alternativly, you can install the add-ins on your production database individually using the install configuration as described in each subfolder README.md or to install all the examples under one navigation section in your demo database use the installation settings below.
{
"name": "SDK Add-In Samples",
"supportEmail": "support@geotab.com",
"version": "1.0.0",
"items": [{
"path": "/",
"menuId": "sdkAddinsLink",
"menuName": {
"en": "Add-In Samples",
},
"icon": "https://cdn.rawgit.com/Geotab/sdk-addin-samples/master/icon.svg"
}, {
"name": "Heat Map",
"supportEmail": "support@geotab.com",
"version": "1.0.0",
"items": [{
"url": "https://cdn.rawgit.com/Geotab/sdk-addin-samples/master/addin-heatmap/dist/heatmap.html",
"path": "sdkAddinsLink/",
"menuName": {
"en": "Heat Map"
},
"icon": "https://cdn.rawgit.com/Geotab/sdk-addin-samples/master/addin-heatmap/dist/images/icon.svg"
}
]
}, {
"name": "Proximity",
"supportEmail": "support@geotab.com",
"version": "1.0.0",
"items": [{
"url": "https://cdn.rawgit.com/Geotab/sdk-addin-samples/master/addin-proximity/dist/proximity.html",
"path": "sdkAddinsLink/",
"menuName": {
"en": "Proximity"
},
"icon": "https://cdn.rawgit.com/Geotab/sdk-addin-samples/master/addin-proximity/dist/images/icon.svg"
}
]
}, {
"name": "Trips Timeline",
"supportEmail": "support@geotab.com",
"version": "1.0.0",
"items": [{
"url": "https://cdn.rawgit.com/Geotab/sdk-addin-samples/master/addin-trips-timeline/dist/tripsTimeline.html",
"path": "sdkAddinsLink/",
"menuName": {
"en": "Trips Timeline"
},
"icon": "https://cdn.rawgit.com/Geotab/sdk-addin-samples/master/addin-trips-timeline/dist/images/icon.svg"
}
]
}, {
"name": "Import KML Zones",
"supportEmail": "support@geotab.com",
"version": "1.0.0",
"items": [{
"url": "https://cdn.rawgit.com/Geotab/sdk-addin-samples/master/addin-import-kml-zones/dist/importKmlZones.html",
"path": "sdkAddinsLink/",
"menuName": {
"en": "Import KML Zones"
},
"icon": "https://cdn.rawgit.com/Geotab/sdk-addin-samples/master/addin-import-kml-zones/dist/images/icon.svg"
}
]
}, {
"name": "Start Stop",
"supportEmail": "support@geotab.com",
"version": "1.0.0",
"items": [{
"url": "https://cdn.rawgit.com/Geotab/sdk-addin-samples/master/addin-start-stop/dist/startStop.html",
"path": "sdkAddinsLink/",
"menuName": {
"en": "Start-Stop Savings"
},
"icon": "https://cdn.rawgit.com/Geotab/sdk-addin-samples/master/addin-start-stop/dist/images/icon.svg"
}
]
}, {
"name": "IOX Output",
"supportEmail": "support@geotab.com",
"version": "1.0.0",
"items": [{
"url": "https://cdn.rawgit.com/Geotab/sdk-addin-samples/master/addin-iox-output/dist/ioxOutput.html",
"path": "sdkAddinsLink/",
"menuName": {
"en": "IOX Output"
},
"icon": "https://cdn.rawgit.com/Geotab/sdk-addin-samples/master/addin-iox-output/dist/images/icon.svg"
}
]
}, {
"name": "Engine Data Button",
"supportEmail": "support@geotab.com",
"version": "1.0.0",
"items": [{
"page": "device",
"click": "https://cdn.rawgit.com/Geotab/sdk-addin-samples/master/addin-engine-data-button/dist/scripts/engineDataButton.js",
"buttonName": {
"en": "Engine Data Profile",
"fr": "Profil des données-moteur",
"es": "Perfil de datos de motor",
"ja": "エンジンデータプロフィール"
},
"icon": "https://cdn.rawgit.com/Geotab/sdk-addin-samples/master/addin-engine-data-button/dist/images/icon.svg"
}
]
}
]
}
This add-in is visualizes the location history of a vehicle by displaying areas of "heat" on a map corresponding to the frequency in which they were at a certain location using leaflet and Leaflet.heat.
This add-in demonstrates a visual report for determining whether a vehicle has been to or near a particular location in a given date range using leaflet.
This add-in demonstrates a compact visualization of the times vehicles made their trips throughout the day using vis.js.
This add-in demonstrates an informational display add-in which provides an estimate of fuel savings for vehicles which have stop-start systems.
This example demonstrates an add-in which parses a KML file and imports to MyGeotab as Zones.
This example demonstrates how to send a message to a device, turning the IOX on or off.
This example demonstrates an add-in button on the vehicle page which pulls the currently selected vehicle ID from state. The ID to redirect to the engine data profile page to examine the recorded engine speed, voltage and fuel used.