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.
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
I am not able to bind service with auto refresh widget.
Auto Refresh widget has it own event called Refresh. You need to bind it to your service, not service to the widget.
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
Thanks it worked out.
What if i want to create 4 selected locations at same time on map .
Objective is to show 4 vehicles on map at a same time.
Hi Prabhat Mishra, Below procedure is one way of displaying locations of different things at the same time on a map:
You can observe that the markers are displayed on selected locations of the things. Also, when you point the mouse on the the location you can observe that the thing name(vehicleID) is displayed on it.
Hope this helps!
Hi Yamini,
i am not getting options for location field
Hi Prabhat Mishra,
This is one way of implementing the scenario. Try this out and please let us know if you have any issues.