C1Maps allows you to use geographical information from Bing Maps. Before using this service, you should check the licensing requirements associated with it. These licensing terms can be found at:
http://www.microsoft.com/maps/product/terms.html
The map surfaces provided by the C1Maps control (VirtualEarthRoadSurface, VirtualEarthAerialSurface, VirtualEarthHybridSurface) use the Bing Maps API. Usage of these online tile sources is not free for commercial use. You can learn more about using Bing Maps from the Microsoft documentation link below.
https://docs.microsoft.com/en-us/bingmaps/
Using a Bing Maps Key in your code is the recommended method of authenticating your Bing Maps application using C1Maps. Bing Maps Keys do not expire, and a service request is not required to obtain a key. Therefore, it is very easy to authenticate your application using a Bing Maps Key and the C1Maps control.
If you plan to use the built-in tile sources that are supported by the C1Maps control, you first need to get a Bing Maps Key. You can go to the Bing Maps Account Center to create an account and get a key.
http://www.bingmapsportal.com/
For more information on obtaining a key, visit the Microsoft documentation on Getting a Bing Map Key.
Once you have a key, you can authenticate usage of any of the provided Bing Maps tile sources (VirtualEarthRoadSurface, VirtualEarthAerialSurface, VirtualEarthHybridSurface) by passing your key within the <c1:C1Maps>
tag in the source view. For example:
C# |
Copy Code
|
---|---|
<c1:C1Maps ID="C1Maps1" runat="server" ShowTools="True" Source="BingMapsRoadSource" Zoom="2" BingMapsKey="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"> </c1:C1Maps> |