I have a bunch of country names. Like hundreds. I want to add a marker on each of the countries that I have. If I use geocoding
it says I reach the limit of requests allowed to geocode my names. So isn't there an entire "client way" of doing this without contacting the server for coordinates of the country?
相关问题
- How do you change the color of the dotted line on
- How do you change the color of the dotted line on
- draw polylines with different colors on v2 maps
- Add HTML class/ID to Google Maps Marker (API V3)
- Cannot resolve method “getMapAsync”
相关文章
- Updating a map marker in android
- Avoiding “Sorry, we have no imagery here” with Goo
- Custom Marker performance iOS, crash with result “
- Google Map Gradient Polylines for Android?
- Angular 6 - @types/googlemaps/index.d.ts' is n
- Google Maps - Get Polygon border of zones/neighbor
- Google Map Marker Clickable Area
- getSupportFragmentManager().findFragmentById retur
You can create a kml file with the countries you want and their coordinates and then consume this in your map code.
KML howto
You can add the markers to the kml file as in this example
Another option would be to store your countries and geocodes in json and then iterate over the json to add the markers.
Stackoverflow question Take a look at this example which allows you to click on a country and the country name and flag are shown.