teambtcmap / btcmap.org

Free and open source bitcoin map web application
https://btcmap.org
GNU Affero General Public License v3.0
41 stars 11 forks source link

Dynamic Merchant Page OG Image #146

Open dadofsambonzuki opened 1 month ago

dadofsambonzuki commented 1 month ago

The OG image for the merchant page should either:

a) be specific to the merchant category;

b) be dynamically generated with a pin on the map, perhaps with the pin representing the merchant category.

dadofsambonzuki commented 1 month ago

I think I prefer b) as it's more useful and easier to implement and maintain.

secondl1ght commented 1 month ago

Yeah we can dynamically generate the location of the merchant with a pin on the map - I guess the question is, should there be other elements incorporated into the design like the merchant's name etc. Or just have a full size image of the map?

secondl1ght commented 1 month ago

The title of the link already has the name of the merchant, so maybe it's not needed? If we do end up going with only the map as the image then maybe we don't actually need a design for this.

dadofsambonzuki commented 1 month ago

Yeah, the title is already enough I think.

Just a map with the usual merchant type specific pin.

This might help: https://docs.stadiamaps.com/static-maps/

There are options in there for caching and also for labelling (if we want to see what a pin label looks like easily).

secondl1ght commented 1 month ago

Ok sounds like we will keep this pretty simple. If we want the style and pin to match what users see on the main map I think we will have to do this in-house. If we don't care about it showing the same type of pin and icon we could use something like Stadia.

dadofsambonzuki commented 1 month ago

Pin should represent merchant category like the main map.