vue-advanced-chat icon indicating copy to clipboard operation
vue-advanced-chat copied to clipboard

Maps location message

Open iuryLandin opened this issue 3 years ago • 2 comments
trafficstars

I would like a type of message, location on the map, where it would be possible to pass the latitude and longitude and return an image with a link to google maps.

Like this -> https://i.stack.imgur.com/E7vlv.png


Suggestions

The following has an API to generate a static image of the map according to the coordinates.

https://maps.geoapify.com/v1/staticmap?style=osm-carto&width=600&height=400&center=lonlat:{LONGITUDE},{LATITUDE}&zoom=14&apiKey={{API_KEY}}

In this other link it is possible to access google maps through the coordinates

https://maps.google.com/maps?q={LATITUDE}%2C{LONGITUDE}&z=17&hl=pt-BR

Does anyone know if it is possible to use this, or do I need to wait for a new version of the component?

iuryLandin avatar Nov 10 '22 05:11 iuryLandin

That's a good idea. Will add this feature in the future

antoine92190 avatar Nov 12 '22 09:11 antoine92190