Skip to main content

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.

Argenmap’s toolbar is a vertical icon bar displayed on the right side of the map. Each icon corresponds to a plugin that adds a specific capability to the viewer. Plugins are loaded in a defined order at startup; any plugin can be suppressed by adding its identifier to the excluded_plugins array in preferences.json. The entire toolbar can be hidden on load by setting onInit.showToolbar to false, and the layer panel can be hidden by setting onInit.showLayerMenu to false.
The onInit.showToolbar and onInit.showLayerMenu preferences control the initial visibility of the toolbar and the layer panel respectively. Set either to false in preferences.json to start with that element hidden — useful for embedding Argenmap in a page where a minimal interface is preferred.
ZoomHome — Resets the map view to the initial center and zoom level defined in preferences.json (mapConfig.center and mapConfig.zoom.initial). Plugin identifier: ZoomHome. Locate — Centers the map on the user’s current position using the browser Geolocation API. Displays a pulsing marker at the detected location. Plugin identifier: locate. FullScreen — Toggles the map between normal and fullscreen mode using the browser Fullscreen API. Plugin identifier: FullScreen.

Measurement and Drawing

Measure — Activates an interactive measurement tool. Click points on the map to measure distances (in meters or kilometers) and areas (in square meters or hectares). Plugin identifier: Measure. Draw — Opens a drawing toolbar that lets users place points, draw polylines, polygons, rectangles, circles, and circle markers directly on the map. After drawing, each geometry can be styled with a custom border width, border color, and fill color. All drawn geometries can be downloaded as a GeoJSON file. Plugin identifier: Draw. Graticule / Grid — Toggles a coordinate grid overlay (graticule) on top of the map. The grid lines are labeled with geographic coordinates. Plugin identifier: graticula.

Data and Layers

Load Layer — Opens the file import modal where users can load local geographic files (GeoJSON, KML, GPX, Shapefile ZIP, WKT, TopoJSON) or add layers from a remote URL. Loaded layers are added to the Archivos section of the layer panel. Plugin identifier: loadLayer. See File Formats for supported formats and details. Consult Data — Queries active WMS layers by clicking a point on the map or using a drawn geometry as a spatial filter. The query fires a GetFeatureInfo request and displays the results in a popup or table depending on the table.isActive preference. Plugin identifier: consultData. See Map Layers for query configuration details. Geoprocessing — Opens the geoprocessing panel for running spatial analysis operations (contour lines, flood simulation, buffer zones, elevation profiles). Plugin identifier: geoprocessing. See Geoprocessing for full details.

Export Tools

Screenshot — Captures the current map view as a PNG image with a scale bar included in the export. Only available on WebKit-based browsers. Plugin identifier: screenShoter. PDF Print — Generates a PDF document of the current map view. The PDF includes a north arrow symbol, the map scale, and a sidebar listing the active layers with their legend images. The component uses jsPDF and leaflet-image for rendering; html2canvas is used optionally to capture the scale bar element. Not available on Safari. Plugin identifier: pdfPrinter.

Utility Tools

Mouse Coordinates — Continuously displays the cursor’s latitude and longitude in the map corner as the user moves the mouse. This display is always visible and is not excludable via excluded_plugins. Mini Map — Shows a small overview map inset in the corner of the main map to provide geographic context. The default preferences.json configuration excludes this plugin ("excluded_plugins": ["minimap"]). Plugin identifier: minimap. Help — Opens an interactive guided tour of the Argenmap interface. The tour highlights each major UI element and describes its function. Not shown on mobile devices. Plugin identifier: helpTour. Accessibility — Opens an accessibility panel with display options to improve readability and usability for users with different needs. Plugin identifier: accessibility. Config Tool — A runtime configuration tool intended for administrator use. Plugin identifier: configTool.

URL Sharing

Argenmap automatically keeps the browser URL in sync with the current map state. As the user pans, zooms, or activates layers, the URL is updated with query parameters — no button press required. Sharing the URL restores the exact same map view for anyone who opens it. The URL parameters used are:
ParameterDescription
zoomCurrent zoom level
latMap center latitude (4 decimal places)
lngMap center longitude (4 decimal places)
layersComma-separated list of active layer names
markerOne or more lat,lng coordinate pairs for pinned markers

Excluding Plugins

To disable specific toolbar tools, list their plugin identifiers in excluded_plugins in preferences.json. The toolbar buttons for excluded plugins are not rendered and their code is not initialized.
{
  "excluded_plugins": ["minimap", "accessibility"]
}
Plugin IdentifierTool Name
ZoomHomeZoom to Home
locateLocate / Geolocation
FullScreenFullscreen Toggle
MeasureMeasure Distance / Area
DrawDraw Geometries
graticulaCoordinate Grid (Graticule)
loadLayerLoad Local / Remote Layer
consultDataConsult / Query Layer Data
geoprocessingGeoprocessing Panel
screenShoterMap Screenshot (PNG)
pdfPrinterPDF Export
minimapMini Overview Map
helpTourGuided Help Tour
accessibilityAccessibility Panel
configToolRuntime Config Tool
For details on the Load Layer tool and supported file formats, see File Formats. For details on the geoprocessing capabilities accessible from the toolbar, see Geoprocessing.

Build docs developers (and LLMs) love