 |
Client-Side Point to
Latitude/Longitude Conversion |
This sample shows how to convert a point to
latitude/longitude on client-side (without calling the MapPoint Web Service). |
 |
Click to Center Map |
This sample Swing application uses the RenderServiceSoap.ConvertToLatLong
method to re-center a map image based on the pixel coordinate where the
end-user clicks. The latitude and longitude coordinates of the map, as well as
the pixel coordinate of the image are displayed below the map. Additionally,
the FindServiceSoap.GetLocationInfo method is used to identify the
county for the area on the map where the user clicked.
|
 |
Drag Pushpin on Map |
This sample Swing application allows the end-user to place
and relocate pushpins by dragging them and dropping them onto a map. The sample
application uses the RenderServiceSoap.ConvertToLatLong method to get
the location and FindServiceSoap.GetLocationInfo method to get address
information for the pushpin. This information is displayed in a grid next to
the map. |
 |
Find Functionality |
This Web page allows the end-user to either find a place or an address and then it
finds nearby restaurants or gas stations. This sample also finds entities using FindServiceSoap.FindByID
and FindServiceSoap.FindByProperty methods. |
 |
Find Address |
The end-user enters an address, which is sent to MapPoint Web Service to parse and return
possible matches. The sample displays a map for the address the end-user entered. |
 |
Find Nearby |
The end-user enters an address, which is sent to MapPoint Web Service to return possible matches.
The sample then finds nearby coffee stores (using the sample Customer data source MapPoint.FourthCoffeeSample)
and displays the found address and the nearby store locations on a map. |
 |
Find Near Route |
The end-user enters a start address, a finish address and distance range along the route,
which are sent to MapPoint Web Service to return points of interest along the route. The sample
then finds coffee stores (using the sample Customer data source MapPoint.FourthCoffeeSample) and
displays the same along the route. |
 |
Generating a Route |
The end-user enters two addresses, which are sent to MapPoint Web Service to return possible matches.
The sample uses the closest address matches and routes between them. A map of the route, route directions, and a
summary of the route are displayed on the page. |
 |
Inset Overview Map |
This application displays a small overview map of the
current map view. The sample makes use of the FindServiceSoap.GetLocationInfo
method to find out which entities the current location is a part of. From this
list of entities, an overview entity is chosen and a map of the entity is
displayed. |
 |
Map With Navigation Buttons |
The end-user has to the option to get a map in three different ways: by scale, by bounding
rectangle, and by height and width. |
 |
Mobile Appliation Simulation |
This sample is a console based application simulating a
mobile device scenario. The user enters an address and is returned a list of
nearby coffee shops. When the user selects a coffee shop, the application
displays the route to the coffee shop in words, and a picture of the map in a
web browser. |
 |
Pan Map Navigation |
In this Web application, the end-user can pan the map by
dragging it to a new location. Once the mouse button is released, the RenderServiceSoap.ConvertToLatLong
method is used to find the new center LatLong object. This sample also
demonstrates use of the zoom feature.
|
 |
Turn By Turn Route Maps |
In this Web application, the end-user enters two place
strings, which are sent to MapPoint Web Service to return possible matches. The
sample then routes between the two points and displays a list of directions and
each corresponding map view. |
 |
Data Upload |
This sample shows you how to upload your own data to a
custom data source using the CustomerDataService. Note that in order to
run this sample you must have access to the MapPoint Web Service Customer
Service Site (CSS) and current Microsoft Extranet credentials. |
 |
Line Drive Map |
In this Web application, the end-user enters two place
strings, which are sent to MapPoint Web Service to return possible matches. The
sample then routes between the two points and displays the corresponding map in the LineDrive map style, which is a simulated free hand map. |