Thank you very much that was extraordinarily helpful. I have a few questions if I may.I am still having trouble getting the point to appear on the map.Are there any require statements that are required with the code you provided? (dojo.require(stuff));Similarly I presently do not have an 'OnLoad' function in my code. Is this a function that is already build into the esri map?Using the code as you described with xy coordinate (-100,40) where would that point appear on the map? In the ArcGIS documentation they indicate these coordinates are 'map units'. Is this different from true latitude and longitude?Again I am new to this realm so I apologize if my queries are elementary.Here is a look at my code...<head id="Head1" runat="server">
<title>Untitled Page</title>
<script src="http://serverapi.arcgisonline.com/jsapi/arcgis/?v=2.3" type="text/javascript"></script>
<link href="http://serverapi.arcgisonline.com/jsapi/arcgis/2.3/js/dojo/dijit/themes/claro/claro.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
dojo.require("esri.map");
var map;
function init() {
var initExtent = new esri.geometry.Extent({"xmin":-10427539.398660975,"ymin":5592973.796653195,"xmax":-10358746.073204407,"ymax":5638836.013624239,"spatialReference":{"wkid":102100}});
map = new esri.Map("mapDiv",{extent:initExtent});
var basemapURL= "http://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer"
var basemap = new esri.layers.ArcGISTiledMapServiceLayer(basemapURL);
map.addLayer(basemap);
}
dojo.addOnLoad(init);
dojo.connect(map, 'onLoad', function() {
var pt = new esri.geometry.Point(-118.15, 33.80, new esri.SpatialReference({ 'wkid': 4326 }));
map.graphics.add(new esri.Graphic(
esri.geometry.geographicToWebMercator(pt), // geometry
new esri.symbol.SimpleMarkerSymbol(), // symbol
{ 'title': 'Test Point Location', 'content': 'This is content' }, // attributes
new esri.InfoTemplate('${title}', '${content}')
));
});
</script>
</head>
Thank you for your help again.