Argenmap requires no build step and no package manager — you only need a copy of the repository and a web server. This guide walks you from zero to a running map viewer in five minutes. By the end you will have the official Argentina base map on screen, and you will know how to add your first WMS overlay layer.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/ign-argentina/argenmap/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- A web server — VS Code Live Server extension is the easiest option for local development; Apache, Nginx, or
python3 -m http.serverall work too. - Git (optional — you can also download a ZIP).
Clone or download the repository
Clone the repository with Git:Or download and unzip the archive directly — no Git required:You can also paste
https://github.com/ign-argentina/argenmap/archive/master.zip into your browser to trigger a download.Copy the default configuration files
Argenmap ships read-only reference configs in Windows: In File Explorer, open After this step your
src/config/default/. Copy them into src/config/ so you can edit them freely without touching the originals.Linux / macOS:src\config\default\, select all files, and paste them into src\config\. Alternatively, in PowerShell:src/config/ folder should contain at minimum data.json and preferences.json.Open index.html with a web server
Argenmap must be served over HTTP — opening Apache quick example:
index.html as a file:// URL will block all tile and WMS requests due to browser CORS restrictions.VS Code Live Server (recommended for development):- Open the
argenmapfolder in VS Code. - Right-click
index.htmlin the Explorer panel. - Select Open with Live Server.
- Your browser opens automatically at
http://127.0.0.1:5500.
Confirm the map loads
Navigate to the URL your web server is serving. You should see:If the map tiles appear but show a blank panel, confirm that
- The Argentina base map centered at approximately latitude -40, longitude -59, zoom level 4.
- A collapsible layer panel on the left side of the screen.
- A toolbar with buttons for layers, base maps, add layers, help, and accessibility.
src/config/data.json and src/config/preferences.json exist and are valid JSON.Add your first WMS overlay layer
Open Reload the browser. The Industry and services section appears in the layer panel. Click the section header to expand it and toggle individual layers on and off.
src/config/data.json in a text editor. The file contains an items array. Add a new WMS section object to that array, then save the file and reload the browser tab.The example below adds the IGN industry-and-services WMS as a collapsible section in the layer panel:Adjust the map center and zoom
Editsrc/config/preferences.json to change where the map opens. The mapConfig block controls the initial center coordinates and zoom level:
Every change to
data.json or preferences.json requires a full browser reload to take effect. There is no hot-reload; a standard Ctrl+Shift+R or Cmd+Shift+R refresh is sufficient.Next steps
- Production deployment — see Deployment for step-by-step Apache and Nginx configuration.
- Full configuration reference — see Configure data.json for all layer types, section options, and base map properties.