GPS Maps - Data for each map point?


#1

Is there a way to show the status info for certain variables for each received GPS message so when you use your mouse and hover over a GPS location data point a window will pop up to show the GPS, Time, Speed, and other data you pick for every data point on the map?

Now it only shows GPS data and time when I hover over the starting and stopping points.

I’m thinking of something like the image below for each data point but with not quite as much data? :

Or like this where each pin is clickable with data for that specific received event.


#2

This can be done using the Popup Style Configuration. This can be configured with any markdown you’d like to be displayed when one of the pins is clicked. If other data was reported on the device’s state at the same time as the location, those attributes will be available on the data field. For example, if my device was reporting location and temperature on each state message, you could display the temperature using the a popup style configuration of:

The location is: {{format latitude}}, {{format longitude}}.

The temperature at this location is {{data.temperature}}.

#3

Didn’t see that when I was rushing together a quick GPS tracking dashboard :slight_smile:

Nice to see this is fully configurable like most of your other widgets.

Really appreciate how the widget windows are so customizable.


#4

Got it working!

I just need to add a custom smaller pin icon next.


#5

Awesome! Currently the easiest way to use a custom pin icon is to host the image somewhere (dropbox, s3, etc) and then use the markdown image tag to display it.

The inline instructions also mention the recommended ratio for the best presentation: 30x70px or larger with the same ratio. If you want the icon smaller, you’ll want to keep the image the same size, just put the icon in the center with transparent space around it.


#6

Sweet! I was hoping that would work.

Found a decent site with quality icons here if anybody else is looking for pins:


#7

@Brandon_Cannaday I have tried to switch the pin marker image with 30x70 pixel images and 60x140 pixels same as the current image marker but I always end up with broken image link icon.

The images are PNG files with transparent backgrounds.

Can you get something to work?

Here is the 60x140 pixel image: https://cdn.shopify.com/s/files/1/0072/9612/files/GPSDot_c3367dc3-a779-42a8-b807-e013996e1d02.png

Here is the 30x70 image: https://cdn.shopify.com/s/files/1/0072/9612/files/GPSDot_3b725b52-71ef-473f-9aa2-0f54ec889cf2.png

Any idea as to what is going on?


#8

Figured it out after looking at the docs more.

I had to remove the

![]( )

You had in the example code above.

Working now!