Région de recherche :

Date :

https://developers.google.com › maps › documentation › javascript › examples › event-simple

Simple Click Events | Maps JavaScript API - Google Developers

Learn how to use event listeners to zoom and pan the map when a marker is clicked. This example shows how to handle the click and center_changed events with TypeScript and Google Maps.

https://stackoverflow.com › questions › 16985867

Adding an onclick event to google.map marker - Stack Overflow

You can reference the clicked marker with 'this': google.maps.event.addListener(marker, 'click', markerListener); function markerListener() { alert(this.getPosition()); // this.setIcon(...

https://developers.google.com › maps › documentation › javascript › events

Events | Maps JavaScript API | Google for Developers

Learn how to listen for and handle user interface events and MVC state changes in the Maps JavaScript API. See examples of click, drag, zoom, center, and shape events and how to access arguments, closures, and properties within event handlers.

https://stackoverflow.com › questions › 15792655

Add marker to Google Map on Click - Stack Overflow

The best method to add marker 'on-click' is: map.addListener('click', function(event) { addMarker(event.latLng); });

https://developers.google.com › maps › documentation › javascript › overview

Overview | Maps JavaScript API | Google for Developers

With the Maps JavaScript API, you can: Create 2D and 3D maps to show locations anywhere in the world. Add customizable markers to indicate locations on a map. Use the Places library to get...

https://stackoverflow.com › questions › 36892826

Click on Google Maps API and get the address - Stack Overflow

The following code allows to get the coordinates, on click. But how to get the address or city name or region name or country on click on the map, with Google Maps API? var myLatlng = new google.maps.LatLng(41.38,2.18); var myOptions = { zoom: 13, center: myLatlng}

https://stackoverflow.com › questions › 20634008

Right Click on marker - Google Maps V3 - Stack Overflow

The rightclick event works on a google.maps.Marker for me: google.maps.event.addListener(marker, 'rightclick', function() { infowindow.setContent("<div style='width:100px'>rightclick</div>"); infowindow.open(map,marker); }); working example

https://developers.google.com › maps › get-started

Getting started with Google Maps Platform

To use Google Maps Platform, you must enable the APIs or SDKs you plan to use with your project. Note that some integrations require you to enable multiple APIs/SDKs. If you are not sure which...

https://developers.google.com › maps › documentation › urls

Get Started | Maps URLs | Google for Developers

Using Maps URLs, you can build a universal, cross-platform URL to launch Google Maps and perform searches, get directions and navigation, and display map views and panoramic images. The URL...

https://stackoverflow.com › questions › 30544268

Create Google Maps links based on coordinates - Stack Overflow

How can I create Google Maps links based on coordinates? Their new basic share urls contain a lot of parameters, for example: https://www.google.com/maps/place/Vetlanda,+Sweden/@57.4217311,15.08492...