Confusion about maps

Confusion about maps

in API Development

Posted by: Nightgunner.2896

Nightgunner.2896

Example: https://api.guildwars2.com/v2/continents/1/floors/1/regions/5/maps/650

Applied Development Lab (Home) gives the coordinates as:

"continent_rect":[[4608,19710],[7168,22270]]

Which is exactly the same as Rata Sum’s coordinates. Is there a way to get the boundaries of the instance as opposed to the boundaries of the map the instance is part of?

Also, the map link is given as [&BJcDAAA=] , which is a waypoint in Plains of Ashford.

Some of the maps have continent_rect boundaries larger than the actual tiles available for them, like https://api.guildwars2.com/v2/continents/1/floors/-15/regions/5/maps/432 . The clamped_view for the floor is even larger, even though floor -15 of Tyria only has one map in it.

Is there some other method of determining which tiles are part of a map that I should be using instead?

Confusion about maps

in API Development

Posted by: smiley.1438

smiley.1438

There are still several problems in the underlying game data. I pointed that out once but didn’t have time yet to do more investigation and write it up in a GitHub issue.
Another example might be the wrong region for several maps over here: https://api.guildwars2.com/v2/continents/1/floors/1/regions/8
Lots of them are actually in Tarnished coast. It seems like the mappers thought “oh c’mon, let’s just throw all those new instances into region 8. YOLO!”.
I mean, the continents API is cool to draw any map once you know where they’re hidden; what i miss is an endpoint which allows us to draw clean overview maps for both continents. There’s still way too much instance data in all the main floors (well, at least continent 1).

(edited by smiley.1438)

Confusion about maps

in API Development

Posted by: Nightgunner.2896

Nightgunner.2896

what i miss is an endpoint which allows us to draw clean overview maps for both continents.

I think you can achieve that by just having the map not zoomed all the way in.

Confusion about maps

in API Development

Posted by: smiley.1438

smiley.1438

No, thats not what i mean. By a clean overview map i mean something like this: http://gw2.chillerlan.net/examples/gw2maps-jquery.html
The problem currently is that any of floors 1/1 to 1/3 feature both, world and instance data, which renders this application moot.