Migrated from: Leaflet#9921
Original author: danallsop
Original created: 2025-10-01T18:07:50Z
Remove compatibility introduced via #9642.
diff --git a/src/map/handler/Map.PinchZoom.js b/src/map/handler/Map.PinchZoom.js
index 513fdc21..3a7e40dc 100644
--- a/src/map/handler/Map.PinchZoom.js
+++ b/src/map/handler/Map.PinchZoom.js
@@ -129,20 +129,3 @@ export class PinchZoom extends Handler {
// danallsop pinchZoom: Handler
// Pinch zoom handler.
Map.addInitHook('addHandler', 'pinchZoom', PinchZoom);
-
-// Deprecated - Backward compatibility touchZoom
-Map.addInitHook(function () {
- this.touchZoom = this.pinchZoom;
-
- if (this.options.touchZoom !== undefined) {
- // To be removed in leaflet 3
- console.warn('Map: touchZoom option is deprecated and will be removed in future versions. Use pinchZoom instead.');
- this.options.pinchZoom = this.options.touchZoom;
- delete this.options.touchZoom;
- }
- if (this.options.pinchZoom) {
- this.pinchZoom.enable();
- } else {
- this.pinchZoom.disable();
- }
-});
diff --git a/src/map/index.js b/src/map/index.js
index 9ac5f197..56b5130a 100644
--- a/src/map/index.js
+++ b/src/map/index.js
@@ -13,6 +13,5 @@ import {TapHold} from './handler/Map.TapHold.js';
Map.TapHold = TapHold;
import {PinchZoom} from './handler/Map.PinchZoom.js';
Map.PinchZoom = PinchZoom;
-Map.TouchZoom = PinchZoom; // backward compatibility
export {Map, LeafletMap} from './Map.js';
Remove compatibility introduced via #9642.