Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>JS Bin</title>
  <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/ol3/3.14.2/ol.min.css"/>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/ol3/3.14.2/ol.min.js"></script>
  <script>
    // dumping this here to avoid cluttering the example
    var geojsonObject = {
      type: 'FeatureCollection',
      features: [
        {
          type: 'Feature',
          properties: {
            requiresTransform: true
          },
          geometry: {
            type: 'Polygon',
            coordinates: [[[103.92240800000013,21.69931],[100.93664,21.66959500000013],[108.031899,18.67076]]]
          }
        },
        {
          type: 'Feature',
          geometry: {
            type: 'Polygon',
            coordinates: [[[-5e6, -1e6], [-4e6, 1e6], [-3e6, -1e6]]]                  
          }
        }
      ]
    };
  </script>
</head>
<body>
  <div id="map"></div>
</body>
</html>
Output

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

Dismiss x
public
Bin info
Digigizmopro
0viewers