James Collins
James Collins
@Neato-Nick I'm using react and as such `react-leaflet` and `react-leaflet-markercluster`. The pie chart is from `react-svg-piechart` so you could take a look at their implementation. I use the `iconCreateFunction` provided...
Yeah I have this issue too. I'm using rollup/babel and I am installing leaflet-draw via npm. I'm not sure what you mean by "you can add the svg directly to...
@ddproxy thanks for the quick reply! I'll try to get a smallish working example up soon. I'll need to create a standalone rollup app so it might not be ready...
Ok. TLDR: I found a hacky solution for my use case but I don't think this is actually an issue that leaflet-draw should be handling. I have the same issue...
Ok update for the sake of... updating.... I feel like this conversation is no longer relevant to leaflet-draw so I'd like to close this. For anyone who has this issue...
> Leaflet.draw is still widely used and I don't know an alternative for Leaflet.Draw. [leaflet-geoman](https://github.com/geoman-io/leaflet-geoman) (formerly leaflet.pm) Does most if not all of what Leaflet.Draw can do and is actively...
```sass .rodal-close { &::before, &::after { display: none; } background: /*whatever you want*/; } ```
This is a pretty hard blocker when working with this library in Next.js :( It is impossible to set `"isolatedModules": false,` when using Next. [This](https://github.com/vercel/next.js/issues/7959#issuecomment-512332700) is an older comment but...
Ok. I assume this is the relevant part of the babel config for DIM? ```javascript plugins.push(['@babel/plugin-transform-typescript', { isTSX: true, optimizeConstEnums: true }]); ``` I tried following the [nextjs instructions](https://nextjs.org/docs/advanced-features/customizing-babel-config) on...
Ok for now I've "solved" this for me at least. I ended up just forking the repo and replacing the usage of `export const enum` with `export enum`. It does...