title: Plotting POINTS using GeoJSON
body: <p>I am trying to plot points on a map using GeoJSON.  I read the documention which states:</p>
  
  <blockquote>
    <p>You can load and display a GeoJSON file by calling the loadGeoJSON()
    method of the data object</p>
  </blockquote>
  
  <p>(<a href="https://developers.google.com/maps/documentation/javascript/datalayer" rel="nofollow">https://developers.google.com/maps/documentation/javascript/datalayer</a> )</p>
  
  <p>However, the sample code on the same page shows: </p>
  
  <blockquote>
    <p>map.data.loadGeoJson( ...)</p>
  </blockquote>
  
  <p>So I use the code example, ie: .loadGeoJson() instead of .loadGeoJSON() ...</p>
  
  <p>I have a GeoJson data file that I validated using www.geojsonlint.com, ie:</p>
  
  <pre><code>{
  "type": "FeatureCollection",
  "features": [
      {
          "type": "Feature",
          "geometry": {
              "type": "Point",
              "coordinates": [
                  -80.87088507656375,
                  35.21515162500578
              ]
          },
          "properties": {
              "name": "ABBOTT NEIGHBORHOOD PARK",
              "address": "1300  SPRUCE ST"
          }
      }
  ]
  }
  </code></pre>
  
  <p>The code block that loads the above file, where "url_to_geojson_file" is the URL to the data shown above (verified by cutting and pasting the URL into a browser; so the file exists and is downloadable).</p>
  
  <pre><code>   try {
         map.data.loadGeoJson( "url_to_geojson_file" );
     }
     catch( ex ) {
         alert("Error loading GeoJson:" + ex.toString());
     }
  </code></pre>
  
  <p>Nothing shows up on the map although the map renders.  No errors are caught by the try/catch block.  I even set the center point to the same coordinates as in the GeoJson file.  I also tried using .SetStyle() with various options with no effect.</p>
  
  <p><strong>Does anyone have a working example that displays one or more points from a GeoJson data file?</strong></p>
  
  <p>I have found examples of polygons and lines but I have not come across a simple example that demonstrates the use of points.</p>