jantman / gw2copilot

A Python-based GuildWars2 helper tool
GNU Affero General Public License v3.0
4 stars 1 forks source link

Travel paths #11

Closed jantman closed 7 years ago

jantman commented 8 years ago

Add travel paths between zones. gw2timer.com has these, where did they get them from? Is there a GW2 API for this?

jantman commented 8 years ago

gw2timer.com seems to have a probably-manually-created list of these in their JS.

jantman commented 8 years ago

Ok, I can use this data from gw2timer.com / https://github.com/Drant/GW2Timer

This will require #20.

jantman commented 7 years ago
jantman commented 7 years ago

19 is done. #20 is done.

The data we're looking for is in GW2T_GATEWAY_CONNECTION

We need icons for:

Beyond icons, we have 2 problems to deal with here:

  1. We want to highlight or otherwise draw attention to the other end of the travel path. This means we'll need to find a way to hold a reference to the matching marker for the other end, and do something on mouseover. Maybe we'll also want a context menu option to (a) zoom to show both ends, and/or (b) go to the other end.
  2. We want meaningful names, especially for things like travel between zones (i.e. we want a tooltip that says something like "Asura Gate to ". However, the gw2timer.com data only has the coordinates, and figuring out which zone those coordinates are in is time-consuming in JS. Ideally this would be done python-side when the data is cached, but I'm not sure how easily or accurately I can have Python parse that JS source file, without requiring nodejs or something like it on the user's machine...