You just need "distance" in the k means to be more general than just using the euclidean distance between coordinates, you need a norm appropriate for the space you are working in. Haversine distance should be fine for this application.
Spherical kmeans is much simpler. A simple cos distance between vectors.