the-hideout / tarkov-dev

The official site for tarkov.dev - A web app to track item prices, view trader barters, quests, maps, and much more!
https://tarkov.dev
MIT License
144 stars 52 forks source link

fix coordinate incorrectly displaying x: then z:: #860

Closed brjens closed 7 months ago

brjens commented 7 months ago

[Fixed coordinate bug]

Description 🗒️

The coordinates on the map were incorrectly showing x: and z: changed it to x: and y:

Examples 📸

image image

Related Issues 🔗


Expand for Help - Have questions about the review or deployment process? View our [contributing docs](https://github.com/the-hideout/tarkov-dev/blob/main/CONTRIBUTING.md) - Need additional help and want to chat in real time? Join our [community Discord](https://discord.gg/XPAsKGHSzH) > By submitting this pull request, you agree to our [code of conduct](https://github.com/the-hideout/tarkov-dev/blob/main/CODE_OF_CONDUCT.md)
Razzmatazzz commented 7 months ago

This actually isn't a bug. The y-axis is used for height in the in-game coordinates and we display coordinates using their in-game axis labels.

brjens commented 7 months ago

That's my mistake, sorry. So battlestate has height set to y? If I'm understanding that right.

Razzmatazzz commented 7 months ago

No worries; it's definitely not what one would expect from a top-down map view.