How to draw boundary around the address based on latitude amd longitude in Google Map -


i have got drop down of state , cities . upon selection of state , corresponding cities displayed , once clicked on go button , showning particular city uisng google map.

could please let me know if how posible show area around dashed or dotted lines ??

i see poly line doesn't suit requirement draws 1 line .

right have got latitude , longitude obtained via

$(document).on('click', '.gobtn', function(event) {     $.getjson('https://maps.googleapis.com/maps/api/geocode/json?address=' + address + '', function(data) {         latitude_res = data.results[0].geometry.location.lat;         longitude_res = data.results[0].geometry.location.lng;     }).done(function() {     });  }); 

this simple jsfiddle how showing map

http://jsfiddle.net/zlutg/1010/

could please let me know how draw dashed / dotted around boundary of latitude amd longitude ??

how draw boundary around address based on latitude amd longitude

if have way find boundaries location can use polyline draw border. close shape, joining first point last point.

if don't have boundaries, according answer question google maps api v3: how region border coordinates (polyline) data? , others, google maps not provide boundaries you.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -