how to load a local JSON file to google maps?
<p>I'm developing a map on my site using google maps JS API.
my map has a local JSON layer that defines a certain polygon area on the map.
everything went fine when i ran it within the visual-studio, 
but when i double clicking <strong>map.html</strong> outside the VisualStudio project the polygon is not shown.
why is it?</p>

<hr>

<p>this is the call for loading the Json layer:</p>

<pre><code>        map.data.loadGeoJson(href = "MapLayer.json");
        map.data.setStyle({

            fillColor: 'red'
        });
</code></pre>