Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@symfony/ux-leaflet-map

Package Overview
Dependencies
Maintainers
4
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@symfony/ux-leaflet-map - npm Package Compare versions

Comparing version
2.25.2
to
2.26.0
+1
-1
dist/map_controller.d.ts

@@ -11,3 +11,3 @@ import AbstractMapController from '@symfony/ux-map';

options: Record<string, unknown>;
};
} | false;
};

@@ -14,0 +14,0 @@ export default class extends AbstractMapController<MapOptions, L.Map, MarkerOptions, L.Marker, PopupOptions, L.Popup, PolygonOptions, L.Polygon, PolylineOptions, L.Polyline> {

@@ -48,3 +48,3 @@ import { Controller } from '@hotwired/stimulus';

const infoWindow = this.doCreateInfoWindow({ definition, element });
this.dispatchEvent('info-window:after-create', { infoWindow, element });
this.dispatchEvent('info-window:after-create', { infoWindow, definition, element });
this.infoWindows.push(infoWindow);

@@ -80,3 +80,3 @@ return infoWindow;

const drawing = factory({ definition });
this.dispatchEvent(eventAfter, { [type]: drawing });
this.dispatchEvent(eventAfter, { [type]: drawing, definition });
draws.set(definition['@id'], drawing);

@@ -150,6 +150,8 @@ return drawing;

});
L.tileLayer(options.tileLayer.url, {
attribution: options.tileLayer.attribution,
...options.tileLayer.options,
}).addTo(map);
if (options.tileLayer) {
L.tileLayer(options.tileLayer.url, {
attribution: options.tileLayer.attribution,
...options.tileLayer.options,
}).addTo(map);
}
return map;

@@ -156,0 +158,0 @@ }

@@ -5,3 +5,3 @@ {

"license": "MIT",
"version": "2.25.2",
"version": "2.26.0",
"keywords": [

@@ -53,3 +53,3 @@ "symfony-ux",

"@hotwired/stimulus": "^3.0.0",
"@symfony/ux-map": "2.25.2",
"@symfony/ux-map": "2.26.0",
"@types/leaflet": "^1.9.12",

@@ -56,0 +56,0 @@ "leaflet": "^1.9.4"