Hello
I want to use Google Map to display maps of a country or region only. But world map is getting displayed. How can I get it.
Thanks,
Akku
Hello
I want to use Google Map to display maps of a country or region only. But world map is getting displayed. How can I get it.
Thanks,
Akku
Akku,
Thanks for your input and questions.
First, I think we can get the Latitude & Longitude according the way discussed in following post:
gis.thinkgeo.com/Support/Dis...fault.aspx
Then we can do a query based on the Countries02.shp file to query out which countries it is for the specified Latitude and Longitude. See more details in following HowDoI sample:
HowDoI\ Querying Featuers Layers\ Fine the feature(s) a user clicked on
Any more questions just feel free to let me know.
Thanks.
Yale
Yale,
The code in the HowDoISamples show the country clicked by using shape file. But I want that I should specify the latitude/longitude for a country and the respective country get loaded. And I only want to use Google Map. How can I get it.
Thanks,
Akku
Akku,
Thanks for your post and questions.
Yes, what I attempted to guide you is to only showing Google map on the MapControl, while doing the Query on the local data.
If you only want to use Google Map, without any local data involved. Then probably you can try to create a web service based on the service provided by the Google.
code.google.com/apis/maps/documentation/geocoding/index.html
Any more questions just feel free to let me know.
Thanks.
Yale