Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function attributionPosition (position) {
new L.control.attribution({ position: state.attribution })
.setPrefix('')
.addAttribution('<a href="https://www.mapbox.com/about/maps/">© Mapbox</a>')
.addAttribution('<a href="https://www.openstreetmap.org/about">© OpenStreetMap</a>')
.addAttribution('<a href="https://www.mapbox.com/map-feedback/">Improve this map</a>')
.addTo(map)
}