ThinkGeo.com    |     Documentation    |     Premium Support

"Move feature" error

in the "How do i" sample, there is a "move a feature" under Dynamic Shapes. i tried it myself, it generated an error that says "ArgumentNullException was unhandled - the parameter you supplied may not be null". The code is:


inMemoryLayer.EditTools.TranslateByOffset("BlueMarker", xOffset, yOffset, GeographyUnit.Meter, DistanceUnit.Meter);

 


any ideas?



Kevin, 


You mean the “Move a Feature” sample under Features? I have no idea why you have this problem. Can you first make sure you are using the latest versions and if still have the problem, please provide more codes to us. Also you can compare with the “Move a Feature” sample and see what the difference between that and your codes.


 


Thanks,


 


Ben