ScriptDoc Reference

Properties

static Object Mapifies.AddScreenOverlay.defaults.defaults

Default options for AddScreenOverlay

Functions

Mapifies.AddScreenOverlay(jQuery element, Object options, Function callback) : static Function

This function allows you to add a screen overlay to a map.

jQueryelementThe element to initialise the map on.
ObjectoptionsThe object that contains the options.
FunctioncallbackThe callback function to pass out after initialising the map.

Mapifies.AddScreenOverlay.defaults(String imageUrl, Object screenXY, Object overlayXY, Object size) : static Object

Default options for AddScreenOverlay

StringimageUrlThe URL of the image to load.
ObjectscreenXYThe X/Y position in the viewport to place the image.
ObjectoverlayXYThe overlay X/Y position in the viewport.
ObjectsizeThe size of the image, which is converted to a GSize.

Mapifies.RemoveScreenOverlay(jQuery element, GScreenOverlay overlay, Function callback) : static Function

This function allows you to remove a screen overlay from the map

jQueryelementThe element to initialise the map on.
GScreenOverlayoverlayThe overlay to be removed
FunctioncallbackThe callback function to pass out after initialising the map.