This repository contains a sample web application demonstrating how to add WMS layers from ArcGIS to a web map using popular web mapping libraries.
- Display WMS layers from ArcGIS Server in a web map
- Support for different web mapping libraries, such as Leaflet and OpenLayers
- Get feature information from the WMS layer using GetFeatureInfo requests
- Interact with WMS layers using popups and other UI components
- Basic knowledge of HTML, CSS, and JavaScript
- Familiarity with web mapping libraries, such as Leaflet or OpenLayers
The application runs in a Docker environment, using docker-compose to simplify the environment setup and allow the application to run on different platforms and environments.
To start the ArcGIS WMS Demo application, follow these steps:
-
Install Docker and Docker Compose on your local machine.
-
Clone this repository:
git clone https://github.com/tharlestsa/arcgis-wms.git
-
Open a terminal window and navigate to the root directory of the
arcgis-wms
project.cd arcgis-wms
-
Run the following command to build and start the application:
docker-compose build docker-compose up -d
-
Open the
index.html
file in a web browser or use a local web server to serve the application. -
Explore the source code to learn how to add WMS layers from ArcGIS to your web map.
This project use the following librarie:
- Leaflet - A lightweight, mobile-friendly JavaScript library for interactive maps
Feel free to submit issues or pull requests to improve the project.
This project is licensed under the MIT License. See the LICENSE file for details.