Virtual earth SDK
If you want to find out exact locations then take the help of virtual earth SDK. It is because virtual earth SDK gives you numerous choices for searching out relevant data and it also gives you chance to display this information on map.
If you want to find out any information then the adding find control in a map is the best e and simple to use method. When you will add find control in map, you will see that you can find out various kinds of addresses and businesses in a very short period. In the map at the upper right corner you will find what/where box in which you will see two categories like location and business so you have to enter the location name or business about which you want to collect information. After this, you will notice that results are appeared on map.
When you will move the map, you will find that search automatically refreshes itself for suggested area. Behind the scenes, the virtual earth map control is making use of AJAX for calling the Microsoft servers continuously and making search against the big directory, which have yellow pages, and this directory is hosted with virtual earth maps.
Even if find control is very simple, powerful and easy to use but you will find some limitations while using this find control such as control itself is hard to change and it is virtually uninspiring. Moreover, the other thing is that when any user inserts an ambiguous location you there appears disambiguation dialog window. Though you will turn off disambiguation, window users will get unexpected results. In this situation, you can make use of find method. Behind the scenes virtual earth Map. Find method is used by many find control. This kind of method accepts a selection of parameters, which include properties such ads what and where. These properties are same as fields from find control. All you require is go through a method of what. The map automatically inserts pushpin for discovered location.
For customizing the results of fine search, you can have a excellent way like capturing the resulting pushpins in a VEShapeLayer. Moreover, when your results will be saved in a layer then it is easy for you to turn on the search results or turn off the search results by making use of hide methods and show methods. You are not able to do more things by using find method without resorting to callbacks and custom code. The other way to find information is with capturing the results and then processes them before displaying these results for various kinds of users. For instance, wish to make use of find to:
Display various pushpin for every search
Displaying search results in list than displaying them as pushpins
Moving map to the search result in automatic way
Filter search results according to external criteria
All these things are possible by making use of callbacks. Note down one thing that find method is asynchronous. When you will send the command your code becomes free for continuation. When Microsoft processed the results the callback or map method will get a message including the results. And if map gets a message in direct way then it will automatically produces the pushpins for every result point and then display these results on map. And the other way is if you will make use of a callback you will become free to do anything with the results.
Technorati Tags: Microsoft, virtual earth, virtual earth features,
Tags: Microsoft Virtual Earth
























