javascript - Create a button for a user to create a screenshot -


i hoping may have solution situation in. have created online web map tool leverages javascript, html5, jquery, , css distribute information such zoning , streets users. problem have run getting page print once user finds looking for. have tried:

  1. using css create print setup works across multiple browsers not work correctly , mapdiv not print correctly not center on map instead focuses on certaing portion of did.

  2. using html2canvas print canvas, not print mapdiv, print else.

  3. using fireshot api creating screenshot, work in friefox have seen.

  4. using esri print javascript api tool, not generate desired result either.

this being said, create button screen capture user sees , allow them save own disk , print. know javascript , html not natively have functionality because of potential security risks , like, hoping here may have found plugin works create screen capture. okay processing on server if needed, in essence need way of doing alt+prtscr without having user capture seeing.

any , thoughts welcome. explanation of how leverage plugins helpful bit of rookie @ aspect of coding , want make sure enable tool properly. thanks!


Comments

Popular posts from this blog

dns - How To Use Custom Nameserver On Free Cloudflare? -

python - Pygame screen.blit not working -

c# - Web API response xml language -