How to plot city in map via boundary line? [closed]





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







-2















How can I plot boundary line on G-Map on the basis of city searched like in this image red line showing searched city map?



boundary line in map



I have see various links but unable to find a solution.



Thanks










share|improve this question













closed as too broad by luschn, xenteros, Koby Douek, Brian Tompsett - 汤莱恩, thanksd Aug 16 '17 at 16:53


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.














  • 1





    related question: OSM to Google Maps polygons

    – geocodezip
    Aug 16 '17 at 15:56


















-2















How can I plot boundary line on G-Map on the basis of city searched like in this image red line showing searched city map?



boundary line in map



I have see various links but unable to find a solution.



Thanks










share|improve this question













closed as too broad by luschn, xenteros, Koby Douek, Brian Tompsett - 汤莱恩, thanksd Aug 16 '17 at 16:53


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.














  • 1





    related question: OSM to Google Maps polygons

    – geocodezip
    Aug 16 '17 at 15:56














-2












-2








-2








How can I plot boundary line on G-Map on the basis of city searched like in this image red line showing searched city map?



boundary line in map



I have see various links but unable to find a solution.



Thanks










share|improve this question














How can I plot boundary line on G-Map on the basis of city searched like in this image red line showing searched city map?



boundary line in map



I have see various links but unable to find a solution.



Thanks







google-maps google-maps-api-3 maps google-maps-markers






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Aug 9 '17 at 11:36









unknownbitsunknownbits

1,52263169




1,52263169




closed as too broad by luschn, xenteros, Koby Douek, Brian Tompsett - 汤莱恩, thanksd Aug 16 '17 at 16:53


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.









closed as too broad by luschn, xenteros, Koby Douek, Brian Tompsett - 汤莱恩, thanksd Aug 16 '17 at 16:53


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.










  • 1





    related question: OSM to Google Maps polygons

    – geocodezip
    Aug 16 '17 at 15:56














  • 1





    related question: OSM to Google Maps polygons

    – geocodezip
    Aug 16 '17 at 15:56








1




1





related question: OSM to Google Maps polygons

– geocodezip
Aug 16 '17 at 15:56





related question: OSM to Google Maps polygons

– geocodezip
Aug 16 '17 at 15:56












1 Answer
1






active

oldest

votes


















1














Currently Google Maps JavaScript API doesn't expose any boundaries of geographic features. There is very old feature request in the public issue tracker to add this functionality, however it looks like Google didn't set high priority on this task:



https://issuetracker.google.com/issues/35816953



Feel free to star the public feature request to express your interest and subscribe to notifications.



Also, you can find a workaround to get polygons from other sources and add them to Google maps as additional layers.



The nice workaround to get polygons in GeoJSON format from OSM is described in the following answer:



https://stackoverflow.com/a/40172098/5140781



So, if you download the GeoJSON you will be able to add it to map using the data layer and its loadGeoJson() method:



https://developers.google.com/maps/documentation/javascript/datalayer#load_geojson



I hope this helps!






share|improve this answer






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1














    Currently Google Maps JavaScript API doesn't expose any boundaries of geographic features. There is very old feature request in the public issue tracker to add this functionality, however it looks like Google didn't set high priority on this task:



    https://issuetracker.google.com/issues/35816953



    Feel free to star the public feature request to express your interest and subscribe to notifications.



    Also, you can find a workaround to get polygons from other sources and add them to Google maps as additional layers.



    The nice workaround to get polygons in GeoJSON format from OSM is described in the following answer:



    https://stackoverflow.com/a/40172098/5140781



    So, if you download the GeoJSON you will be able to add it to map using the data layer and its loadGeoJson() method:



    https://developers.google.com/maps/documentation/javascript/datalayer#load_geojson



    I hope this helps!






    share|improve this answer




























      1














      Currently Google Maps JavaScript API doesn't expose any boundaries of geographic features. There is very old feature request in the public issue tracker to add this functionality, however it looks like Google didn't set high priority on this task:



      https://issuetracker.google.com/issues/35816953



      Feel free to star the public feature request to express your interest and subscribe to notifications.



      Also, you can find a workaround to get polygons from other sources and add them to Google maps as additional layers.



      The nice workaround to get polygons in GeoJSON format from OSM is described in the following answer:



      https://stackoverflow.com/a/40172098/5140781



      So, if you download the GeoJSON you will be able to add it to map using the data layer and its loadGeoJson() method:



      https://developers.google.com/maps/documentation/javascript/datalayer#load_geojson



      I hope this helps!






      share|improve this answer


























        1












        1








        1







        Currently Google Maps JavaScript API doesn't expose any boundaries of geographic features. There is very old feature request in the public issue tracker to add this functionality, however it looks like Google didn't set high priority on this task:



        https://issuetracker.google.com/issues/35816953



        Feel free to star the public feature request to express your interest and subscribe to notifications.



        Also, you can find a workaround to get polygons from other sources and add them to Google maps as additional layers.



        The nice workaround to get polygons in GeoJSON format from OSM is described in the following answer:



        https://stackoverflow.com/a/40172098/5140781



        So, if you download the GeoJSON you will be able to add it to map using the data layer and its loadGeoJson() method:



        https://developers.google.com/maps/documentation/javascript/datalayer#load_geojson



        I hope this helps!






        share|improve this answer













        Currently Google Maps JavaScript API doesn't expose any boundaries of geographic features. There is very old feature request in the public issue tracker to add this functionality, however it looks like Google didn't set high priority on this task:



        https://issuetracker.google.com/issues/35816953



        Feel free to star the public feature request to express your interest and subscribe to notifications.



        Also, you can find a workaround to get polygons from other sources and add them to Google maps as additional layers.



        The nice workaround to get polygons in GeoJSON format from OSM is described in the following answer:



        https://stackoverflow.com/a/40172098/5140781



        So, if you download the GeoJSON you will be able to add it to map using the data layer and its loadGeoJson() method:



        https://developers.google.com/maps/documentation/javascript/datalayer#load_geojson



        I hope this helps!







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Aug 9 '17 at 20:34









        xomenaxomena

        18.9k44275




        18.9k44275

















            Popular posts from this blog

            android studio warns about leanback feature tag usage required on manifest while using Unity exported app?

            SQL update select statement

            'app-layout' is not a known element: how to share Component with different Modules