My json telemetry data contains latitude and longitude data, how do I display location information in iot central? Like a map.

PAN, FEILING (PGR) 40 Reputation points
2023-07-18T22:33:28.5533333+00:00

And I see two maps in the view, and I don't know which one is what I need.

Azure IoT Central
Azure IoT Central
An Azure hosted internet of things (IoT) application platform.
344 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. AshokPeddakotla-MSFT 27,401 Reputation points
    2023-07-19T06:18:21.48+00:00

    PAN, FEILING (PGR) Greetings!

    how do I display location information in iot central? Like a map.

    Did you check this documentation already Display device location?

    I see two maps in the view, and I don't know which one is what I need.

    You can add map tiles to a dashboard to plot the location of one or more devices.

    When you add a map tile to show location telemetry, you can plot the location over a time period.

    To display location data on a map, you can use the Map (property) or Map (telemetry) tile.

    User's image

    The Map (property) tile displays the current location of one or more devices on a map.

    The Map (telemetry) tile display the location of one or more devices on a map. You can also display up to 100 points of a device's location history. For example, you can display a sampled route of where a device has been in the past week.

    Here is an example of how to display location data on a map using the Map (telemetry) tile.

    • In your IoT Central application, go to the dashboard where you want to add the map tile.
    • Click Add tile and select Map (telemetry).
    • In the Configure tile panel, select the device group and device(s) you want to display on the map.
    • Select the telemetry that contains the location data. In your case, it would be the telemetry that contains the latitude and longitude data.
    • Choose how you want to display the location data on the map. You can choose to display the current location, the location history, or both.
    • Customize the tile settings as desired, such as the tile name, size, and color.
    • Click Save to add the tile to the dashboard.

    Once you have added the map tile to your dashboard, you should be able to see the location data displayed on a map.User's image

    Do let us know if that helps or have any other queries.

    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.