ngx-open-map-wrapper/projects/ngx-open-map-wrapper/package.json
David Nguyen 30cc53f9ad
Add custom icon support and routing functionality to map adapters
- Add icon parameter to IMapAdapter.addMarker() supporting DivIcon (Leaflet) and HTMLElement (MapLibre)
- Implement routing with leaflet-routing-machine and @maplibre/maplibre-gl-directions
- Add marker management methods: hasMarker, updateMarkerIcon, updateMarkerPopup, addMarkerClickHandler
- Add route management methods: addRoute, updateRoute, removeRoute, removeAllRoutes
- Update MapFacade to proxy all new marker and route management methods
- Add RouteOptions interface with customizable line styles and waypoint options

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: David Nguyen <david.nguyen@goutezplanb.com>
2025-10-30 23:01:58 -04:00

32 lines
755 B
JSON

{
"name": "@svrnty/ngx-open-map-wrapper",
"version": "0.2.2",
"keywords": [
"maplibre",
"leaflet",
"maps",
"open source",
"angular",
"ngx"
],
"author": "Svrnty",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://git.openharbor.io/svrnty/ngx-open-map-wrapper"
},
"publishConfig": { "access": "public" },
"peerDependencies": {
"@angular/common": "^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
"@angular/core": "^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
"maplibre-gl": "^5.0.0",
"leaflet": "^1.0.0 || ^2.0.0",
"leaflet-routing-machine": "^3.0.0",
"@maplibre/maplibre-gl-directions": "^0.8.0"
},
"dependencies": {
"tslib": "^2.3.0"
},
"sideEffects": false
}