Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you want to outline the boundary of a town, you’re going to need some additional data that tells you where to draw. Shape files are good for this sort of thing, and it is generally easy to find free or low-cost files that provide boundaries of cities, states, counties, countries, etc. Just do a google search for “[CityName] shape files” or something like that.
Once you have a good shape file, you can query it for all of the points in the boundary. You would then call the method to draw a polygon with those points in the maps api.