Developers can add an image and an url link to each pin on the map. Shot 2018-03-14 at 09.57.01-MUc.png

To add images and URL to your pins, head over to Advanced Options by clicking in the options menu of the widget, and then in the Edit option.

To set the image of the pin, set the Image URL field with the url of an image. To set the main URL of the pin, set both the URL and the URL alias, located in the Url to open when clicking the map pin section, like so: Shot 2018-03-14 at 09.56.49-H7o.png

Setting images and Links using devices

Another way to insert an image and url link to a pin is to use the metadata parameter of the data the device sent. The widget will first look at these elements and, if not found, it will use the default settings of the widget.

      "value":"My Address",
         "lat": 42.2974279,
         "lng": -85.628292
         "url_pin": {
            "alias": "More Details"

Click here to test the code using our Device emulator!

The parameter that define the configuration through the metadata are "img_pin", "url" and "alias". They work exactly the same as setting the configuration through the widget and will have the same result.

Also check out:

  • Map widget
  • Geofences in map widgets