Loading...

Embed the map on my website

Embed the map on my website

When page embed the map with the position of your devices in your web facilitate the display of real-time positions where visitors can directly visualize the positions of their sin Devices Having Plaspy access, users can be on your website or protected by UN authentication mechanism you define indifferent data access Plaspy.
To embed the map on your Web page You must follow several steps:

  1. Enable access the API on your account.
  2. Enable access device API.
  3. Create a group with the devices to show.
  4. Find a group identifier to add to the API, which appears when editing group and to have the API enabled.
  5. HTML code to embed the map on your web page my_group_id replaced by the identifier of your group.
    <div id="map_canvas" style="width:100%;height:400px">Cargando...</div>
    <script type="text/javascript">plaspy_api_group_key="my_group_id";</script>
    <script type="text/javascript" src="https://s.trackservers.net/api/loadMapG.js"></script>

To see an example of the integration we show you a functional example.