Are you interested to know the current position of your devices? For example, logistics companies find it extremely useful to know where their trucks are to estimate package arrival time. Additionally, by tracking a vehicle's movements, alternative routes can be designed to optimize fuel consumption and speed in future endeavors.

Create a Map Widget
After logging into your Ubidots for Education account, select the appropriate dashboard to be working in and click the "plus" icon in the top right to create a new widget.

You can opt to create a GPS Trace, or a generic location Map– both widgets are created in the same way. See below for examples of each. Please note, Heat maps is only available for Ubidots for Business users. 

Next, select the correct a device and variable for displaying: 

*Please note that you must use or create a variable called "position" to let Ubidots read your devices location data. See here for additional resources to sending a device's latitude and longitude in the context.


GPS Trace

Pro Tip: Instead of using Google Maps, which is the default maps service used by Ubidots, you might like try other services like Mapbox. If you want to give a try, check out this tutorial to learn to write into Ubidots HTML Canvas. 


Did this answer your question?