Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import PointPathLayer from 'ember-leaflet/components/point-path-layer';
export default PointPathLayer.extend({
leafletOptions: Object.freeze([
'radius'
]),
leafletProperties: Object.freeze([
'radius'
]),
createLayer() {
return this.L.circleMarker(...this.get('requiredOptions'), this.get('options'));
}
});
import PointPathLayer from 'ember-leaflet/components/point-path-layer';
export default PointPathLayer.extend({
leafletRequiredOptions: Object.freeze([
'radius'
]),
leafletProperties: Object.freeze([
'radius'
]),
createLayer() {
return this.L.circle(...this.get('requiredOptions'), this.get('options'));
}
});