Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
  
<html>
<head>
  <title>Примеры. Метка</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <script src="//api-maps.yandex.ru/2.1-dev/?load=package.full&lang=ru-RU" type="text/javascript"></script>
  <script type="text/javascript">
    ymaps.ready(init);
  
    function init () {
      var myMap = new ymaps.Map("map", {
        center: [55.760000, 37.640000],
        zoom: 10
      });
      
      myMap.events.add(['click'], function(e){
        var coo = e.get('coords');
        console.log(
          coo[0].toFixed(5),
          coo[1].toFixed(5)
        );
      });
    }
  </script>
</head>
<body>
  <div id="map" style="width:700px; height:700px"></div>
</body>
</html>
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
iyntxpro
0viewers