User
Xpmodder/Map Test
From Dogcraft Wiki
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
<div id="map-outer-container"> | <div id="map-outer-container"> | ||
<div id="map-container"> | <div id="map-container"> | ||
https://map.dogcraft.net/maps/sheltie/tiles/1/x{{#expr: floor(- | https://map.dogcraft.net/maps/sheltie/tiles/1/x{{#expr: floor(-2412 / 500)}}/z{{#expr: floor(2334 / 500)}}.png | ||
</div> | </div> | ||
<div id="marker-wrapper" style="position: absolute; {{#ifexpr: {{#expr: - | <div id="marker-wrapper" style="position: absolute; {{#ifexpr: {{#expr: -2412 mod 500}} < 0 | left: {{#expr: (500 + (-2412 mod 500)) - 25}}px; | left: {{#expr: (-2412 mod 500) - 25}}px;}} {{#ifexpr: {{#expr: 2334 mod 500}} < 0 | top: {{#expr: (500 + (2334 mod 500)) - 78}}px; | top: {{#expr: (2334 mod 500) - 78}}px;}} > | ||
[[File:Map Pointer.png|left|50px]] | [[File:Map Pointer.png|left|50px]] | ||
</div> | </div> | ||
</div> | </div> |
Revision as of 14:31, 8 February 2024
This page was last modified on 8 February 2024, at 14:31. (9 months ago)