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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T23:02:22+00:00 2026-05-13T23:02:22+00:00

GEvent.addListener(map, mouseover, function() { }); thanks

  • 0
GEvent.addListener(map, "mouseover", function() {

        });

thanks

  • 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-13T23:02:23+00:00Added an answer on May 13, 2026 at 11:02 pm

    I am not sure if I understood your question correctly, but you may want to check out the following example.

    Both the geographical coordinates as well as the DOM coordinates would update automatically as you move the mouse over the map:

    <!DOCTYPE html>
    <html> 
    <head> 
       <meta http-equiv="content-type" content="text/html; charset=UTF-8"/> 
       <title>Google Maps mousemove Event Demo</title> 
       <script src="http://maps.google.com/maps?file=api&amp;v=2&amp;sensor=false" 
               type="text/javascript"></script> 
    </head> 
    <body onunload="GUnload()" style="font-family: Arial; font-size: 11px;"> 
    
       <div id="map" style="width: 500px; height: 300px;"></div> 
       <div id="div_coordinates"></div>
       <div id="geo_coordinates"></div>
    
       <script type="text/javascript"> 
    
          var map = new GMap2(document.getElementById("map"));
    
          map.setCenter(new GLatLng(39.00, -77.00), 10);
    
          GEvent.addListener(map, "mousemove", function(latlng) {
              document.getElementById('div_coordinates').innerHTML =
                 'Div Coordinates: ' +
                 map.fromLatLngToContainerPixel(latlng).x + ', ' +
                 map.fromLatLngToContainerPixel(latlng).y;
    
              document.getElementById('geo_coordinates').innerHTML =
                 'Geographical Coordinates: ' + latlng.lat() + ', ' + latlng.lng();
          });
    
       </script> 
    </body> 
    </html>
    

    Google Maps mousemove Event Demo

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

Sidebar

Related Questions

I am trying to pass in a function as a parameter: GEvent.addListener(marker_1, click, populateMarkerWindow(0,
i am changing my polyline color on click my code, GEvent.addListener(polyline, click, function() {
I've got the following Google map on my website.. function initialize() { if (GBrowserIsCompatible())
I have the following function to display the infowindow with tabs on google map
If you call gevent.spawn_later(), is there a way to cancel this scheduled function before
for this code: import sys import gevent from gevent import monkey monkey.patch_all() import requests
I've been looking at gevent-socketio and was wondering how do I broadcast to an
I want to experiment with gevent , but after installing it I can't load
I'm trying to get http://www.gelens.org/code/gevent-websocket/ running and keep getting the following error. socket_id=1 already
Firstly, is it safe to mix green threads such as eventlet or gevent with

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.