Skip to main content
1-Visitor
September 1, 2017
Question

Auto refreshing map widget

  • September 1, 2017
  • 7 replies
  • 5275 views

Hi,

My thing's property (of location type ) is bind with map . And i am changing it's value through REST api call. How can i refresh location in map widget without loading  whole page.

7 replies

15-Moonstone
September 1, 2017

Hello Prabhat,

You can use Auto Refresh widget and bind it to the service which you are using to assign location to map.

You can configure it in two ways:

1. Refresh location on click

2. Refresh it automatically in some intervals (not recommended in your use case)

Regards,

Adam

pmishra-41-VisitorAuthor
1-Visitor
September 1, 2017

I am not able to bind service with auto refresh widget.

15-Moonstone
September 1, 2017

Auto Refresh widget has it own event called ​Refresh.​ You need to bind it to your service, not service to the widget.

4.PNG

You can bind this event from drop-down hidden menu in the left top corner of every widget (1) or from Auto Refresh properties (2).

Take a look on the biding in the bottom pane also.

Regards,

Adam