Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8251093
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T00:07:36+00:00 2026-06-08T00:07:36+00:00

On my page, there is a container which use Google Maps API to display

  • 0

On my page, there is a container which use Google Maps API to display a map, there is a button below it, user can drag the map to a position, then click the button, I’d like to take the screenshot of the map displayed in the container now and show it in a canvas. Is it possible to do this with pure JavaScript?

Just need to support Chrome

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T00:07:39+00:00Added an answer on June 8, 2026 at 12:07 am

    It will be hard to do without browser support. But you can use Google Static Maps API:
    https://developers.google.com/maps/documentation/staticmaps/

    Example: https://developers.google.com/maps/documentation/staticmaps/#quick_example


    There is some projects to draw HTML DOM to canvas:

    • HTML2Canvas: http://html2canvas.hertzen.com/index.html
    • jsFeedback: http://hertzen.com/experiments/jsfeedback/

    You can also integrate javascript with some server-side solution (using webkit) for example phantomjs

    Code example: (read more here)

    var page = require('webpage').create();
    
    page.open('http://www.google.com', function() {
    
        page.viewportSize = {width: 1024, height: 768};
        page.render('screenshot.png');
        phantom.exit();
    });
    

    If you need only chrome solution for specific range of users you can write your own chrome extension to do this: Taking screenshot using javascript for chrome extensions

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using the Google maps API (v2) to display a country overlay over a
in my page there are few hidden field which are filled with the correct
On the page there are links displayed with CSS as buttons: HTML: <a class=button
On the Groovy example page there is an example of how to use Groovy
I have a div container inside which there are several child divs with css
Hey there. I have to use the Google Chrome Frame to support certain HTML5-features
I designed a ASP.NET page named kk-container.aspx to be used as a control which
I have created a page which has a container of 350px. Now I have
I've been working on a page where there are several entries contained in different
Is there any way to determine a page numer (in paged list), that contains

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.