diff --git a/docs/css/screen.css b/docs/css/screen.css index a02835e4..2c723312 100644 --- a/docs/css/screen.css +++ b/docs/css/screen.css @@ -73,4 +73,16 @@ a.twitter-link { } .javascript .keyword { + } + +#toc ul { + list-style-type: none; + padding-left: 0; + } + +#map-class { + margin-top: 0.5em; + } +a.nodocs { + color: #f44; } \ No newline at end of file diff --git a/reference.html b/reference.html index c8f13eed..b2a6c5d2 100644 --- a/reference.html +++ b/reference.html @@ -37,7 +37,90 @@


-

L.Map

+

Contents

+ +
+
+

Map

+ + + +
+
+

UI layers

+ +

Raster layers

+ +

Vector layers

+ +
+
+

Basic types

+ +

Mixins

+ +

Interfaces

+ +
+
+

Utility

+ + + +
+
+ +

L.Map

The central class of the API — it is used to create a map on a page and manipulate it.

@@ -388,7 +471,7 @@ map.addLayer(cloudmade); -

L.Path

+

L.Path

An abstract class that contains options and constants shared between vector overlays (Polygon, Polyline, Circle). Do not use it directly.

Options

@@ -472,7 +555,7 @@ map.addLayer(cloudmade); -

Polyline

+

Polyline

A class for drawing polyline overlays on a map. Extends Path. Use Map#addLayer to add it to the map.

@@ -525,7 +608,7 @@ map.addLayer(polyline); -

Polygon

+

Polygon

A class for drawing polygon overlays on a map. Extends Polyline. Use Map#addLayer to add it to the map.

@@ -543,7 +626,7 @@ map.addLayer(polyline); -

Circle

+

Circle

A class for drawing circle overlays on a map. Extends Path. Use Map#addLayer to add it to the map.