zekefarwell / josm-strava-heatmap

A browser extension that simplifies getting the TMS imagery url for using the Strava Heatmap in JOSM
MIT License
62 stars 3 forks source link

Refactor. Add buttons to open in iD and toggle tms prefix. #4

Closed zekefarwell closed 2 years ago

zekefarwell commented 2 years ago

To match the Open in JOSM feature I added a second button to open the heatmap in iD. I also added a button to toggle the tms: prefix to give flexibility when manually copying the url.

image

To accommodate these I did a fair amount of refactoring:

@dericke please feel free to give this a review to make sure I didn't inadvertently break anything from your PR. Once this is merged I'll do a release for version 4 and submit to the Chrome Web Store and Mozilla Addons.