{"action":"created","issue":{"url":"https://api.github.com/repos/allenhwkim/angularjs-google-maps/issues/538","repository_url":"https://api.github.com/repos/allenhwkim/angularjs-google-maps","labels_url":"https://api.github.com/repos/allenhwkim/angularjs-google-maps/issues/538/labels{/name}","comments_url":"https://api.github.com/repos/allenhwkim/angularjs-google-maps/issues/538/comments","events_url":"https://api.github.com/repos/allenhwkim/angularjs-google-maps/issues/538/events","html_url":"https://github.com/allenhwkim/angularjs-google-maps/issues/538","id":140654172,"number":538,"title":"Drawing a polygon for an area on the map (for example, New York)","user":{"login":"ReinisV","id":10805335,"avatar_url":"https://avatars.githubusercontent.com/u/10805335?v=3","gravatar_id":"","url":"https://api.github.com/users/ReinisV","html_url":"https://github.com/ReinisV","followers_url":"https://api.github.com/users/ReinisV/followers","following_url":"https://api.github.com/users/ReinisV/following{/other_user}","gists_url":"https://api.github.com/users/ReinisV/gists{/gist_id}","starred_url":"https://api.github.com/users/ReinisV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ReinisV/subscriptions","organizations_url":"https://api.github.com/users/ReinisV/orgs","repos_url":"https://api.github.com/users/ReinisV/repos","events_url":"https://api.github.com/users/ReinisV/events{/privacy}","received_events_url":"https://api.github.com/users/ReinisV/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-14T12:01:36Z","updated_at":"2016-03-19T00:00:00Z","closed_at":null,"body":"Is there a way to draw an n-point (where n is a very big number) polygon on the map based on an object returned by Places API? \r\nBasically, what I want is for my custom map to have [this functionality](https://www.google.lv/maps/place/New+York,+NY,+USA/@40.7105161,-74.0000023,10z/data=!4m2!3m1!1s0x89c24fa5d33f083b:0xc80b8f06e177fe62).\r\n\r\nWhen the user enters a location, it is retrieved using the Places API and then, if the entered location is not a specific address but rather an area (for example, New York), I want to be able to draw it. No matter how many points it has (and you can see that the New York area polygon has many, many points).\r\n\r\nIn the Wiki I've only found ways to put down specific markers or draw custom polygons, but these areas seem to be completely different objects drawn differently than regular polygons."},"comment":{"url":"https://api.github.com/repos/allenhwkim/angularjs-google-maps/issues/comments/198587719","html_url":"https://github.com/allenhwkim/angularjs-google-maps/issues/538#issuecomment-198587719","issue_url":"https://api.github.com/repos/allenhwkim/angularjs-google-maps/issues/538","id":198587719,"user":{"login":"allenhwkim","id":1437734,"avatar_url":"https://avatars.githubusercontent.com/u/1437734?v=3","gravatar_id":"","url":"https://api.github.com/users/allenhwkim","html_url":"https://github.com/allenhwkim","followers_url":"https://api.github.com/users/allenhwkim/followers","following_url":"https://api.github.com/users/allenhwkim/following{/other_user}","gists_url":"https://api.github.com/users/allenhwkim/gists{/gist_id}","starred_url":"https://api.github.com/users/allenhwkim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allenhwkim/subscriptions","organizations_url":"https://api.github.com/users/allenhwkim/orgs","repos_url":"https://api.github.com/users/allenhwkim/repos","events_url":"https://api.github.com/users/allenhwkim/events{/privacy}","received_events_url":"https://api.github.com/users/allenhwkim/received_events","type":"User","site_admin":false},"created_at":"2016-03-19T00:00:00Z","updated_at":"2016-03-19T00:00:00Z","body":"You can find a KML data and draw on the map.\r\nhttps://github.com/allenhwkim/angularjs-google-maps/issues/534\r\n"}}