GraffitiSuite Docs
Docs
Image
Loading document parsing libraries...
# Image Class ## Methods | Name | Parameters | Return Type | Description | | --- | :---: | :---: | --- | | Close | (None) | (None) | | | Constructor | pictureURL as String <br> bounds as GraffitiMap.Bounds | (None) | Creates a new instance of the class. | | Constructor | picture as WebPicture <br> bounds as GraffitiMap.Bounds | (None) | Creates a new instance of the class. | | Attributes | Hidden | toJavaScript | | ## Properties | Name | Type | Default Value | Description | | --- | :---: | :---: | --- | | Attributes | ID | String | | | Attributes | mParent | GraffitiUpdateInterface | | | Bounds | GraffitiMap.Bounds | Nil | | | Clickable | Boolean | Nil | | | Opacity | Double | Nil | | | PictureURL | String | Nil | | | Tag | Variant | Nil | Developer storage. | ## Examples ### Historical Newark ``` var newarkBounds as new GraffitiMap.Bounds( new GraffitiMap.Point( 40.773941, -74.12544 ), new GraffitiMap.Point( 40.712216, -74.22655 ) ) var newarkOverlay as new GraffitiMap.Overlays.Image( "https://storage.googleapis.com/geo-devrel-public-buckets/newark_nj_1922-661x516.jpeg", newarkBounds ) newarkOverlay.Clickable = True me.AddImageOverlay( newarkOverlay ) ```