Hi guys, I am new in using ArcGIS APIs. I created a map and need to let people to share a snapshot (image) of the map (with all graphics in it) in social media like fb,tw, g+, and email. I tried to use Print and PrintTask classes, but it didn't work. I found this example: http://esri.github.io/public-information-map-template-js/ but I don't want to embed the map in the popup window. I just need to have a snapshot of the map instead of that <iframe> in there. I highly appreciate if anyone can help me with that.
Solved! Go to Solution.
Kasra,
I have helped several others with this. Here is one such thread:
Kasra,
Can you give details on why PrintTask did not work for you. I use the PrintTask for exactly what you are wanting to do and it works great.
Hi Robert Scheitlin, GISP and thanks for your reply. I couldn't find any good sample for PrintTask. As I just saw your share widget. I need to take a snapshot of the map and then share it in the social media. I don't want to embed the map in there. I am using Javascript 3.18 and appreciate if you could help me with that
Cheers
Kasra,
I have helped several others with this. Here is one such thread:
Thank you very much Robert,
It's working now! I just need to customize the popup window with share buttons.
Best Regards
Glad to help,
Don't forget to mark this question as answered by clicking on the "Correct Answer" link on the reply that answered your question.