Q:
How should we handle maps that overlap
I have noticed this.
My app. only opens information for one map at a time. So it’s not a problem for me.
I guess something should be done.
You can see it more clearly in these screen shots I took in one of my little tools.
Dry Top bounds overlapping Silverwastes is probably a bug (one I noticed since long last year), although when used in junction with the MumbleLink API, it works in locating your character whether in Silverwastes or Dry Top.
The solution is to create a special case when dealing with Dry Top, here’s a snippet of my precached version of the map JSON:
"silverwastes":
{
id: "1015",
map_rect: [[-24576, -18432], [24576, 18432]],
continent_rect: [[3840, 14208], [5888, 15744]]
},
"drytop":
{
id: "988",
map_rect: [[-24576, -30720], [24576, 30720]],
continent_rect: [[3840, 15744], [5888, 17152]],
continent_rect_actual: [[3840, 14592], [5888, 17152]]
},
-
Notice the extra “continent_rect_actual” bounds which is what’s in the API, and is used for when I need to find the character’s in game position. But for when using the web map, I use my own measured “continent_rect”.