Changing Sensor Name in Smart Map not updating immediately.

I am trying to create a sensor monitor plugin using sample sdk. In that project I am changing the name of sensors from program. But when I add these sensors into Smart Map in Smart Client sensor names not changing immediately. Updates only if we zoom in /zoom out the map. I used the following code for changing the configuration.

Configuration.Instance.SaveItemConfiguration(SensorMonitorDefinition.SensorMonitorPluginId, item);

I tried changing the name from management client also. Then also name not changing immediately.

The Smart Map does not subscribe to configuration change, and this means that only while redrawing is the new configuration used. This is basically the design of Smart Map. Only by zooming in/out or in other ways refreshing is new configuration used.

Is there any code to trigger a refresh ?

I made an experiment using the Smart Map Control plugin sample. https://doc.developer.milestonesys.com/html/index.html?base=samples/pluginsamples/smartmapcontroller/readme.html&tree=tree_1.html

I did a “Get current position” directly followed by a “Go to area” reusing the values, this worked as a refresh.