Get functions present in the map view from geoJSON

I need to add markers to the map for the data that I have.

From the thought process, I went through map.data.loadGeoJson('google.json'); with which I can have user data attached to the map. Now there is a requirement that I need to show the properties of the objects present in the map view window. I cannot go through all the elements and check .contains() , I have huge data. Is there a default google way to get the properties of the objects present in the map view?

+6
source share

Source: https://habr.com/ru/post/1014254/


All Articles