more docs updates

This commit is contained in:
Vladimir Agafonkin 2012-07-19 17:11:26 +03:00
parent 92e9d43071
commit a2d7c9819e
4 changed files with 527 additions and 226 deletions

View File

@ -1,66 +1,28 @@
Layers addTo(map)
Map
panning inertia options
remove locateAndSetView
new locate options
getContainer
containerPointToLatLng
latLngToContainerPoint
addHandler
autopanstart event
Icon
Icon.Default
DivIcon
Control
position option
setPosition
getPosition
Control.Attribution prefix in options
Scale control
LatLngBounds pad
NEW DivIcon
on/off(eventMap)
on/off(space-separated types)
off(type) to remove all listeners
TileLayer
removed urlParams
detectRetina option
detectRetina option
redraw
setUrl
bringToFront
bringToBack
TileLayer.WMS
setParams
Marker
opacity option
setOpacity
update
ImageOverlay
opacity option
setOpacity
Popup
maxHeight
Path
bringToFront
bringToBack
@ -69,41 +31,30 @@ Path
redraw
events
contextmenu
FeatureGroup - ?
setStyle
Circle
getBounds
getLatLng
getRadius
MouseEvent
originalEvent
containerPoint
Global switches
NEW Global switches
L_NO_TOUCH
L_PREFER_CANVAS
L_DISABLE_3D
Transformation
NEW Transformation
Transformation(a, b, c, d)
transform(point, scale)
untransform(point, scale)
LineUtil
NEW LineUtil
simplify(points, tolerance)
pointToSegmentDistance(p, p1, p2)
closestPointOnSegment(p, p1, p2)
clipSegment(a, b, bounds)
PolyUtil
NEW PolyUtil
clipPolygon(points, bounds)
DomEvent
NEW DomEvent
addListener(obj, type, fn, context)
on
removeListener(obj, type, fn)
@ -115,7 +66,7 @@ DomEvent
getMousePosition(e, container)
getWheelDelta(e)
Transition
NEW Transition
Transition(el, options)
run(props)
@ -131,9 +82,9 @@ Transition
step
end
Draggable
NEW Draggable
Draggable(element, dragStartTarget)
enable()
disable()
@ -143,7 +94,7 @@ Draggable
drag
dragend
ILayer
NEW ILayer
onAdd(map)
onRemove(map)
@ -151,29 +102,15 @@ ILayer
options.minZoom and options.maxZoom
IFeature - ?
getBounds() or getLatLng()
setStyle
bindPopup
events
Control
Control(options)
getPosition()
setPosition()
addTo(map)
removeFrom(map)
IControl
NEW IControl
onAdd(map)
onRemove(map)
IProjection
NEW IProjection
project(latlng)
unproject(point)
ICRS
NEW ICRS
latLngToPoint(latlng, zoom)
pointToLatLng(point, zoom)
project(latlng)

View File

@ -122,24 +122,32 @@ pre code a:hover {
text-decoration: underline;
}
p code, td:last-child code {
color: #666;
}
table {
border-collapse: collapse;
box-shadow: 0 3px 15px #f0f0f0;
}
th {
background-color: #f3f3f3;
background-image: -webkit-gradient(linear, left top, left bottom, from(#f3f3f3), to(#e7e7e7)); /* Saf4+, Chrome */
background-image: -webkit-linear-gradient(top, #f3f3f3, #e7e7e7); /* Chrome 10+, Saf5.1+, iOS 5+ */
background-image: -moz-linear-gradient(top, #f3f3f3, #e7e7e7); /* FF3.6+ */
background-image: -o-linear-gradient(top, #f3f3f3, #e7e7e7); /* Opera 11.10+ */
background-image: linear-gradient(to bottom, #f3f3f3, #e7e7e7);
background-color: #eeeeee;
background-image: -webkit-gradient(linear, left top, left bottom, from(#eeeeee), to(#d7d7d7)); /* Saf4+, Chrome */
background-image: -webkit-linear-gradient(top, #eeeeee, #d7d7d7); /* Chrome 10+, Saf5.1+, iOS 5+ */
background-image: -moz-linear-gradient(top, #eeeeee, #d7d7d7); /* FF3.6+ */
background-image: -o-linear-gradient(top, #eeeeee, #d7d7d7); /* Opera 11.10+ */
background-image: linear-gradient(to bottom, #eeeeee, #d7d7d7);
text-shadow: 1px 1px 0 white;
padding: 5px 10px;
}
th, td {
padding: 8px 10px;
vertical-align: top;
/*line-height: 1.4;*/
}
td {
padding: 8px 10px;
/*border-right: 1px solid #eee;*/
}

View File

@ -36,7 +36,8 @@ pre .javascript .title {
}
code .number,
pre .hexcolor {
pre .hexcolor,
code .literal {
color: #00A707
}
@ -66,9 +67,6 @@ pre .tex .command {
color: #458;
font-weight: bold
}
code .literal {
color: #333;
}
pre .tag,
pre .tag .title,

File diff suppressed because it is too large Load Diff