vue-advanced-chat
vue-advanced-chat copied to clipboard
Maps location message
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¢er=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?
That's a good idea. Will add this feature in the future