repo stringlengths 5 106 | file_url stringlengths 78 301 | file_path stringlengths 4 211 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 14:56:49 2026-01-05 02:23:25 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/web/pdf_viewer.js | web/pdf_viewer.js | /* Copyright 2014 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | true |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/web/toolbar.js | web/toolbar.js | /* Copyright 2016 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/web/grab_to_pan.js | web/grab_to_pan.js | /* Copyright 2013 Rob Wu <rob@robwu.nl>
* https://github.com/Rob--W/grab-to-pan.js
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/web/draw_layer_builder.js | web/draw_layer_builder.js | /* Copyright 2022 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/web/autolinker.js | web/autolinker.js | /* Copyright 2025 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/web/pdf_find_controller.js | web/pdf_find_controller.js | /* Copyright 2012 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | true |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/web/pdf_scripting_manager.component.js | web/pdf_scripting_manager.component.js | /* Copyright 2021 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/web/interfaces.js | web/interfaces.js | /* Copyright 2018 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/web/pdf_presentation_mode.js | web/pdf_presentation_mode.js | /* Copyright 2012 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/web/pdf_page_detail_view.js | web/pdf_page_detail_view.js | /* Copyright 2012 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/web/annotation_layer_builder.js | web/annotation_layer_builder.js | /* Copyright 2014 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/web/alt_text_manager.js | web/alt_text_manager.js | /* Copyright 2023 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/web/app_options.js | web/app_options.js | /* Copyright 2018 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/web/pdf_thumbnail_viewer.js | web/pdf_thumbnail_viewer.js | /* Copyright 2012 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/web/external_services.js | web/external_services.js | /* Copyright 2024 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/web/text_accessibility.js | web/text_accessibility.js | /* Copyright 2022 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/web/generic_scripting.js | web/generic_scripting.js | /* Copyright 2020 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/web/viewer-geckoview.js | web/viewer-geckoview.js | /* Copyright 2016 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/web/pdf_attachment_viewer.js | web/pdf_attachment_viewer.js | /* Copyright 2012 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/web/firefoxcom.js | web/firefoxcom.js | /* Copyright 2012 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/web/xfa_layer_builder.js | web/xfa_layer_builder.js | /* Copyright 2021 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/web/pdf_single_page_viewer.js | web/pdf_single_page_viewer.js | /* Copyright 2014 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/web/sidebar.js | web/sidebar.js | /* Copyright 2025 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/web/l10n.js | web/l10n.js | /* Copyright 2023 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/web/comment_manager.js | web/comment_manager.js | /* Copyright 2025 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/web/pdf_print_service.js | web/pdf_print_service.js | /* Copyright 2016 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/web/genericl10n.js | web/genericl10n.js | /* Copyright 2017 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/web/firefox_print_service.js | web/firefox_print_service.js | /* Copyright 2016 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/web/signature_manager.js | web/signature_manager.js | /* Copyright 2025 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/web/pdf_link_service.js | web/pdf_link_service.js | /* Copyright 2015 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/web/pdf_history.js | web/pdf_history.js | /* Copyright 2017 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/eslint.config.js | eslint.config.js | import config from 'eslint-config-mourner';
import css from '@eslint/css';
import scriptTags from '@mapbox/eslint-plugin-script-tags';
import importPlugin from 'eslint-plugin-import-x';
import globals from 'globals';
import baselineJs from 'eslint-plugin-baseline-js';
export default [
...config.map(c => ({
...c,
... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/Leaflet.js | src/Leaflet.js | import pkg from '../package.json' with {type: 'json'};
export const version = pkg.version;
// control
export * from './control/index.js';
// core
export * from './core/index.js';
// dom
export * from './dom/index.js';
// geometry
export * from './geometry/index.js';
// geo
export * from './geo/index.js';
// layer... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/geo/LatLng.js | src/geo/LatLng.js | import * as Util from '../core/Util.js';
import {Earth} from './crs/CRS.Earth.js';
import {LatLngBounds} from './LatLngBounds.js';
/* @class LatLng
*
* Represents a geographical point with a certain latitude and longitude.
*
* @example
*
* ```
* const latlng = new LatLng(50.5, 30.5);
* ```
*
* All Leaflet me... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/geo/index.js | src/geo/index.js | export {LatLng} from './LatLng.js';
export {LatLngBounds} from './LatLngBounds.js';
import * as Projection from './projection/index.js';
export {Projection};
export * from './crs/index.js';
| javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/geo/LatLngBounds.js | src/geo/LatLngBounds.js | import {LatLng} from './LatLng.js';
/*
* @class LatLngBounds
*
* Represents a rectangular geographical area on a map.
*
* @example
*
* ```js
* const corner1 = new LatLng(40.712, -74.227),
* corner2 = new LatLng(40.774, -74.125),
* bounds = new LatLngBounds(corner1, corner2);
* ```
*
* All Leaflet methods ... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/geo/crs/index.js | src/geo/crs/index.js | import {CRS} from './CRS.js';
import {Earth} from './CRS.Earth.js';
import {EPSG3395} from './CRS.EPSG3395.js';
import {EPSG3857, EPSG900913} from './CRS.EPSG3857.js';
import {EPSG4326} from './CRS.EPSG4326.js';
import {Simple} from './CRS.Simple.js';
CRS.Earth = Earth;
CRS.EPSG3395 = EPSG3395;
CRS.EPSG3857 = EPSG3857... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/geo/crs/CRS.EPSG3857.js | src/geo/crs/CRS.EPSG3857.js | import {Earth} from './CRS.Earth.js';
import {SphericalMercator} from '../projection/Projection.SphericalMercator.js';
import {Transformation} from '../../geometry/Transformation.js';
/*
* @namespace CRS
* @crs CRS.EPSG3857
*
* The most common CRS for online maps, used by almost all free and commercial
* tile pro... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/geo/crs/CRS.js | src/geo/crs/CRS.js |
import {Bounds} from '../../geometry/Bounds.js';
import {LatLng} from '../LatLng.js';
import {LatLngBounds} from '../LatLngBounds.js';
import * as Util from '../../core/Util.js';
/*
* @namespace CRS
* @crs CRS.Base
* Object that defines coordinate reference systems for projecting
* geographical points into pixel ... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/geo/crs/CRS.Simple.js | src/geo/crs/CRS.Simple.js | import {CRS} from './CRS.js';
import {LonLat} from '../projection/Projection.LonLat.js';
import {Transformation} from '../../geometry/Transformation.js';
/*
* @namespace CRS
* @crs CRS.Simple
*
* A simple CRS that maps longitude and latitude into `x` and `y` directly.
* May be used for maps of flat surfaces (e.g.... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/geo/crs/CRS.EPSG3395.js | src/geo/crs/CRS.EPSG3395.js | import {Earth} from './CRS.Earth.js';
import {Mercator} from '../projection/Projection.Mercator.js';
import {Transformation} from '../../geometry/Transformation.js';
/*
* @namespace CRS
* @crs CRS.EPSG3395
*
* Rarely used by some commercial tile providers. Uses Elliptical Mercator projection.
*/
export class EPSG... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/geo/crs/CRS.Earth.js | src/geo/crs/CRS.Earth.js | import {CRS} from './CRS.js';
/*
* @namespace CRS
* @crs CRS.Earth
*
* Serves as the base for CRS that are global such that they cover the earth.
* Can only be used as the base for other CRS and cannot be used directly,
* since it does not have a `code`, `projection` or `transformation`. `distance()` returns
* ... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/geo/crs/CRS.EPSG4326.js | src/geo/crs/CRS.EPSG4326.js | import {Earth} from './CRS.Earth.js';
import {LonLat} from '../projection/Projection.LonLat.js';
import {Transformation} from '../../geometry/Transformation.js';
/*
* @namespace CRS
* @crs CRS.EPSG4326
*
* A common CRS among GIS enthusiasts. Uses simple Equirectangular projection.
*
* Leaflet complies with the [... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/geo/projection/Projection.Mercator.js | src/geo/projection/Projection.Mercator.js | import {LatLng} from '../LatLng.js';
import {Bounds} from '../../geometry/Bounds.js';
import {Point} from '../../geometry/Point.js';
/*
* @namespace Projection
* @projection Projection.Mercator
*
* Elliptical Mercator projection — more complex than Spherical Mercator. Assumes that Earth is an ellipsoid. Used by th... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/geo/projection/index.js | src/geo/projection/index.js | /*
* @class Projection
* An object with methods for projecting geographical coordinates of the world onto
* a flat surface (and back). See [Map projection](https://en.wikipedia.org/wiki/Map_projection).
* @property bounds: Bounds
* The bounds (specified in CRS units) where the projection is valid
* @method pro... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/geo/projection/Projection.SphericalMercator.js | src/geo/projection/Projection.SphericalMercator.js | import {LatLng} from '../LatLng.js';
import {Bounds} from '../../geometry/Bounds.js';
import {Point} from '../../geometry/Point.js';
/*
* @namespace Projection
* @projection Projection.SphericalMercator
*
* Spherical Mercator projection — the most common projection for online maps,
* used by almost all free and c... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/geo/projection/Projection.LonLat.js | src/geo/projection/Projection.LonLat.js | import {LatLng} from '../LatLng.js';
import {Bounds} from '../../geometry/Bounds.js';
import {Point} from '../../geometry/Point.js';
/*
* @namespace Projection
* @section
* Leaflet comes with a set of already defined Projections out of the box:
*
* @projection Projection.LonLat
*
* Equirectangular, or Plate Car... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/geometry/LineUtil.js | src/geometry/LineUtil.js | import {Point} from './Point.js';
import {LatLng} from '../geo/LatLng.js';
import {centroid} from './PolyUtil.js';
import {LatLngBounds} from '../geo/LatLngBounds.js';
/*
* @namespace LineUtil
*
* Various utility functions for polyline points processing, used by Leaflet internally to make polylines lightning-fast.... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/geometry/Transformation.js | src/geometry/Transformation.js | import {Point} from './Point.js';
/*
* @class Transformation
*
* Represents an affine transformation: a set of coefficients `a`, `b`, `c`, `d`
* for transforming a point of a form `(x, y)` into `(a*x + b, c*y + d)` and doing
* the reverse. Used by Leaflet in its projections code.
*
* @example
*
* ```js
* con... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/geometry/Bounds.js | src/geometry/Bounds.js | import {Point} from './Point.js';
/*
* @class Bounds
*
* Represents a rectangular area in pixel coordinates.
*
* @example
*
* ```js
* const p1 = new Point(10, 10),
* p2 = new Point(40, 60),
* bounds = new Bounds(p1, p2);
* ```
*
* All Leaflet methods that accept `Bounds` objects also accept them in a simp... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/geometry/index.js | src/geometry/index.js | export {Point} from './Point.js';
export {Bounds} from './Bounds.js';
export {Transformation} from './Transformation.js';
import * as LineUtil from './LineUtil.js';
export {LineUtil};
import * as PolyUtil from './PolyUtil.js';
export {PolyUtil};
| javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/geometry/PolyUtil.js | src/geometry/PolyUtil.js | import * as LineUtil from './LineUtil.js';
import {LatLng} from '../geo/LatLng.js';
import {Point} from './Point.js';
import {LatLngBounds} from '../geo/LatLngBounds.js';
/*
* @namespace PolyUtil
* Various utility functions for polygon geometries.
*/
/* @function clipPolygon(points: Point[], bounds: Bounds, round?:... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/geometry/Point.js | src/geometry/Point.js | import {formatNum} from '../core/Util.js';
/*
* @class Point
*
* Represents a point with `x` and `y` coordinates in pixels.
*
* @example
*
* ```js
* const point = new Point(200, 300);
* ```
*
* All Leaflet methods and options that accept `Point` objects also accept them in a simple Array form (unless noted ... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/layer/Tooltip.js | src/layer/Tooltip.js | import {DivOverlay} from './DivOverlay.js';
import {Point} from '../geometry/Point.js';
import {LeafletMap} from '../map/Map.js';
import {Layer} from './Layer.js';
import * as DomUtil from '../dom/DomUtil.js';
import * as DomEvent from '../dom/DomEvent.js';
import * as Util from '../core/Util.js';
import {FeatureGroup}... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/layer/DivOverlay.js | src/layer/DivOverlay.js | import {LeafletMap} from '../map/Map.js';
import {Layer} from './Layer.js';
import {FeatureGroup} from './FeatureGroup.js';
import * as Util from '../core/Util.js';
import {LatLng} from '../geo/LatLng.js';
import {Point} from '../geometry/Point.js';
import * as DomUtil from '../dom/DomUtil.js';
/*
* @class DivOverlay... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/layer/FeatureGroup.js | src/layer/FeatureGroup.js | import {LayerGroup} from './LayerGroup.js';
import {LatLngBounds} from '../geo/LatLngBounds.js';
/*
* @class FeatureGroup
* @inherits LayerGroup
*
* Extended `LayerGroup` that makes it easier to do the same thing to all its member layers:
* * [`bindPopup`](#layer-bindpopup) binds a popup to all of the layers at ... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/layer/Layer.js | src/layer/Layer.js | import {Evented} from '../core/Events.js';
import {LeafletMap} from '../map/Map.js';
import * as Util from '../core/Util.js';
/*
* @class Layer
* @inherits Evented
* @aka ILayer
*
* A set of methods from the Layer base class that all Leaflet layers use.
* Inherits all methods, options and events from `Evented`.
... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/layer/index.js | src/layer/index.js | export {Layer} from './Layer.js';
export {LayerGroup} from './LayerGroup.js';
export {FeatureGroup} from './FeatureGroup.js';
export {GeoJSON} from './GeoJSON.js';
export {BlanketOverlay} from './BlanketOverlay.js';
export {ImageOverlay} from './ImageOverlay.js';
export {VideoOverlay} from './VideoOverlay.js';
export... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/layer/ImageOverlay.js | src/layer/ImageOverlay.js | import {Layer} from './Layer.js';
import * as Util from '../core/Util.js';
import {LatLngBounds} from '../geo/LatLngBounds.js';
import {Bounds} from '../geometry/Bounds.js';
import * as DomUtil from '../dom/DomUtil.js';
/*
* @class ImageOverlay
* @inherits Interactive layer
*
* Used to load and display a single im... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/layer/BlanketOverlay.js | src/layer/BlanketOverlay.js | import {Layer} from './Layer.js';
import * as DomUtil from '../dom/DomUtil.js';
import * as Util from '../core/Util.js';
import * as DomEvent from '../dom/DomEvent.js';
import {Bounds} from '../geometry/Bounds.js';
/*
* @class BlanketOverlay
* @inherits Layer
*
* Represents an HTML element that covers ("blankets")... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/layer/SVGOverlay.js | src/layer/SVGOverlay.js | import {ImageOverlay} from './ImageOverlay.js';
import * as Util from '../core/Util.js';
/*
* @class SVGOverlay
* @inherits ImageOverlay
*
* Used to load, display and provide DOM access to an SVG file over specific bounds of the map. Extends `ImageOverlay`.
*
* An SVG overlay uses the [`<svg>`](https://developer... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/layer/GeoJSON.js | src/layer/GeoJSON.js | import {LayerGroup} from './LayerGroup.js';
import {FeatureGroup} from './FeatureGroup.js';
import * as Util from '../core/Util.js';
import {Marker} from './marker/Marker.js';
import {Circle} from './vector/Circle.js';
import {CircleMarker} from './vector/CircleMarker.js';
import {Polyline} from './vector/Polyline.js';... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/layer/Popup.js | src/layer/Popup.js | import {DivOverlay} from './DivOverlay.js';
import * as DomEvent from '../dom/DomEvent.js';
import * as DomUtil from '../dom/DomUtil.js';
import {Point} from '../geometry/Point.js';
import {LeafletMap} from '../map/Map.js';
import {Layer} from './Layer.js';
import {Path} from './vector/Path.js';
import {FeatureGroup} f... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/layer/VideoOverlay.js | src/layer/VideoOverlay.js | import {ImageOverlay} from './ImageOverlay.js';
import * as DomUtil from '../dom/DomUtil.js';
import * as DomEvent from '../dom/DomEvent.js';
import * as Util from '../core/Util.js';
/*
* @class VideoOverlay
* @inherits ImageOverlay
*
* Used to load and display a video player over specific bounds of the map. Exten... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/layer/LayerGroup.js | src/layer/LayerGroup.js |
import {Layer} from './Layer.js';
import * as Util from '../core/Util.js';
/*
* @class LayerGroup
* @inherits Interactive layer
*
* Used to group several layers and handle them as one. If you add it to the map,
* any layers added or removed from the group will be added/removed on the map as
* well. Extends `Lay... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/layer/marker/Marker.Drag.js | src/layer/marker/Marker.Drag.js | import {Handler} from '../../core/Handler.js';
import * as DomUtil from '../../dom/DomUtil.js';
import {Draggable} from '../../dom/Draggable.js';
import {Bounds} from '../../geometry/Bounds.js';
import {Point} from '../../geometry/Point.js';
/*
* Handler.MarkerDrag is used internally by Marker to make the markers dra... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/layer/marker/DivIcon.js | src/layer/marker/DivIcon.js | import {Icon} from './Icon.js';
import {Point} from '../../geometry/Point.js';
/*
* @class DivIcon
* @inherits Icon
*
* Represents a lightweight icon for markers that uses a simple `<div>`
* element instead of an image. Inherits from `Icon` but ignores the `iconUrl` and shadow options.
*
* @example
* ```js
* ... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/layer/marker/index.js | src/layer/marker/index.js | import {Icon} from './Icon.js';
import {IconDefault} from './Icon.Default.js';
Icon.Default = IconDefault;
export {Icon};
export {DivIcon} from './DivIcon.js';
export {Marker} from './Marker.js';
| javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/layer/marker/Icon.js | src/layer/marker/Icon.js | import {Class} from '../../core/Class.js';
import {setOptions} from '../../core/Util.js';
import {Point} from '../../geometry/Point.js';
import Browser from '../../core/Browser.js';
/*
* @class Icon
*
* Represents an icon to provide when creating a marker.
*
* @example
*
* ```js
* const myIcon = new Icon({
* ... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/layer/marker/Icon.Default.js | src/layer/marker/Icon.Default.js | import {Icon} from './Icon.js';
import * as DomUtil from '../../dom/DomUtil.js';
/*
* @miniclass Icon.Default (Icon)
* @section
*
* A trivial subclass of `Icon`, represents the icon to use in `Marker`s when
* no icon is specified. Points to the blue marker image distributed with Leaflet
* releases.
*
* In orde... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/layer/marker/Marker.js | src/layer/marker/Marker.js | import {Layer} from '../Layer.js';
import {IconDefault} from './Icon.Default.js';
import * as Util from '../../core/Util.js';
import {LatLng} from '../../geo/LatLng.js';
import {Point} from '../../geometry/Point.js';
import * as DomUtil from '../../dom/DomUtil.js';
import * as DomEvent from '../../dom/DomEvent.js';
imp... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/layer/tile/TileLayer.js | src/layer/tile/TileLayer.js | import {GridLayer} from './GridLayer.js';
import Browser from '../../core/Browser.js';
import * as Util from '../../core/Util.js';
import * as DomEvent from '../../dom/DomEvent.js';
/*
* @class TileLayer
* @inherits GridLayer
* Used to load and display tile layers on the map. Note that most tile servers require att... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/layer/tile/index.js | src/layer/tile/index.js | export {GridLayer} from './GridLayer.js';
import {TileLayer} from './TileLayer.js';
import {TileLayerWMS} from './TileLayer.WMS.js';
TileLayer.WMS = TileLayerWMS;
export {TileLayer};
| javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/layer/tile/GridLayer.js | src/layer/tile/GridLayer.js | import {Layer} from '../Layer.js';
import Browser from '../../core/Browser.js';
import * as Util from '../../core/Util.js';
import * as DomUtil from '../../dom/DomUtil.js';
import {Point} from '../../geometry/Point.js';
import {Bounds} from '../../geometry/Bounds.js';
import {LatLngBounds} from '../../geo/LatLngBounds.... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/layer/tile/TileLayer.WMS.js | src/layer/tile/TileLayer.WMS.js | import {TileLayer} from './TileLayer.js';
import {setOptions} from '../../core/Util.js';
import Browser from '../../core/Browser.js';
import {EPSG4326} from '../../geo/crs/CRS.EPSG4326.js';
import {Bounds} from '../../geometry/Bounds.js';
/*
* @class TileLayer.WMS
* @inherits TileLayer
* Used to display [WMS](https... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/layer/vector/Circle.js | src/layer/vector/Circle.js | import {CircleMarker} from './CircleMarker.js';
import {Path} from './Path.js';
import * as Util from '../../core/Util.js';
import {LatLng} from '../../geo/LatLng.js';
import {LatLngBounds} from '../../geo/LatLngBounds.js';
import {Earth} from '../../geo/crs/CRS.Earth.js';
/*
* @class Circle
* @inherits CircleMarke... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/layer/vector/index.js | src/layer/vector/index.js | export {Renderer} from './Renderer.js';
export {Canvas} from './Canvas.js';
import {SVG, create, pointsToPath} from './SVG.js';
SVG.create = create;
SVG.pointsToPath = pointsToPath;
export {SVG};
import './Renderer.getRenderer.js'; // This is a bit of a hack, but needed because circular dependencies
export {Path} from... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/layer/vector/CircleMarker.js | src/layer/vector/CircleMarker.js | import {Path} from './Path.js';
import * as Util from '../../core/Util.js';
import {LatLng} from '../../geo/LatLng.js';
import {Bounds} from '../../geometry/Bounds.js';
/*
* @class CircleMarker
* @inherits Path
*
* A circle of a fixed size with radius specified in pixels. Extends `Path`.
*/
// @constructor Circ... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/layer/vector/Rectangle.js | src/layer/vector/Rectangle.js | import {Polygon} from './Polygon.js';
import {LatLngBounds} from '../../geo/LatLngBounds.js';
/*
* Rectangle extends Polygon and creates a rectangle when passed a LatLngBounds object.
*/
/*
* @class Rectangle
* @inherits Polygon
*
* A class for drawing rectangle overlays on a map. Extends `Polygon`.
*
* @exam... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/layer/vector/Renderer.getRenderer.js | src/layer/vector/Renderer.getRenderer.js | import {LeafletMap} from '../../map/Map.js';
import {Canvas} from './Canvas.js';
import {SVG} from './SVG.js';
LeafletMap.include({
// @namespace LeafletMap; @method getRenderer(layer: Path): Renderer
// Returns the instance of `Renderer` that should be used to render the given
// `Path`. It will ensure that the `r... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/layer/vector/Renderer.js | src/layer/vector/Renderer.js | import {BlanketOverlay} from '../BlanketOverlay.js';
import * as Util from '../../core/Util.js';
/*
* @class Renderer
* @inherits BlanketOverlay
*
* Base class for vector renderer implementations (`SVG`, `Canvas`). Handles the
* DOM container of the renderer, its bounds, and its zoom animation.
*
* A `Renderer`... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/layer/vector/Polyline.js | src/layer/vector/Polyline.js | import {Path} from './Path.js';
import * as Util from '../../core/Util.js';
import * as LineUtil from '../../geometry/LineUtil.js';
import {LatLng} from '../../geo/LatLng.js';
import {LatLngBounds} from '../../geo/LatLngBounds.js';
import {Bounds} from '../../geometry/Bounds.js';
import {Point} from '../../geometry/Poi... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/layer/vector/SVG.Util.js | src/layer/vector/SVG.Util.js |
// @namespace SVG; @section
// There are several static functions which can be called without instantiating SVG:
// @function create(name: String): SVGElement
// Returns a instance of [SVGElement](https://developer.mozilla.org/docs/Web/API/SVGElement),
// corresponding to the class name passed. For example, using 'li... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/layer/vector/Polygon.js | src/layer/vector/Polygon.js | import {Polyline} from './Polyline.js';
import {LatLng} from '../../geo/LatLng.js';
import * as LineUtil from '../../geometry/LineUtil.js';
import {Point} from '../../geometry/Point.js';
import {Bounds} from '../../geometry/Bounds.js';
import * as PolyUtil from '../../geometry/PolyUtil.js';
/*
* @class Polygon
* @in... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/layer/vector/SVG.js | src/layer/vector/SVG.js | import {Renderer} from './Renderer.js';
import * as DomUtil from '../../dom/DomUtil.js';
import {splitWords, stamp} from '../../core/Util.js';
import {svgCreate, pointsToPath} from './SVG.Util.js';
export {pointsToPath};
export const create = svgCreate;
/*
* @class SVG
* @inherits Renderer
*
* Allows vector layer... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/layer/vector/Canvas.js | src/layer/vector/Canvas.js | import {Renderer} from './Renderer.js';
import * as DomEvent from '../../dom/DomEvent.js';
import * as Util from '../../core/Util.js';
import {Bounds} from '../../geometry/Bounds.js';
/*
* @class Canvas
* @inherits Renderer
*
* Allows vector layers to be displayed with [`<canvas>`](https://developer.mozilla.org/do... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/layer/vector/Path.js | src/layer/vector/Path.js | import {Layer} from '../Layer.js';
import * as Util from '../../core/Util.js';
/*
* @class Path
* @inherits Interactive layer
*
* An abstract class that contains options and constants shared between vector
* overlays (Polygon, Polyline, Circle). Do not use it directly. Extends `Layer`.
*/
export class Path exte... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/dom/Draggable.js | src/dom/Draggable.js | import {Evented} from '../core/Events.js';
import * as DomEvent from './DomEvent.js';
import * as DomUtil from './DomUtil.js';
import * as Util from '../core/Util.js';
import {Point} from '../geometry/Point.js';
import * as PointerEvents from './DomEvent.PointerEvents.js';
/*
* @class Draggable
* @inherits Evented
... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/dom/DomEvent.PointerEvents.js | src/dom/DomEvent.PointerEvents.js | /*
/* @namespace DomEvent
* @section Pointer detection
* Detects the pointers that are currently active on the document.
*/
let activePointers = new Map();
let initialized = false;
// @function enablePointerDetection()
// Enables pointer detection for the document.
function enablePointerDetection() {
if (initiali... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/dom/index.js | src/dom/index.js | export {PosAnimation} from './PosAnimation.js';
import * as DomEvent from './DomEvent.js';
export {DomEvent};
import * as DomUtil from './DomUtil.js';
export {DomUtil};
export {Draggable} from './Draggable.js';
| javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/dom/DomEvent.js | src/dom/DomEvent.js | import {Point} from '../geometry/Point.js';
import * as Util from '../core/Util.js';
import Browser from '../core/Browser.js';
import {addDoubleTapListener, removeDoubleTapListener} from './DomEvent.DoubleTap.js';
import {getScale} from './DomUtil.js';
import * as PointerEvents from './DomEvent.PointerEvents.js';
expo... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/dom/PosAnimation.js | src/dom/PosAnimation.js | import {Evented} from '../core/Events.js';
import * as DomUtil from '../dom/DomUtil.js';
/*
* @class PosAnimation
* @inherits Evented
* Used internally for panning animations and utilizing CSS Transitions for modern browsers.
*
* @example
* ```js
* const myPositionMarker = new Marker([48.864716, 2.294694]).add... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/dom/DomEvent.DoubleTap.js | src/dom/DomEvent.DoubleTap.js | import * as DomEvent from './DomEvent.js';
/*
* Extends the event handling code with double tap support for mobile browsers.
*
* Note: currently most browsers fire native dblclick, with only a few exceptions
* (see https://github.com/Leaflet/Leaflet/issues/7012#issuecomment-595087386)
*/
function makeDblclick(ev... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/dom/DomUtil.js | src/dom/DomUtil.js | import * as DomEvent from './DomEvent.js';
import {Point} from '../geometry/Point.js';
/*
* @namespace DomUtil
*
* Utility functions to work with the [DOM](https://developer.mozilla.org/docs/Web/API/Document_Object_Model)
* tree, used by Leaflet internally.
*
* Most functions expecting or returning a `HTMLElemen... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/core/Class.js | src/core/Class.js | import * as Util from './Util.js';
// @class Class
// @section
// @uninheritable
// Thanks to John Resig and Dean Edwards for inspiration!
export class Class {
// @function include(properties: Object): this
// [Includes a mixin](#class-includes) into the current class.
static include(props) {
const parentOptio... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/core/index.js | src/core/index.js | export {default as Browser} from './Browser.js';
export {Class} from './Class.js';
export {Evented} from './Events.js';
export {Handler} from './Handler.js';
import * as Util from './Util.js';
export {Util};
| javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/core/Events.js | src/core/Events.js | import {Class} from './Class.js';
import * as Util from './Util.js';
/*
* @class Evented
* @inherits Class
*
* A set of methods shared between event-powered classes (like `Map` and `Marker`). Generally, events allow you to execute some function when something happens with an object (e.g. the user clicks on the map... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/core/Browser.js | src/core/Browser.js | /*
* @namespace Browser
*
* A namespace with static properties for browser/feature detection used by Leaflet internally.
*
* @example
*
* ```js
* if (Browser.chrome) {
* alert('You are running Chrome!');
* }
* ```
*/
// @property chrome: Boolean; `true` for the Chrome browser.
const chrome = userAgentCon... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/core/Handler.js | src/core/Handler.js | import {Class} from './Class.js';
/*
Handler is a base class for handler classes that are used internally to inject
interaction features like dragging to classes like Map and Marker.
*/
// @class Handler
// Abstract class for map interaction handlers
export class Handler extends Class {
initialize(map) {
this._... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Leaflet/Leaflet | https://github.com/Leaflet/Leaflet/blob/9365d67cf9a5b648b63822960bff9aa373850941/src/core/Util.js | src/core/Util.js | /*
* @namespace Util
*
* Various utility functions, used by Leaflet internally.
*/
// @property lastId: Number
// Last unique ID used by [`stamp()`](#util-stamp)
export let lastId = 0;
// @function stamp(obj: Object): Number
// Returns the unique ID of an object, assigning it one if it doesn't have it.
export fun... | javascript | BSD-2-Clause | 9365d67cf9a5b648b63822960bff9aa373850941 | 2026-01-04T14:58:34.824206Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.