A Tile layer displays the virtual earth tile background on the map.
Use the following steps for creating a basic map using the Polygon layer. These steps assume that you have added a page layout template to your report and have a data connection in place. See Adding an ActiveReport to a Project and Connect to a Data Source for further information.
Script
Paste inside the <Configuration></Configuration> tags. |
Copy Code
|
---|---|
<MapTileServerConfiguration> <Timeout>5</Timeout> <AppID>"Your Application Key"</AppID> </MapTileServerConfiguration> |
Script
Paste inside the <Configuration></Configuration> tags. |
Copy Code
|
---|---|
<!-- Configure embedded CloudMade tile provider with ApiKey --> <MapTileProvider Name="CloudMade" DisplayName="CloudMade Tiles Provider"> <Settings> <add key="ApiKey" value="API Key" /> </Settings> </MapTileProvider> |
Script
Paste inside the <Configuration></Configuration> tags. |
Copy Code
|
---|---|
<!-- Configure embedded MapQuest tile provider with ApiKey --> <MapTileProvider Name="MapQuest" DisplayName="Map Quest Tiles Provider"> <Settings> <add key="ApiKey" value="API Key" /> <add key="Timeout" value="3000" /> </Settings> </MapTileProvider> |
Note
If you are using proxy server connection to see the map tile images, you need to set credentials for the proxy server in the application config file for authentication. To use your default proxy server credentials, you can do the following:
For Visual Studio Designer (IDE)
Paste inside the <system.net></system.net> tags. |
Copy Code
|
---|---|
<defaultProxy useDefaultCredentials="true" /> |
For Visual Studio Application
Paste inside the <configuration></configuration> tags. |
Copy Code
|
---|---|
<system.net> |