This project has moved and is read-only. For the latest updates, please go here.

Coordinates out of Placemarks

Jul 22, 2015 at 2: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.
Jul 22, 2015 at 4: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