Docs(MapPanes): add class names links to panes description (#5850)
* Docs(MapPanes): explicitly list layer types in overlayPane "overlayPane" is the default pane for Layers (https://github.com/Leaflet/Leaflet/blob/v1.2.0/src/layer/Layer.js#L36), but it is overridden for many sub-classes (Marker, DivOverlay, GridLayer). It would be easier to understand where things go if we explicitly list them in Map Panes section as well. It is almost the case, except for Image Overlay and Video Overlay. * Docs(MapPanes): convert tooltip class name into code and hyperlink for consistency with other class names.
This commit is contained in:
parent
e63370ab4c
commit
4782eace28
@ -1100,7 +1100,7 @@ export var Map = Evented.extend({
|
||||
// Pane for `GridLayer`s and `TileLayer`s
|
||||
this.createPane('tilePane');
|
||||
// @pane overlayPane: HTMLElement = 400
|
||||
// Pane for vector overlays (`Path`s), like `Polyline`s and `Polygon`s
|
||||
// Pane for vectors (`Path`s, like `Polyline`s and `Polygon`s), `ImageOverlay`s and `VideoOverlay`s
|
||||
this.createPane('shadowPane');
|
||||
// @pane shadowPane: HTMLElement = 500
|
||||
// Pane for overlay shadows (e.g. `Marker` shadows)
|
||||
@ -1109,7 +1109,7 @@ export var Map = Evented.extend({
|
||||
// Pane for `Icon`s of `Marker`s
|
||||
this.createPane('markerPane');
|
||||
// @pane tooltipPane: HTMLElement = 650
|
||||
// Pane for tooltip.
|
||||
// Pane for `Tooltip`s.
|
||||
this.createPane('tooltipPane');
|
||||
// @pane popupPane: HTMLElement = 700
|
||||
// Pane for `Popup`s.
|
||||
|
Loading…
Reference in New Issue
Block a user