Fork me on GitHub
Show:

ImageMapType

Summary

Similar to a ImageMapType but with some additional functionality.

See https://developers.google.com/maps/documentation/javascript/reference#ImageMapTypeOptions for additional parameter options.

Constructor

aeris.maps.gmaps.layers.maptype.ImageMapType

Syntax

aeris.maps.gmaps.layers.maptype.ImageMapType

(
  • options
)

Summary

Parameters:

Methods

createTileContainer_

Syntax

createTileContainer_

(
  • ownerDocument
)
HTMLElement private

Summary

Parameters:

Returns:

createTileImage_

Syntax

createTileImage_

(
  • ownerDocument
  • imageSrc
)
HTMLElement private

Summary

Parameters:

Returns:

getNormalizedCoord_

Syntax

getNormalizedCoord_

(
  • coord
  • zoom
)
Number private

Summary

Normalize to keep coordinates in bounds of map tile range.

See https://developers.google.com/maps/documentation/javascript/examples/maptype-image?csw=1

Parameters:

Returns:

getParentNode_

Syntax

getParentNode_

() ?HTMLElement private

Summary

Returns the parent node of the entire map type. The siblings of this node are other map types.

Note that this method is fragile, as it relies on an undocumented google maps DOM structure. Whenever possible, it's probably better to avoid using this method, and directly interface with this.divs_, instead.

Returns:

getTile

Syntax

getTile

(
  • coord
  • zoom
  • ownerDocument
)
HTMLElement

Summary

Parameters:

Returns:

releaseTile

Syntax

releaseTile

()

Summary

setOpacity

Syntax

setOpacity

(
  • opacity
)

Summary

Parameters:

setParentNodeZIndex_

Syntax

setParentNodeZIndex_

(
  • zIndex
)
private

Summary

Parameters:

setZIndex

Syntax

setZIndex

(
  • zIndex
)

Summary

Parameters:

Properties

divs_

Syntax

divs_

Array. private

Summary

document_

Syntax

document_

HTMLElement private

Summary

getTileUrl_

Syntax

getTileUrl_

Function

Summary

See {google.maps.ImageMapType}#getTileUrl

imgs_

Syntax

imgs_

Array. private

Summary

Images created for each tile.

opacity_

Syntax

opacity_

Number private

Summary