{"repo":"maptiler/cra-template-maplibre-gl-js","free":true,"listed":false,"github":"https://github.com/maptiler/cra-template-maplibre-gl-js","clone":"git clone https://github.com/maptiler/cra-template-maplibre-gl-js.git","description":"Quick way to star a web map application with MapLibre GL JS using Create React App.","language":"JavaScript","stars":11,"topics":["react","map","create-react-app","maplibre","maplibre-gl-js","maptiler","docs","reactjs","tutorial-code","maps"],"license":"MIT","category":"cli-tools","readme_excerpt":"MapLibre GL JS map using React JS Quick way to star a web map application with MapLibre GL JS using Create React App. A simple fullscreen map application as an example on how to use MapTiler maps together with React and MapLibre GL JS for your own React app. The map application contains a title component, a map component with navigation controls, and a marker. --- 📖 Documentation &nbsp; 🌐 Website &nbsp; 🔑 Get API Key --- Table of Contents Basic Usage Examples Support Contributing License Acknowledgements 🚀 Basic Usage Create an app To create a new react project run in your command-line: Navigate to the newly created project folder my-react-map API KEY Rename or copy the .env.example file to .env Open the .env file, :warning: you will need to replace YOUR MAPTILER API KEY with your own MapTiler API key. Your MapTiler account access key is on your MapTiler Cloud account page. :information source: If you don't have an API KEY you can create it for free at https://www.maptiler.com/cloud/ Run To start your local environment run: You will find your app on address http://localhost:3000/. Now you should see the app in your browser. Build To build for production, run: gh-pages To deploy the app to the gh-pages branch, run: 💡 Related Examples - How to display MapLibre GL JS map using React JS - Get Started with React JS and MapLibre GL JS - MapLibre GL JS geocoding control how to search places using React JS Check out the full list of MapTiler examples 💬 Support - 📚 Documentatio","default_branch":null,"files":null,"tree":[],"storefront":"/r/maptiler","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/maptiler/cra-template-maplibre-gl-js/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}