more docs updates
This commit is contained in:
parent
92e9d43071
commit
a2d7c9819e
91
DOCS-TODO
91
DOCS-TODO
@ -1,42 +1,21 @@
|
|||||||
|
|
||||||
Layers addTo(map)
|
|
||||||
|
|
||||||
Map
|
Map
|
||||||
panning inertia options
|
panning inertia options
|
||||||
|
|
||||||
remove locateAndSetView
|
remove locateAndSetView
|
||||||
new locate options
|
new locate options
|
||||||
|
|
||||||
getContainer
|
|
||||||
containerPointToLatLng
|
|
||||||
latLngToContainerPoint
|
|
||||||
addHandler
|
addHandler
|
||||||
|
|
||||||
autopanstart event
|
|
||||||
|
|
||||||
Icon
|
Icon
|
||||||
Icon.Default
|
Icon.Default
|
||||||
DivIcon
|
|
||||||
|
|
||||||
Control
|
NEW DivIcon
|
||||||
position option
|
|
||||||
|
|
||||||
setPosition
|
|
||||||
getPosition
|
|
||||||
|
|
||||||
Control.Attribution prefix in options
|
|
||||||
|
|
||||||
Scale control
|
|
||||||
|
|
||||||
LatLngBounds pad
|
|
||||||
|
|
||||||
on/off(eventMap)
|
on/off(eventMap)
|
||||||
on/off(space-separated types)
|
on/off(space-separated types)
|
||||||
off(type) to remove all listeners
|
off(type) to remove all listeners
|
||||||
|
|
||||||
TileLayer
|
TileLayer
|
||||||
removed urlParams
|
|
||||||
|
|
||||||
detectRetina option
|
detectRetina option
|
||||||
|
|
||||||
redraw
|
redraw
|
||||||
@ -44,23 +23,6 @@ TileLayer
|
|||||||
bringToFront
|
bringToFront
|
||||||
bringToBack
|
bringToBack
|
||||||
|
|
||||||
TileLayer.WMS
|
|
||||||
setParams
|
|
||||||
|
|
||||||
Marker
|
|
||||||
opacity option
|
|
||||||
|
|
||||||
setOpacity
|
|
||||||
update
|
|
||||||
|
|
||||||
ImageOverlay
|
|
||||||
opacity option
|
|
||||||
|
|
||||||
setOpacity
|
|
||||||
|
|
||||||
Popup
|
|
||||||
maxHeight
|
|
||||||
|
|
||||||
Path
|
Path
|
||||||
bringToFront
|
bringToFront
|
||||||
bringToBack
|
bringToBack
|
||||||
@ -69,41 +31,30 @@ Path
|
|||||||
|
|
||||||
redraw
|
redraw
|
||||||
|
|
||||||
events
|
FeatureGroup - ?
|
||||||
contextmenu
|
setStyle
|
||||||
|
|
||||||
Circle
|
NEW Global switches
|
||||||
getBounds
|
|
||||||
getLatLng
|
|
||||||
getRadius
|
|
||||||
|
|
||||||
MouseEvent
|
|
||||||
originalEvent
|
|
||||||
containerPoint
|
|
||||||
|
|
||||||
Global switches
|
|
||||||
L_NO_TOUCH
|
L_NO_TOUCH
|
||||||
L_PREFER_CANVAS
|
L_PREFER_CANVAS
|
||||||
L_DISABLE_3D
|
L_DISABLE_3D
|
||||||
|
|
||||||
|
NEW Transformation
|
||||||
|
|
||||||
Transformation
|
|
||||||
Transformation(a, b, c, d)
|
Transformation(a, b, c, d)
|
||||||
|
|
||||||
transform(point, scale)
|
transform(point, scale)
|
||||||
untransform(point, scale)
|
untransform(point, scale)
|
||||||
|
|
||||||
LineUtil
|
NEW LineUtil
|
||||||
simplify(points, tolerance)
|
simplify(points, tolerance)
|
||||||
pointToSegmentDistance(p, p1, p2)
|
pointToSegmentDistance(p, p1, p2)
|
||||||
closestPointOnSegment(p, p1, p2)
|
closestPointOnSegment(p, p1, p2)
|
||||||
clipSegment(a, b, bounds)
|
clipSegment(a, b, bounds)
|
||||||
|
|
||||||
PolyUtil
|
NEW PolyUtil
|
||||||
clipPolygon(points, bounds)
|
clipPolygon(points, bounds)
|
||||||
|
|
||||||
DomEvent
|
NEW DomEvent
|
||||||
addListener(obj, type, fn, context)
|
addListener(obj, type, fn, context)
|
||||||
on
|
on
|
||||||
removeListener(obj, type, fn)
|
removeListener(obj, type, fn)
|
||||||
@ -115,7 +66,7 @@ DomEvent
|
|||||||
getMousePosition(e, container)
|
getMousePosition(e, container)
|
||||||
getWheelDelta(e)
|
getWheelDelta(e)
|
||||||
|
|
||||||
Transition
|
NEW Transition
|
||||||
Transition(el, options)
|
Transition(el, options)
|
||||||
|
|
||||||
run(props)
|
run(props)
|
||||||
@ -131,7 +82,7 @@ Transition
|
|||||||
step
|
step
|
||||||
end
|
end
|
||||||
|
|
||||||
Draggable
|
NEW Draggable
|
||||||
Draggable(element, dragStartTarget)
|
Draggable(element, dragStartTarget)
|
||||||
|
|
||||||
enable()
|
enable()
|
||||||
@ -143,7 +94,7 @@ Draggable
|
|||||||
drag
|
drag
|
||||||
dragend
|
dragend
|
||||||
|
|
||||||
ILayer
|
NEW ILayer
|
||||||
onAdd(map)
|
onAdd(map)
|
||||||
onRemove(map)
|
onRemove(map)
|
||||||
|
|
||||||
@ -151,29 +102,15 @@ ILayer
|
|||||||
|
|
||||||
options.minZoom and options.maxZoom
|
options.minZoom and options.maxZoom
|
||||||
|
|
||||||
IFeature - ?
|
NEW IControl
|
||||||
getBounds() or getLatLng()
|
|
||||||
setStyle
|
|
||||||
bindPopup
|
|
||||||
events
|
|
||||||
|
|
||||||
Control
|
|
||||||
Control(options)
|
|
||||||
|
|
||||||
getPosition()
|
|
||||||
setPosition()
|
|
||||||
addTo(map)
|
|
||||||
removeFrom(map)
|
|
||||||
|
|
||||||
IControl
|
|
||||||
onAdd(map)
|
onAdd(map)
|
||||||
onRemove(map)
|
onRemove(map)
|
||||||
|
|
||||||
IProjection
|
NEW IProjection
|
||||||
project(latlng)
|
project(latlng)
|
||||||
unproject(point)
|
unproject(point)
|
||||||
|
|
||||||
ICRS
|
NEW ICRS
|
||||||
latLngToPoint(latlng, zoom)
|
latLngToPoint(latlng, zoom)
|
||||||
pointToLatLng(point, zoom)
|
pointToLatLng(point, zoom)
|
||||||
project(latlng)
|
project(latlng)
|
||||||
|
@ -122,24 +122,32 @@ pre code a:hover {
|
|||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
p code, td:last-child code {
|
||||||
|
color: #666;
|
||||||
|
}
|
||||||
|
|
||||||
table {
|
table {
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
box-shadow: 0 3px 15px #f0f0f0;
|
box-shadow: 0 3px 15px #f0f0f0;
|
||||||
}
|
}
|
||||||
th {
|
th {
|
||||||
background-color: #f3f3f3;
|
background-color: #eeeeee;
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#f3f3f3), to(#e7e7e7)); /* Saf4+, Chrome */
|
background-image: -webkit-gradient(linear, left top, left bottom, from(#eeeeee), to(#d7d7d7)); /* Saf4+, Chrome */
|
||||||
background-image: -webkit-linear-gradient(top, #f3f3f3, #e7e7e7); /* Chrome 10+, Saf5.1+, iOS 5+ */
|
background-image: -webkit-linear-gradient(top, #eeeeee, #d7d7d7); /* Chrome 10+, Saf5.1+, iOS 5+ */
|
||||||
background-image: -moz-linear-gradient(top, #f3f3f3, #e7e7e7); /* FF3.6+ */
|
background-image: -moz-linear-gradient(top, #eeeeee, #d7d7d7); /* FF3.6+ */
|
||||||
background-image: -o-linear-gradient(top, #f3f3f3, #e7e7e7); /* Opera 11.10+ */
|
background-image: -o-linear-gradient(top, #eeeeee, #d7d7d7); /* Opera 11.10+ */
|
||||||
background-image: linear-gradient(to bottom, #f3f3f3, #e7e7e7);
|
background-image: linear-gradient(to bottom, #eeeeee, #d7d7d7);
|
||||||
|
|
||||||
|
text-shadow: 1px 1px 0 white;
|
||||||
|
|
||||||
|
padding: 5px 10px;
|
||||||
}
|
}
|
||||||
th, td {
|
th, td {
|
||||||
padding: 8px 10px;
|
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
/*line-height: 1.4;*/
|
/*line-height: 1.4;*/
|
||||||
}
|
}
|
||||||
td {
|
td {
|
||||||
|
padding: 8px 10px;
|
||||||
/*border-right: 1px solid #eee;*/
|
/*border-right: 1px solid #eee;*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -36,7 +36,8 @@ pre .javascript .title {
|
|||||||
}
|
}
|
||||||
|
|
||||||
code .number,
|
code .number,
|
||||||
pre .hexcolor {
|
pre .hexcolor,
|
||||||
|
code .literal {
|
||||||
color: #00A707
|
color: #00A707
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -66,9 +67,6 @@ pre .tex .command {
|
|||||||
color: #458;
|
color: #458;
|
||||||
font-weight: bold
|
font-weight: bold
|
||||||
}
|
}
|
||||||
code .literal {
|
|
||||||
color: #333;
|
|
||||||
}
|
|
||||||
|
|
||||||
pre .tag,
|
pre .tag,
|
||||||
pre .tag .title,
|
pre .tag .title,
|
||||||
|
630
reference.html
630
reference.html
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user