* Options for LayerGroup
Add options parameter to L.Layergroup.initialize and set options.
* Options for LayerGroup factory
Added options parameter to LayerGroup factory method and updated docs
* 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.
* Docs(download): mention other CDN
so that developers know their possible alternatives and can decide by themselves which option they want to use for their project.
None of the 3 listed options require any work from Leaflet side (as of today) for new releases, they directly pull updated from npm registry.
cdnjs uses a configuration file in their repo to know which files to fetch from npm registry:
https://github.com/cdnjs/cdnjs/blob/master/ajax/libs/leaflet/package.json
In case the `dist/` folder changes, this configuration file requires manual modification (the community may directly send a PR to do so).
* Docs(download): add disclaimer about external CDN services
in order to try avoiding questions and/or complaints in case of CDN unavailability or any other issue.
This simply removes the word "absolute" from the documentation of Icon.Default.imagePath. This path can be relative or absolute.
e.g. L.Icon.Default.imagePath = 'style/images/'; works just fine for me.
* Style(CHANGELOG): remove empty bullet point
* Docs(CHANGELOG): replace "leaflet" by "Leaflet" in GitHub URL's
"https://github.com/leaflet/leaflet" (without capitalized first letter) works as URL, but is not recognized by GitHub MarkDown parser (which simplifies URL's by simple "#XXX" style when referring to an issue or PR in the same repository, or "group/repo#XXX" in another repository).
Proper case is "Leaflet/Leaflet" (organization and project have capitalized first letter).
* use redirected.html instead of jekyll-redirect-from
* modify redirected.html to preserve url hases
* fix links in zoom-levels example
- use relative links instead of absolute
- remove hardcoded version in lins and refer to latest version docs instead
* fix hash in choropleth example
* fix links in geojson example
- use relative links instead of absolute
* fix absolute link in quick-start example
* fix link in video-overlay example
* fix link in map-panes example
* fix link in wms example
* fix link in geojson example
* fix relative reference links
* Fire 'zoomlevelschange' when calling setMinZoom & setMaxZoom.
* rename variables
* make sure 'zoomlevelschange' won't be fired unnecessarily
* fix enabling zoom control after changing zoom levels
* always fire `zoomlevelschange` if minZoom/maxZoom changed
* remove trailing spaces
* fix map height in extending example
* add html and body styles to tutorial_frame
* move js styles to css
* remove unnecessary styles from mobile/example.md
* Util.formatNum default to 6
Changed Util.formaNum default to 6 decimails.
Solved 0 decimals bug.
Added tests.
Can be useful for PR #5444
* Changed documentation
Changed documentation to 6 instead of 5
* [LayerGroup] use eachLayer method instead of for...in
* [LayerGroup] use eachLayer method in getLayers method
* [LayerGroup] use eachLayer method in onAdd & onRemove methods
* [LayerGroup] invoke method fix
- use `eachLayer` method instead of for...in
- add unit test for `invoke` method
* revert invoke method change
Adapted rollup configurations to new signature., ironed out some minor
inconsistencies between configurations and some syntax cleanup. Fixes
following warnings when running rollup:
(!) Some options have been renamed
https://gist.github.com/Rich-Harris/d472c50732dab03efeb37472b08a3f32
options.entry is now options.input
options.sourceMap is now options.sourcemap
options.dest is now options.output.file
options.format is now options.output.format