@draganfilipovic/confluence-map
Advanced tools
Comparing version 1.2.3 to 1.2.4
{ | ||
"name": "@draganfilipovic/confluence-map", | ||
"version": "1.2.3", | ||
"version": "1.2.4", | ||
"description": "embed OSM into Confluence pages", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2.0", |
@@ -34,2 +34,5 @@ import { LeafletMap } from './map.js'; | ||
} | ||
.leaflet-routing-alternatives-container table { | ||
display: none; | ||
} | ||
</style> | ||
@@ -36,0 +39,0 @@ `); |
@@ -19,2 +19,3 @@ export class RouteController { | ||
}).addTo(this.NS.map); | ||
L.Routing.Itinerary.hide(); | ||
} | ||
@@ -43,3 +44,3 @@ | ||
removeMultiRoutingControl() { | ||
if (this.multiRoutingControl !== null) { | ||
if (this.multiRoutingControl) { | ||
Object.values(this.multiRoutingControl).map(control => { | ||
@@ -53,3 +54,3 @@ this.NS.map.removeControl(control); | ||
removeRoutingControl() { | ||
if (this.routingControl !== null) { | ||
if (this.routingControl) { | ||
this.NS.map.removeControl(this.routingControl); | ||
@@ -56,0 +57,0 @@ this.routingControl = null; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
43729
416