shaningesri

Google Maps Not Display

Discussion created by shaningesri on Jul 15, 2011
Latest reply on Jul 18, 2011 by shaningesri
I tried to use JS API for Google Maps Ext.  I loaded the sample code: Google May layers for ArcGIS JS API from http://www.arcgis.com/home/item.html?id=a84d64b0d1404366a02da714ca59d61f.  Then I open its htm file.  I can only view the ESRI Topo, but all of the Google Maps layers are not displayed.   I suspect that the problem could be related to this piece of code:
        </script>
        <script type="text/javascript" src="../src/gmapslayer_compiled.js">
        </script>
In the folder, I structure the files like that:
       gmapslayer.htm
       src (folder, containing 2 files below)
           gmapslayer_compiled.js
           gmapslayer.js

Then, I revised the code like that:
<script type="text/javascript" src="http://gmaps-utility-gis.googlecode.com/svn/tags/gmapslayer/1.0/src/gmapslayer_compiled.js" >
It means that I call the JS through internet.  The result is still the same.
Does anyone know how to do fix it?  Thanks.

Outcomes