0

I developed an Android FlagGuessEnRu game, but I want upon success flag guess go to Google Maps(browser or MapView) for that flag/country, with appropriate scaling of the Map per country, well i get countries from wikipedia, what url to use for google map for a particular country, how from country name get map?

2
Contributors
3
Replies
4
Views
5 Years
Discussion Span
Last Post by peter_budo
0

I guess you will have to create a class/collection that will hold coordinates for google maps like this https://maps.google.com/maps?q=Slovakia&hl=en&sll=37.0625,-95.677068&sspn=46.946584,92.900391&t=h&hnear=Slovakia&z=8 . So you may have something like

Map<String, URL> countryMap = new HashMap(){};
countryMap.put("Slovakia", new URL("https://maps.google.com/maps?q=Slovakia&hl=en&sll=37.0625,-95.677068&sspn=46.946584,92.900391&t=h&hnear=Slovakia&z=8");

PS: Above link was achieved just by typing country name in google maps and then clicking on link button to see URL.

0

google maps has not any web service input country name and output/get country map?

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.