Hello,
Unless I'm missing something, radMap lacks a refresh / redraw functionality.
Assume I have a function like this:
It's filled from our database.
Now, if i execute this for the first time, everything works great.
But if i were to execute this for another set of data on the same radMap and the same information layer, nothing gets refreshed.
I have to zoom in and out to get the new shapes displayed. I cant find any refresh or similar method inside radMap or information layer.
There is a simple workaround for this, all I need to do is set the radmaps visibility to collapsed and then back to visible, but for the sake of clean code, i would rather have a proper method.
Could you please tell me if such a method exists and in case it doesn't, pass this to the dev team?
Thank you.
Unless I'm missing something, radMap lacks a refresh / redraw functionality.
Assume I have a function like this:
void FillMapWithData(List<
MyData
> shapes)
{
SqlGeospatialDataReader reader = new SqlGeospatialDataReader();
reader.GeospatialPropertyName = "Geom";
reader.Source = shapes;
reader.ToolTipFormat = "{Name} - {Count}";
worldLayer.Reader = reader;
}
It's filled from our database.
Now, if i execute this for the first time, everything works great.
But if i were to execute this for another set of data on the same radMap and the same information layer, nothing gets refreshed.
I have to zoom in and out to get the new shapes displayed. I cant find any refresh or similar method inside radMap or information layer.
There is a simple workaround for this, all I need to do is set the radmaps visibility to collapsed and then back to visible, but for the sake of clean code, i would rather have a proper method.
Could you please tell me if such a method exists and in case it doesn't, pass this to the dev team?
Thank you.