Class: GoogleMap

Apps.FindDevice~GoogleMap

new GoogleMap(id, locale, i18n)

Name Type Description
id string
locale string
i18n Mobizen#i18n

Requires

  • module:https://maps.googleapis.com/maps/api/js?v=3.exp

Members

circles array

currLoc LatLng

currZoom number

infowindows array

lastLoc LatLng

lastZoom number

locale string

locations object

markers array

polylines array

twObj object

Type Definitions

bounds LatLngBounds

map Map

Methods

findDevice(latlng, range, devicename, time)

Name Type Description
latlng LatLng
range number
devicename string
time number

geoCoder(latlng)

Name Type Description
latlng LatLng

getCircle(latlng, radius, color, opacity)

Name Type Description
latlng LatLng
radius number
color string
opacity number

getInfoWindow(devicename, address, time, range, offsetX, offsetY)

Name Type Description
devicename string
address string
time number
range number
offsetX number
offsetY number

getLatLng(latlng){LatLng}

Name Type Description
latlng LatLng
Returns:
Type Description
LatLng

getMarker(latlng, animation, icon, zindex)

Name Type Description
latlng LatLng
animation object
icon object
zindex number

getMarkerImg(type, text)

Name Type Description
type string
text string

getPolyline(paths){array}

Name Type Description
paths array
Returns:
Type Description
array polyline

panning(latlng)

Name Type Description
latlng LatLng

showPath(paths)

Name Type Description
paths array

showPosition(latlng, devicename, address, time, range)

Name Type Description
latlng LatLng
devicename string
address string
time number
range number

tracking(paths)

Name Type Description
paths array

zoom(zoom, latlng)

Name Type Description
zoom number
latlng LatLng

inner getCountryFromLocale(locale){string}

Name Type Description
locale string
Returns:
Type Description
string locale string with country
comments powered by Disqus