Search
Preparing search index...
The search index is not available
swimOS
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Globals
@swim/map
MapLayerViewController
Class MapLayerViewController<V>
Type parameters
V
:
MapLayerView
Hierarchy
MapGraphicViewController
<
V
>
MapLayerViewController
Implements
ViewObserver
<
V
>
RenderViewController
<
V
>
GraphicViewObserver
<
V
>
MapGraphicViewObserver
<
V
>
MapLayerViewObserver
<
V
>
Index
Constructors
constructor
Accessors
anchor
app
View
app
View
Controller
bounds
canvas
View
child
View
Controllers
child
Views
culled
dirty
hidden
parent
View
parent
View
Controller
projection
view
zoom
Methods
animate
append
Child
View
append
Child
View
Controller
did
Set
View
get
Child
View
get
Child
View
Controller
insert
Child
View
insert
Child
View
Controller
is
Mounted
key
on
Set
View
prepend
Child
View
prepend
Child
View
Controller
project
remove
remove
All
remove
Child
View
remove
Child
View
Controller
set
Child
View
set
Child
View
Controller
set
Dirty
set
View
unproject
view
Did
Animate
view
Did
Cull
view
Did
Insert
Child
View
view
Did
Layout
view
Did
Mount
view
Did
Remove
Child
View
view
Did
Render
view
Did
Resize
view
Did
Scroll
view
Did
Set
Anchor
view
Did
Set
Bounds
view
Did
Set
Culled
view
Did
Set
Hidden
view
Did
Set
Key
view
Did
Set
Parent
View
view
Did
Set
Projection
view
Did
Set
Zoom
view
Did
Unmount
view
Will
Animate
view
Will
Cull
view
Will
Insert
Child
View
view
Will
Layout
view
Will
Mount
view
Will
Remove
Child
View
view
Will
Render
view
Will
Resize
view
Will
Scroll
view
Will
Set
Anchor
view
Will
Set
Bounds
view
Will
Set
Culled
view
Will
Set
Hidden
view
Will
Set
Key
view
Will
Set
Parent
View
view
Will
Set
Projection
view
Will
Set
Zoom
view
Will
Unmount
will
Set
View
Constructors
constructor
new
Map
Layer
View
Controller
(
)
:
MapLayerViewController
Returns
MapLayerViewController
Accessors
anchor
get
anchor
(
)
:
PointR2
Returns
PointR2
app
View
get
appView
(
)
:
AppView
|
null
Returns
AppView
|
null
app
View
Controller
get
appViewController
(
)
:
AppViewController
|
null
Returns
AppViewController
|
null
bounds
get
bounds
(
)
:
BoxR2
Returns
BoxR2
canvas
View
get
canvasView
(
)
:
CanvasView
|
null
Returns
CanvasView
|
null
child
View
Controllers
get
childViewControllers
(
)
:
ReadonlyArray
<
ViewController
|
null
>
Returns
ReadonlyArray
<
ViewController
|
null
>
child
Views
get
childViews
(
)
:
ReadonlyArray
<
View
>
Returns
ReadonlyArray
<
View
>
culled
get
culled
(
)
:
boolean
Returns
boolean
dirty
get
dirty
(
)
:
boolean
Returns
boolean
hidden
get
hidden
(
)
:
boolean
Returns
boolean
parent
View
get
parentView
(
)
:
View
|
null
Returns
View
|
null
parent
View
Controller
get
parentViewController
(
)
:
ViewController
|
null
Returns
ViewController
|
null
projection
get
projection
(
)
:
MapProjection
Returns
MapProjection
view
get
view
(
)
:
V
|
null
Returns
V
|
null
zoom
get
zoom
(
)
:
number
Returns
number
Methods
animate
animate
(
)
:
void
Returns
void
append
Child
View
append
Child
View
(
childView
:
View
)
:
void
Parameters
childView:
View
Returns
void
append
Child
View
Controller
append
Child
View
Controller
(
childViewController
:
ViewController
)
:
void
Parameters
childViewController:
ViewController
Returns
void
Protected
did
Set
View
did
Set
View
(
view
:
V
|
null
)
:
void
Parameters
view:
V
|
null
Returns
void
get
Child
View
get
Child
View
(
key
:
string
)
:
View
|
null
Parameters
key:
string
Returns
View
|
null
get
Child
View
Controller
get
Child
View
Controller
(
key
:
string
)
:
ViewController
|
null
Parameters
key:
string
Returns
ViewController
|
null
insert
Child
View
insert
Child
View
(
childView
:
View
, targetView
:
View
|
null
)
:
void
Parameters
childView:
View
targetView:
View
|
null
Returns
void
insert
Child
View
Controller
insert
Child
View
Controller
(
childViewController
:
ViewController
, targetViewController
:
ViewController
|
View
|
null
)
:
void
Parameters
childViewController:
ViewController
targetViewController:
ViewController
|
View
|
null
Returns
void
is
Mounted
is
Mounted
(
)
:
boolean
Returns
boolean
key
key
(
)
:
string
|
null
Returns
string
|
null
Protected
on
Set
View
on
Set
View
(
view
:
V
|
null
)
:
void
Parameters
view:
V
|
null
Returns
void
prepend
Child
View
prepend
Child
View
(
childView
:
View
)
:
void
Parameters
childView:
View
Returns
void
prepend
Child
View
Controller
prepend
Child
View
Controller
(
childViewController
:
ViewController
)
:
void
Parameters
childViewController:
ViewController
Returns
void
project
project
(
lnglat
:
AnyLngLat
)
:
PointR2
project
(
lng
:
number
, lat
:
number
)
:
PointR2
Parameters
lnglat:
AnyLngLat
Returns
PointR2
Parameters
lng:
number
lat:
number
Returns
PointR2
remove
remove
(
)
:
void
Returns
void
remove
All
remove
All
(
)
:
void
Returns
void
remove
Child
View
remove
Child
View
(
childView
:
View
)
:
void
Parameters
childView:
View
Returns
void
remove
Child
View
Controller
remove
Child
View
Controller
(
childViewController
:
ViewController
)
:
void
Parameters
childViewController:
ViewController
Returns
void
set
Child
View
set
Child
View
(
key
:
string
, newChildView
:
View
|
null
)
:
View
|
null
Parameters
key:
string
newChildView:
View
|
null
Returns
View
|
null
set
Child
View
Controller
set
Child
View
Controller
(
key
:
string
, newChildViewController
:
ViewController
|
null
)
:
ViewController
|
null
Parameters
key:
string
newChildViewController:
ViewController
|
null
Returns
ViewController
|
null
set
Dirty
set
Dirty
(
dirty
:
boolean
)
:
void
Parameters
dirty:
boolean
Returns
void
set
View
set
View
(
view
:
V
|
null
)
:
void
Parameters
view:
V
|
null
Returns
void
unproject
unproject
(
point
:
AnyPointR2
)
:
LngLat
unproject
(
x
:
number
, y
:
number
)
:
LngLat
Parameters
point:
AnyPointR2
Returns
LngLat
Parameters
x:
number
y:
number
Returns
LngLat
view
Did
Animate
view
Did
Animate
(
frame
:
number
, view
:
V
)
:
void
Parameters
frame:
number
view:
V
Returns
void
view
Did
Cull
view
Did
Cull
(
view
:
V
)
:
void
Parameters
view:
V
Returns
void
view
Did
Insert
Child
View
view
Did
Insert
Child
View
(
childView
:
View
, targetView
:
View
|
null
|
undefined
, view
:
V
)
:
void
Parameters
childView:
View
targetView:
View
|
null
|
undefined
view:
V
Returns
void
view
Did
Layout
view
Did
Layout
(
view
:
V
)
:
void
Parameters
view:
V
Returns
void
view
Did
Mount
view
Did
Mount
(
view
:
V
)
:
void
Parameters
view:
V
Returns
void
view
Did
Remove
Child
View
view
Did
Remove
Child
View
(
childView
:
View
, view
:
V
)
:
void
Parameters
childView:
View
view:
V
Returns
void
view
Did
Render
view
Did
Render
(
context
:
RenderingContext
, view
:
V
)
:
void
Parameters
context:
RenderingContext
view:
V
Returns
void
view
Did
Resize
view
Did
Resize
(
view
:
V
)
:
void
Parameters
view:
V
Returns
void
view
Did
Scroll
view
Did
Scroll
(
view
:
V
)
:
void
Parameters
view:
V
Returns
void
view
Did
Set
Anchor
view
Did
Set
Anchor
(
newAnchor
:
PointR2
, oldAnchor
:
PointR2
, view
:
V
)
:
void
Parameters
newAnchor:
PointR2
oldAnchor:
PointR2
view:
V
Returns
void
view
Did
Set
Bounds
view
Did
Set
Bounds
(
newBounds
:
BoxR2
, oldBounds
:
BoxR2
, view
:
V
)
:
void
Parameters
newBounds:
BoxR2
oldBounds:
BoxR2
view:
V
Returns
void
view
Did
Set
Culled
view
Did
Set
Culled
(
culled
:
boolean
, view
:
V
)
:
void
Parameters
culled:
boolean
view:
V
Returns
void
view
Did
Set
Hidden
view
Did
Set
Hidden
(
hidden
:
boolean
, view
:
V
)
:
void
Parameters
hidden:
boolean
view:
V
Returns
void
view
Did
Set
Key
view
Did
Set
Key
(
key
:
string
|
null
, view
:
V
)
:
void
Parameters
key:
string
|
null
view:
V
Returns
void
view
Did
Set
Parent
View
view
Did
Set
Parent
View
(
parentView
:
View
|
null
, view
:
V
)
:
void
Parameters
parentView:
View
|
null
view:
V
Returns
void
view
Did
Set
Projection
view
Did
Set
Projection
(
projection
:
MapProjection
, view
:
V
)
:
void
Parameters
projection:
MapProjection
view:
V
Returns
void
view
Did
Set
Zoom
view
Did
Set
Zoom
(
newZoom
:
number
, oldZoom
:
number
, view
:
V
)
:
void
Parameters
newZoom:
number
oldZoom:
number
view:
V
Returns
void
view
Did
Unmount
view
Did
Unmount
(
view
:
V
)
:
void
Parameters
view:
V
Returns
void
view
Will
Animate
view
Will
Animate
(
frame
:
number
, view
:
V
)
:
void
Parameters
frame:
number
view:
V
Returns
void
view
Will
Cull
view
Will
Cull
(
view
:
V
)
:
void
Parameters
view:
V
Returns
void
view
Will
Insert
Child
View
view
Will
Insert
Child
View
(
childView
:
View
, targetView
:
View
|
null
|
undefined
, view
:
V
)
:
void
Parameters
childView:
View
targetView:
View
|
null
|
undefined
view:
V
Returns
void
view
Will
Layout
view
Will
Layout
(
view
:
V
)
:
void
Parameters
view:
V
Returns
void
view
Will
Mount
view
Will
Mount
(
view
:
V
)
:
void
Parameters
view:
V
Returns
void
view
Will
Remove
Child
View
view
Will
Remove
Child
View
(
childView
:
View
, view
:
V
)
:
void
Parameters
childView:
View
view:
V
Returns
void
view
Will
Render
view
Will
Render
(
context
:
RenderingContext
, view
:
V
)
:
void
Parameters
context:
RenderingContext
view:
V
Returns
void
view
Will
Resize
view
Will
Resize
(
view
:
V
)
:
void
Parameters
view:
V
Returns
void
view
Will
Scroll
view
Will
Scroll
(
view
:
V
)
:
void
Parameters
view:
V
Returns
void
view
Will
Set
Anchor
view
Will
Set
Anchor
(
anchor
:
PointR2
, view
:
V
)
:
PointR2
|
void
Parameters
anchor:
PointR2
view:
V
Returns
PointR2
|
void
view
Will
Set
Bounds
view
Will
Set
Bounds
(
bounds
:
BoxR2
, view
:
V
)
:
BoxR2
|
void
Parameters
bounds:
BoxR2
view:
V
Returns
BoxR2
|
void
view
Will
Set
Culled
view
Will
Set
Culled
(
culled
:
boolean
, view
:
V
)
:
boolean
|
void
Parameters
culled:
boolean
view:
V
Returns
boolean
|
void
view
Will
Set
Hidden
view
Will
Set
Hidden
(
hidden
:
boolean
, view
:
V
)
:
boolean
|
void
Parameters
hidden:
boolean
view:
V
Returns
boolean
|
void
view
Will
Set
Key
view
Will
Set
Key
(
key
:
string
|
null
, view
:
V
)
:
void
Parameters
key:
string
|
null
view:
V
Returns
void
view
Will
Set
Parent
View
view
Will
Set
Parent
View
(
parentView
:
View
|
null
, view
:
V
)
:
void
Parameters
parentView:
View
|
null
view:
V
Returns
void
view
Will
Set
Projection
view
Will
Set
Projection
(
projection
:
MapProjection
, view
:
V
)
:
MapProjection
|
void
Parameters
projection:
MapProjection
view:
V
Returns
MapProjection
|
void
view
Will
Set
Zoom
view
Will
Set
Zoom
(
zoom
:
number
, view
:
V
)
:
void
Parameters
zoom:
number
view:
V
Returns
void
view
Will
Unmount
view
Will
Unmount
(
view
:
V
)
:
void
Parameters
view:
V
Returns
void
Protected
will
Set
View
will
Set
View
(
view
:
V
|
null
)
:
void
Parameters
view:
V
|
null
Returns
void
Globals
@swim/core
@swim/mesh
@swim/ui
@swim/ux
@swim/chart
@swim/gauge
@swim/map
@swim/mapbox
@swim/pie
@swim/web
Lng
Lat
Lng
Lat
Interpolator
Map
Circle
View
Map
Graphic
View
Map
Graphic
View
Controller
Map
Layer
View
Map
Layer
View
Controller
constructor
anchor
app
View
app
View
Controller
bounds
canvas
View
child
View
Controllers
child
Views
culled
dirty
hidden
parent
View
parent
View
Controller
projection
view
zoom
animate
append
Child
View
append
Child
View
Controller
did
Set
View
get
Child
View
get
Child
View
Controller
insert
Child
View
insert
Child
View
Controller
is
Mounted
key
on
Set
View
prepend
Child
View
prepend
Child
View
Controller
project
remove
remove
All
remove
Child
View
remove
Child
View
Controller
set
Child
View
set
Child
View
Controller
set
Dirty
set
View
unproject
view
Did
Animate
view
Did
Cull
view
Did
Insert
Child
View
view
Did
Layout
view
Did
Mount
view
Did
Remove
Child
View
view
Did
Render
view
Did
Resize
view
Did
Scroll
view
Did
Set
Anchor
view
Did
Set
Bounds
view
Did
Set
Culled
view
Did
Set
Hidden
view
Did
Set
Key
view
Did
Set
Parent
View
view
Did
Set
Projection
view
Did
Set
Zoom
view
Did
Unmount
view
Will
Animate
view
Will
Cull
view
Will
Insert
Child
View
view
Will
Layout
view
Will
Mount
view
Will
Remove
Child
View
view
Will
Render
view
Will
Resize
view
Will
Scroll
view
Will
Set
Anchor
view
Will
Set
Bounds
view
Will
Set
Culled
view
Will
Set
Hidden
view
Will
Set
Key
view
Will
Set
Parent
View
view
Will
Set
Projection
view
Will
Set
Zoom
view
Will
Unmount
will
Set
View
Map
Line
View
Map
Polygon
View
Lng
Lat
Init
Map
Circle
View
Init
Map
Graphic
View
Observer
Map
Layer
View
Observer
Map
Line
View
Init
Map
Polygon
View
Init
Map
Projection
Map
View
Map
View
Controller
Map
View
Observer
Any
Lng
Lat
Any
Map
Circle
View
Any
Map
Line
View
Any
Map
Polygon
View