OCAP icon indicating copy to clipboard operation
OCAP copied to clipboard

Web create leaflet tiles

Open fank opened this issue 4 years ago • 7 comments
trafficstars

The web should create leaflet tiles based on a exported svg from diag_exportTerrainSVG or any other map image. This would make it easier to create tiles for new maps which aren't supported yet.

Example i found https://github.com/andrewdodd/leaflet-go-map-tiling

fank avatar Jul 06 '21 11:07 fank

Preferred command:

diag_exportTerrainSVG [
"C:\Users\USERNAME\Desktop\map.svg",
false, // no location names
false, // no grid
false, // no countlines
true, // show tree objects
false, // no hight points
true // simple roads
];

fank avatar Jul 13 '21 18:07 fank

Some svgs i extracted https://drive.google.com/drive/folders/1l9QqHD1cTqaySrz2U6vqsXQW8CgNYHKh?usp=sharing

fank avatar Jul 13 '21 18:07 fank

@Fank what is the progress on this? Using SVGs to render the map, to me, makes a lot more sense. Could be a lot more efficient, and also look a lot better.

FrozenDroid avatar Mar 27 '22 15:03 FrozenDroid

No i stopped any progress on this, because i tried to work on 3d map.

fank avatar Mar 27 '22 16:03 fank

That's even more cool. Have you come along with that at all? Where is the repo for that?

FrozenDroid avatar Mar 27 '22 16:03 FrozenDroid

It is that one https://github.com/OCAP2/web/tree/deckgl-proto but draft. I suspended any development for unknown time, because i am not doing anything with ArmA atm.

fank avatar Mar 28 '22 12:03 fank

@Fank Hello! I was wondering, how do you run the diag_exportTerrainSVG command? Do you mind giving me details about it? Do you have to open DayZ first? What is the process? Thank you! <3

podrivo avatar Dec 05 '24 14:12 podrivo