Class: ImageUrlSource

ImageUrlSource

***.


new ImageUrlSource(options)

Parameters:
Name Type Description
options bu.street.threejs.ImageUrlSourceOptions

Options.

Source:
bu-street/imageurlsource.js

Extends

  • ol.Object

Methods


<static> fromString(options)

Create an ImageUrlSource from a string template.

Parameters:
Name Type Description
options bu.street.threejs.ImageUrlSourceFromStringOptions

Options.

Source:
bu-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:
bu-street/imageurlsource.js

loadAsset(tile, done)

Loads an asset.

Parameters:
Name Type Description
tile bu.street.Tile

Tile

done function

done function

Source:
bu-street/imageurlsource.js