This project has moved. For the latest updates, please go here.

Coordinates out of Placemarks

Jul 22, 2015 at 1:29 PM
Hi,
Can you give an example how to get the coordinates from the placemarks?
I can get the name of the placemarks but not the coordinates.
Thank you.
Coordinator
Jul 22, 2015 at 3:48 PM
The coordinates depends on the type of geometry stored in the placemark, for simple placemarks this will probably be a point so this should work:
Vector coord = ((Point)placemark.Geometry).Coordinate;
Hope that sets you off in the right direction,
Sam