When I add a feature on the HighlightOverlay the feature appers in a diferent place of the original. Here is my code.
Dim omssqlflLayer As MsSql2008FeatureLayer
Dim ftPredio As Feature
omssqlflLayer = mMap.StaticOverlay.Layers(K_LAYER_PREDIOS)
omssqlflLayer.Open()
ftPredio = omssqlflLayer.QueryTools.GetFeatureById(strIDPredio, ReturningColumnsType.NoColumns)
mMap.CurrentExtent = ftPredio.GetBoundingBox()
omssqlflLayer.Close()
mMap.HighlightOverlay.Features.Clear()
mMap.HighlightOverlay.Features.Add(ftPredio.Id, ftPredio)
Am I doing something wrong.