new ImageUrlSource(options)
Parameters:
Name | Type | Description |
---|---|---|
options |
Mapspace.street.threejs.ImageUrlSourceOptions | Options. |
- Source:
- mapspace-street/imageurlsource.js
Extends
- ol.Object
Methods
-
<static> fromString(options)
-
Create an ImageUrlSource from a string template.
Parameters:
Name Type Description options
Mapspace.street.threejs.ImageUrlSourceFromStringOptions Options.
- Source:
- mapspace-street/imageurlsource.js
-
<static> loadImage()
-
N.B. loadTile is broken on IE8 for images that require resizing, due to the missing HTML5 canvas element and naturalWidth/naturalHeight properties on image elements. This is currently not a problem because the HTML-based renderers (WebGL and CSS) do not work on IE8 anyway for lack of CSS transforms support. It could become a problem in the future if we decide to support CSS rendering of flat panoramas on IE8.
- Source:
- mapspace-street/imageurlsource.js
-
loadAsset(tile, done)
-
Loads an asset.
Parameters:
Name Type Description tile
Mapspace.street.Tile Tile
done
function done function
- Source:
- mapspace-street/imageurlsource.js