Shared-Reality-Lab / IMAGE-browser

IMAGE project browser extensions & client-side code
Other
2 stars 0 forks source link

Use Google Maps links near static image google map embeds #235

Closed jeffbl closed 1 year ago

jeffbl commented 2 years ago

There are maps on some major sites like TripAdvisor that are static graphics, so won't work with the code implemented for #108:

https://www.tripadvisor.com/Restaurant_Review-g34438-d23806008-Reviews-Mayami_Wynwood-Miami_Florida.html

However, note that:

  1. if you click the map, it takes you an actual Google map, so the address/coordinates are likely available somehow.
  2. There is an actual google maps link for the address just below the static map graphic that may be able to be used directly, or extract the address and reverse geocode to a lat/lng

Yelp uses something that appears a little more indirect, so might be more work and not something easily generalized, e.g., https://www.yelp.com/biz/lotus-bleu-montr%C3%A9al-2

jeffbl commented 2 years ago

Others that do weird things:

https://restaurantguru.com/Le-Pegase-Montreal (has static openstreet map that seems to link to a google map?)

https://www.zomato.com/montreal/le-caf%C3%A9-bloom-montreal (static openstreet map, plus link with lat/lng directly embedded linking to google map of route to get there)