I have problems with the last version Web Edition 3.0.117 when I try to apply the method “redraw”.
I do a button for change the status of the zoom bar
--------------------------------------------------------------------
protected void ibtnzoombar_Click(object sender, ImageClickEventArgs e)
{
if (Map1.MapTools.PanZoomBar.Enabled)
{
Map1.MapTools.PanZoomBar.Enabled = false;
}
else
{
Map1.MapTools.PanZoomBar.Enabled = true;
}
}
---------------------------------------
But when I execute this button the map isn’t showed
I think that be necessary apply the method “redraw”, but it’s don’t work. The map isn’t showed.
---------------------------------------
protected void ibtnzoombar_Click(object sender, ImageClickEventArgs e)
{
if (Map1.MapTools.PanZoomBar.Enabled)
{
Map1.MapTools.PanZoomBar.Enabled = false;
}
else
{
Map1.MapTools.PanZoomBar.Enabled = true;
}
Map1.StaticOverlay.Redraw();
}
---------------------------------------
there no error messages.
Note. I used PostGIS.
Thanks
Hélio