Tool to display Arma 3 maps in a web browser using Leaflet.
Tanoa | X-CAM Taunus | Kujari |
---|---|---|
Altis | Malden | Island Panthera |
---|---|---|
Livonia (enoch) | Lythium | Virolahti - Valtatie 7 |
---|---|---|
Stratis | Uzbin Valley | Anizay |
---|---|---|
Pulau | Ruha | Suursaari |
---|---|---|
Aliabad Region | Hazar-Kot Valley | Bystrica |
---|---|---|
Chernarus (Autumn) | Chernarus (Summer) | Chernarus (Winter) |
---|---|---|
Sahrani | United Sahrani | Takistan |
---|---|---|
Takistan Mountains | Zargabad | Everon |
---|---|---|
Chongo | Southeast Angola | Dingor |
---|---|---|
Lingor | Isla Abramia | Isla Duala |
---|---|---|
Clafghan | Diyala | G.O.S Al Rayak |
---|---|---|
G.O.S Dariyah | G.O.S N'Djenahoud | G.O.S N'ziwasogo |
---|---|---|
Khoramshahr (Beta) | Kunduz, Afghanistan Lighting Revival | RHSPKL |
---|---|---|
VT5 - Valtatie 5 | Esseker | Hindu Kush |
---|---|---|
PR F.A.T.A | Rosche, Germany | Sangin.v4 |
---|---|---|
Yellowstone | Napf Island A3 | NapfWinter Island A3 |
---|---|---|
Content under
- Arma Public Licence. © Bohemia Interactive.
- Taunus: Arma Public Licence. © X-CAM Taunus Dev Team.
- Kujari: Arma Public Licence-Share Alike. © Temppa.
- Lythium : Unspecified Licence. © GreenBeret & FFAA MOD Team.
- Virolahti - Valtatie 7: Arma Public Licence-Share Alike. © furean.
- Uzbin Valley : Unspecified Licence. © Dark, Max.
- Anizay: Arma Public License Share Alike. © Temppa.
- Pulau: Arma Public License Share Alike. © Temppa.
- Ruha: Arma Public License Share Alike. © Temppa.
- Suursaari: Arma Public License Share Alike. © Temppa.
- Aliabad Region: Unspecified Licence. © Santa Fe.
- Hazar-Kot Valley: Unspecified Licence. © Santa Fe.
- Bystrica: Arma Public License Share Alike. © CUP Team.
- Chernarus (Autumn): Arma Public License Share Alike. © CUP Team.
- Chernarus (Winter): Arma Public License Share Alike. © CUP Team.
- Chernarus (Summer): Arma Public License Share Alike. © CUP Team.
- Sahrani: Arma Public License Share Alike. © CUP Team.
- United Sahrani: Arma Public License Share Alike. © CUP Team.
- Takistan: Arma Public License Share Alike. © CUP Team.
- Takistan Mountains: Arma Public License Share Alike. © CUP Team.
- Zargabad: Arma Public License Share Alike. © CUP Team.
- Everon: Arma Public License Share Alike. © CUP Team.
- Chongo: Unspecified License. © IceBreakr.
- Southeast Angola: Unspecified License. © IceBreakr.
- Dingor: Unspecified License. © IceBreakr.
- Lingor: Unspecified License. © IceBreakr.
- Isla Abramia: Unspecified License. © IceBreakr.
- Isla Duala: Unspecified License. © IceBreakr.
- Clafghan: Unspecified License. © Nremik.
- Diyala: Unspecified License. © CypeRevenge.
- G.O.S Al Rayak: Unspecified License. © GOS_Makhno.
- G.O.S Dariyah: Unspecified License. © GOS_Makhno.
- G.O.S N'Djenahoud: Unspecified License. © GOS_Makhno.
- G.O.S N'ziwasogo: Unspecified License. © GOS_Makhno.
- Khoramshahr (Beta): Unspecified License. © War is Hell
- Kunduz, Afghanistan Lighting Revival: Unspecified License. © pvttunt.
- RHSPKL: Attribution-NonCommercial-NoDerivatives 4.0 International. © Red Hammer Studios.
- VT5 - Valtatie 5: Unspecified License. © Tonto-.
- Esseker: Unspecified License. © RonhillUltra.
- Hindu Kush: Unspecified License. © CPL.Variable.A.
- PR F.A.T.A: Unspecified License. © Minimalaco & Robster, ported by Androkiller™.
- Rosche, Germany: Arma Public License Share Alike. © WA Lancer.
- Sangin.v4: Unspecified License. © SmokeDog.
- Yellowstone: Unspecified License. © PabstMirror.
- Napd Island: Unspecified License. © Momo & ANixon.
- Napd Island (winter): Unspecified License. © Momo & ANixon.
Each map have a js file that provides informations to configure Leaflet:
https://jetelain.github.io/Arma3Map/maps/[mapname].js
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Tanoa</title>
<link
rel="stylesheet"
href="https://unpkg.com/leaflet@1.6.0/dist/leaflet.css"
/>
<link
rel="stylesheet"
href="https://jetelain.github.io/Arma3Map/css/mapUtils.css"
/>
</head>
<body style=" margin:0;padding:0;border:0;">
<div
class="map"
id="map"
style="width:100%; height:100vh; margin:0;padding:0;border:0;"
></div>
<script src="https://unpkg.com/leaflet@1.6.0/dist/leaflet.js"></script>
<script src="https://unpkg.com/jquery@3.5.1/dist/jquery.min.js"></script>
<script src="https://jetelain.github.io/Arma3Map/js/mapUtils.js"></script>
<script src="https://jetelain.github.io/Arma3Map/maps/tanoa.js"></script>
<script>
$(function () {
var mapInfos = Arma3Map.Maps.tanoa;
// Create map control
var map = L.map("map", {
minZoom: mapInfos.minZoom,
maxZoom: mapInfos.maxZoom,
crs: mapInfos.CRS,
});
// Define tile layer
L.tileLayer(
"https://jetelain.github.io/Arma3Map" + mapInfos.tilePattern,
{
attribution: mapInfos.attribution,
tileSize: mapInfos.tileSize,
}
).addTo(map);
// Center map, and sets default zoom
map.setView(mapInfos.center, mapInfos.defaultZoom);
// (optional) Add grid sliders
L.latlngGraticule().addTo(map);
// (optional) Add a scale control
L.control.scale({ maxWidth: 200, imperial: false }).addTo(map);
// (optional) Add mouse grid position
L.control.gridMousePosition().addTo(map);
});
</script>
</body>
</html>
Once you have the base map, you can use all Leaflet features and plugins.
In Leaflet APIs, the latitude will be the northing in meters, and the longitude the easting in meters (x=lon, y=lat).
My projects powered by Arma3Map :
- https://maps.plan-ops.fr/ : Prepare tactical maps, share them in real time, and import them into Arma 3 (you can host your own server using https://github.com/jetelain/Arma3TacMap)
- https://ctab.plan-ops.fr/ : Commander tablet in real time on your mobile device. Extension of the cTab mod (https://github.com/jetelain/cTab)