GpsGate Server JavaScript API

Interface  1.0.0

GpsGate Server JavaScript API > Interface > Franson.Map.IOverlay
Search:
 
Filters

Class Franson.Map.IOverlay

Known Subclasses:
Franson.Map.Track Franson.Map.AlarmMarker Franson.Map.Polyline Franson.Map.VehicleMarker Franson.Map.Marker
if you only need to add map support you don't need to implement this
interface for objects added to the map (or rather onto a layer)

Constructor

Franson.Map.IOverlay()

Methods

destroy

void destroy()
destructor
Returns: void

hide

void hide()
ok to specify here? fires event onvisibilitychanged
Returns: void

initialize

void initialize(layer)
Parameters:
layer <Franson.Map.ILayer> (Not a Map)
Returns: void

isHidden

boolean isHidden()
ok to specify here?
Returns: boolean

redraw

void redraw(force)
Parameters:
force <boolean>
Returns: void

remove

void remove()
note that you should(must) not call this directly, rather use map.removeOverlay(marker) (which will call this)
see GOverlay.remove()
Returns: void

show

void show()
ok to specify here? fires event onvisibilitychanged
Returns: void

Events

onremove

onremove ( )
fired in remove()

onvisibilitychanged

onvisibilitychanged ( visible )
fired in show() and hide()
Parameters:
visible <boolean>


Copyright © 2009 Franson Technology AB, Sweden. All rights reserved.