Android Forum » Android Developer Forum » Android Developer Forum (general) » KML OVERLAY ON GOOGLE MAPS
created on Jan 16, 2013 7:02:43 PM
First of all thanks for helping me out.
I am developing an application using Google Maps API. It is an Android developement.
My problem is I need to get the coordinates of all locations within a certain marked area of a KML file. it is a KML which was created using boundary coordinates.
My application needs to enable the user to key in the exact location. After that my application will need to get the coordinates from Google Map and match it to the exact location on the KML file. It has to be based on exact coordinates.
The problem is, since the KML does not have all the coordinates, I am unable to pin point to the exact location.
I believe I can overlay the KML on the Google Map and that way capture all the coordinates of the marked areas within the KML. Is that possible as now I just am so stuck.
I hope someone can help me out here, emailing me at email@example.com
Your kind assistance is very much appreciated.
created on Mar 7, 2013 8:10:04 PM
Extend ItemizedOverlay and override the onTap method. It reports the GeoPoint at the position wher the user tapped on the map. Then search your pared KML structure for the matching location.