Issue
Lets say i've a map of certain country. Is there anyway i'll be able to divide out the map into sectors? like the image below?
The reason why i wishes to divide is i am given a task to get the current sector the user is base on his current lat and long from the android phone. Because google map does not divides the map into the sector i wanted, i may have to divide them out individually and draw lines as overlay. Do you guys have any good solution
The sector boundaries are bounded by highways of the google map. i believe the best scenario is to manually draw out the border? i have a high resolution about 100mb of the map. however may i know how do i draw manually a border? The image is just a idea of how the dividing work. this whole system is being deployed on the android phone
Solution
One option would be to create kml defining your custom sectors. That could be imported into FusionTables and displayed on the map using a FusionTablesLayer.
Here is an example (using a geocoded address) that detects the row in the FusionTable that contains that point.
You can draw polygons and retrieve the kml using Google Maps "MyPlaces".
A couple of other examples:
point in polygon using geocoder and geoxml3
point in polygon using geocoder and FusionTables
Answered By - geocodezip
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.