You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting error TypeError: L.Handler.PathDrag is not a constructor when used with Vue2LeafletCanvas. Following are all my imports. I need Leaflet.Editable, Path.Drag as well as LeafletCanvas
import Vue from 'vue'
import vSelect from 'vue-select'
import axios from 'axios'
import axiosCancel from 'axios-cancel';
import { LMap, LMarker, LPolyline, LPolygon, LTileLayer, LLayerGroup, LCircle, LCircleMarker, LTooltip, LPopup} from 'vue2-leaflet';
import 'vue-select/dist/vue-select.css';
import 'leaflet/dist/leaflet.css';
import 'leaflet-editable/src/Leaflet.Editable.js';
import 'leaflet.path.drag/src/Path.Drag.js';
import './style.css'
import chroma from 'chroma-js';
import WeeSpatialInfo from './WeeSpatialInfo';
import {ThemeMixin} from './themes.js';
import Vue2LeafletMarkerCluster from 'vue2-leaflet-markercluster'
import Vue2LeafletCanvas from '@skinnyjames/vue2-leaflet-canvas'
const mbp = require('@mapbox/polyline');
The text was updated successfully, but these errors were encountered:
neel
changed the title
TypeError: L.Handler.PathDrag is not a constructor when used with Path.Dra
TypeError: L.Handler.PathDrag is not a constructor when used with Path.Drag
Jul 11, 2020
Getting error
TypeError: L.Handler.PathDrag is not a constructor
when used withVue2LeafletCanvas
. Following are all my imports. I needLeaflet.Editable
,Path.Drag
as well asLeafletCanvas
The text was updated successfully, but these errors were encountered: