Hi! I a previous post of mine I was asking about the hide functionality of a polygon. No matter what I've tried I can't get it to work.
I have a simple overlay collection with polygons. I iterate thru the collection using a for each - next block as shown below (VB.net):
for each item in myOverlayCollection
dim retval as string = item.hide(myMap)
ScriptManager.RegisterClientScriptBlock(Me.Page, Me.Page.GetType, "HideOverlay", retval, True)
next item
This is all executed from a button on my page.
All the items in the overlay collection are polygons.
The Map Control resides in an Update Panel that gets triggered from the button click event. The button obviously is not in an Update Panel.
My problem is that when I click the button, the map completely disappears.
Any help would be very much appreciated...
If you need more data I can provide you with my full code-behind and markup...
Oh! And one more thing. When I load more than 300 polygons it gets rediculously slow. Is it me or is it Google? (not the control obviously).
CU@theBitter.end