Got error on
<script type="text/javascript" src="http://js.arcgis.com/3.23compact/"></script>
...
var pt = new esri.geometry.Geometry.Point([-76.99, 38.88]);
Message: JavaScript runtime error: Object doesn't support this action
What's wrong on this piece of code? Thanks.
Solved! Go to Solution.
Shaning,
this is your error:
var pt = new esri.geometry.Geometry.Point([-76.99, 38.88]);
//should be
var pt = new esri.geometry.Point([-76.99, 38.88]);
Shaning,
this is your error:
var pt = new esri.geometry.Geometry.Point([-76.99, 38.88]);
//should be
var pt = new esri.geometry.Point([-76.99, 38.88]);
Thanks for you to quickly point out my careless mistake.