Image#

Image

An image that markers can be drawn with. Created using POST /drawing/add-image.

Note

An image is kept across scene changes, until it is removed or the client that created it disconnects.

A Image object is passed and returned as its identifier, a number. A path that acts on an object takes it as (id).

GET /drawing/image/(id)/width#

The width of the image, in pixels.

Parameters:
  • id – The identifier of the Image object.

Response JSON Object:
  • value (int32)

GET /drawing/image/(id)/height#

The height of the image, in pixels.

Parameters:
  • id – The identifier of the Image object.

Response JSON Object:
  • value (int32)

POST /drawing/image/(id)/remove#

Remove the image. A marker drawn with it goes back to its own icon.

Parameters:
  • id – The identifier of the Image object.