Перейти к содержимому

React-Leaflet demo

LogRocket

0:00 / 0:00

React-Leaflet demo

56 838 просмотров · 6 л. назад
LogRocket
14 тыс. подписчиков
56 838 просмотров · 6 л. назад
In this video, we'll see how to use React-Leaflet to render Leaflet maps inside of your React app. 0:00 Introduction 1:04 Getting started with React-Leaflet 2:21 Importing a map 6:27 Rendering a pop-up 10:49 Styling with custom icons 12:40 Fetching data GitHub repo: https://github.com/leighhalliday/reac... To learn more you can also check out this blog post: https://blog.logrocket.com/how-to-use... Try LogRocket for free: https://logrocket.com/?yt12 LogRocket is a frontend application monitoring solution that lets you replay problems as if they happened in your own browser. Instead of guessing why errors happen, or asking users for screenshots and log dumps, LogRocket lets you replay the session to quickly understand what went wrong. It works perfectly with any app, regardless of framework, and has plugins to log additional context from Redux, Vuex, and @ngrx/store. In addition to logging Redux actions and state, LogRocket records console logs, JavaScript errors, stacktraces, network requests/responses with headers + bodies, browser metadata, and custom logs. It also instruments the DOM to record the HTML and CSS on the page, recreating pixel-perfect videos of even the most complex single-page apps. Try it for free: https://logrocket.com/signup/