0.1.0 • Published 3 months ago

@rdub/next-leaflet v0.1.0

Weekly downloads
-
License
-
Repository
-
Last release
3 months ago

@rdub/next-leaflet

Leaflet utils for Next.js

Install

npm install @rdub/next-leaflet

You'll also want to this CSS (required by src/map/settings.tsx) to your _app.tsx:

import '@fortawesome/fontawesome-svg-core/styles.css'

Note also how src/map/settings.tsx disables automatic fontawesome CSS injection:

import { config, IconProp } from '@fortawesome/fontawesome-svg-core'
config.autoAddCss = false