Hello.
I'm loading a shapefile that was converted from a DWG file, and adding it as a layer over the cntry02 and cover shapes from the World Map Kit. They don't line up very well, I'm assuming because my shapefile is far more detailed at it's zoom level. Is there a way I can translate the entire layer? I've tried looping through the features and using TranslateByOffset, but nothing changes. Thanks
layer.Open()
layer.FeatureSource.BeginTransaction()
Dim Features As Collection(Of Feature)For Each Feature In FeaturesNext
layer.FeatureSource.CommitTransaction()
layer.Close()
Features = layer.FeatureSource.GetAllFeatures(ReturningColumnsType.AllColumns)
BaseShape.TranslateByOffset(Feature, 0.5, -0.5, GeographyUnit.Meter, DistanceUnit.Mile)
layer.FeatureSource.UpdateFeature(Feature)