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 3989786
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T06:24:58+00:00 2026-05-20T06:24:58+00:00

I have a map on a page which displays several places with markers and

  • 0

I have a map on a page which displays several places with markers and infowindows.
Now I’d like to put a fullscreen button and load the map into a jquery-ui dialog, but I’ve got some problems.

Is there a way to copy the google map instance I’ve created in one div, into the other div?

Or any other workaround, like changing the div associated with the map… science-fiction??

  • 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-05-20T06:24:59+00:00Added an answer on May 20, 2026 at 6:24 am

    I don’t think Google Maps themselves support such manipulation.

    Although it seems that moving the map is quite simple. The map has a method getDiv which returns Node containing the map. Using jQuery you can then manipulate the DOM:

    var mapNode = that.map.getDiv();
    $('#destinationDiv').append(mapNode);
    

    It simply moves the map div into the destinationDiv. I tested it in Chrome and Firefox and it worked well, but I’m not really sure if it works properly (if the map’s functionality isn’t broken) in all main browsers.

    But I wasn’t successful in copying the map. Utilizing jQuery’s clone method produces broken copy of the map. If you need to copy it, I guess the only way might be to create completely new map and create all the objects from scratch.

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

Sidebar

Related Questions

I have a map which displays some info. By default, labels on the map
I have a wordpress page which has two loops like so... <?php global $post;
On this page I have a link to a google map which opens in
I have a page which dynamically brings in a form via ajax and displays
I have a Java applet which displays an interactive map. By using the scroll
i have a command link in my page which looks like: <h:commandLink value=Add user
Let me clarify. I have a giant loop which parses XML, places markers on
I have an image map in my page: <div id=books> <img src=images/books.png width=330 height=298
I have a site map in top of my master page , When i
I have a Site Map link that opens up a Web Resource .htm page.

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.