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
I am unable to find easyPrint function to call it in typescript.
I have created leaflet map in my Vue+TS app using component imports as follows import { LMap, LTileLayer, LMarker, LPopup, LIcon, LControl } from "vue2-leaflet"; import 'leaflet-easyprint'; import { EasyPrintControl, EasyPrintOptions } from '../../leaflet-easyprint';
And I am trying to print map as follows:
`
const printer = L.easyPrint({
hidden: false,
exportOnly: false
});
I am unable to find easyPrint function to call it in typescript.
I have created leaflet map in my Vue+TS app using component imports as follows
import { LMap, LTileLayer, LMarker, LPopup, LIcon, LControl } from "vue2-leaflet"; import 'leaflet-easyprint'; import { EasyPrintControl, EasyPrintOptions } from '../../leaflet-easyprint';
And I am trying to print map as follows:
`
const printer = L.easyPrint({
hidden: false,
exportOnly: false
});
`
The text was updated successfully, but these errors were encountered: