Bing Maps Advanced Series II: Using Geocodeservice for geographical search

Source: Internet
Author: User
Tags web services

One, add geocodeservice Web service references

The Geo-coding Service (Geocodeservice) is a Web service published with WCF technology, The Map Coding service provides the function of matching the map address (both geographical longitude and latitude coordinates) with a valid physical address on the map and reverse matching the physical address path with geographical longitude and latitude coordinates. To use this service, you need to add the Web Service reference for the service (HTTP://DEV.VIRTUALEARTH.NET/WEBSERVICES/V1/GEOCODESERVICE/GEOCODESERVICE.SVC), as shown in the following figure:

As can be seen from the above diagram, this service provides two methods, one is based on the geographical longitude and latitude coordinates corresponding to the name retrieval, and the other method realizes the function of retrieving the place name. The Add Web Service Reference Wizard IDE tool will automatically generate proxy objects for our web service references, and so on, these knowledge point data Web Services or WCF-related, not described in detail here.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.