Creates a
UrlTemplateImageryProvider
instance that provides tiled imagery hosted by OpenStreetMap
or another provider of Slippy tiles. The default url connects to OpenStreetMap's volunteer-run
servers, so you must conform to their
Tile Usage Policy.Parameters:
Name | Type | Attributes | Description | |||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
<optional> |
Object with the following properties:
Properties
|
- Source:
- See:
Throws:
-
The rectangle and minimumLevel indicate that there are more than four tiles at the minimum level. Imagery providers with more than four tiles at the minimum level are not supported.
- Type
- DeveloperError
Returns:
The imagery provider.
Example
var osm = Cesium.createOpenStreetMapImageryProvider({
url : 'https://a.tile.openstreetmap.org/'
});