I have put together an application that highlights a single Mapelement in yellow. This works find until I attempt to do a WindowPan to the selected Element. When I put the code in for the WindowPan, a single line of code [WindowPan(this.SelectedElement)], I then begin to have multiple selects upon clicking on the next few mapelements.
I have verified that my code selects only one item at a time when I click one item after another. I only get the above results of multiple selects when I put the one line of code in to Pan to the item.
Additional information:
I have discovered that the WindowZoom is the guilty culprit. When I change the WindowZoom to a number like 4 and then run the WindowPan, I am getting the multple selects.
Oddly enough, when I remove the code and use the navigator to zoom in, I also get the multiple selects after I zoom in.