It would be great to allow to embed interactive maps in AdaptativeCards.
It could maybe be implemented by a new card Element "Map" that would have an attribute "geojson" with the GeoJson shape to display.
The "properties" field of the "Feature" GeoJson object could be use to embed interactive elements.
The map provider would be left to the renderer to choose (Bing maps, Here, Google Maps...).
I can see this working for cards on web sites/applications, but not sure how it would be handled in things like Skype or Facebook Messenger. You can send a location via Skype, but this is an image snapshot that links to the map application on the phone (or other device), so it's essentially an image card with an action that points to a URL.
So the question would be: does a more generic embed type need to be created that potentially has different functionality depending on the targeted platform, but encompasses things like maps, SVG, etc., or does Microsoft want to stick to the lowest common denominator across platforms, and require an image card for this.
Thanks for the suggestion and discussion folks, we were actually discussing something very similar to your proposal a little while back.
Ideally we could do as suggested and allow a pluggable MapRenderer if a Host wants to allow interactive maps within their experience. And we were considering by default we would simply use the Bing/Google maps APIs to generate static images, since as of now we don't want Adaptive Cards to have any 3rd party dependencies
Regarding a generic "embed" type that @szul mentions, we are also considering how to handle this separately. Would love to hear any feedback or requests here -- ideally in a separate issue to keep this one focused on Maps.
Very interested in such feature right now and I think its critical. What's the progress?
Someone??
Hi @vxnsbir1ugsp, we are currently focused on closing the v1 feature set, and a map element won't be part of that. It is on the radar for a future version, but can't give any prediction as to if/when it'll happen at this time.
Any updates on this? (Last comment was added 9 months ago)
Any update on this? (Last comment was added several months ago)
We're also considering using Adaptive Cards for our municipality, public facing information. Map support out of the box would make that a lot easier.
Most helpful comment
Thanks for the suggestion and discussion folks, we were actually discussing something very similar to your proposal a little while back.
Ideally we could do as suggested and allow a pluggable MapRenderer if a Host wants to allow interactive maps within their experience. And we were considering by default we would simply use the Bing/Google maps APIs to generate static images, since as of now we don't want Adaptive Cards to have any 3rd party dependencies
Regarding a generic "embed" type that @szul mentions, we are also considering how to handle this separately. Would love to hear any feedback or requests here -- ideally in a separate issue to keep this one focused on Maps.