The React Azure Map Playground utilize Storybook to provide an interactive way to explore and experiment with the react-azure-maps components.
Visit React Azure Map Playground: https://azure.github.io/react-azure-maps-playground/
In the playground, you can:
- Learn how to effectively integrate Azure Maps into your React projects
- Adjust the component settings via the controls provided.
- Observe the immediate effects of your changes on the map.
- Read the full source code of the examples.
Before you begin, ensure you have met the following requirements:
- Node.js: Make sure you have Node.js installed on your machine. This project uses Node.js v20.16.0.
- npm: npm is required for package management. It comes with Node.js, so you should have it by default.
Follow these steps to get your local environment up and running:
-
Clone the Repository
git clone https://github.com/Azure/react-azure-maps-playground.git
-
Navigate to the Project Directory
cd react-azure-maps-playground
-
Install Dependencies
Use npm to install the necessary packages:
npm install
Once the dependencies are installed, you can run the project locally.
Start the Storybook server to view and interact with the components:
npm run storybook
Open your web browser and navigate to http://localhost:6006 to view the Storybook interface.