Enumerations #
This class exposes no enumerations.
Constants #
This class exposes no constants.
Events #
Definition |
Parameters |
Return Type |
Description |
This class exposes no events.
Methods #
Definition |
Parameters |
Return Type |
Description |
Constructor |
picture as WebPicture |
None |
Creates a new instance of the class. |
bounds as GraffitiMap.Bounds |
Constructor |
pictureURL as String |
None |
Creates a new instance of the class. |
bounds as GraffitiMap.Bounds |
Properties #
Name |
Type |
Default Value |
Description |
Bounds |
GraffitiMap.Bounds |
Nil |
The area over which to draw the image. |
Clickable |
Boolean |
False |
When True, events will be raised on the map instance when the image is clicked/pressed or double-clicked/-pressed. |
Opacity |
Double |
1.0 |
The opacity of the image when drawn. 0 for transparent, 1 for opaque. |
PictureURL |
String |
“” |
URL to the picture to draw. |
Tag |
Variant |
Nil |
Developer storage. |
Examples #
Historical Newark, NJ #
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 )
Notes #
This class currently has no notes.