0
比如我有2個cordinates:54.674705589
和25.289369548
,我希望把這個cordinates在地圖上點擊鏈接如在此exampleArcgis的的JavaScript API,cordinates到位置
但這個例子是地址,我有cordinates ,這個例子有可能做出我需要的東西嗎?
function locate() {
map.graphics.clear();
var address = {
"SingleLine": dom.byId("address").value
};
locator.outSpatialReference = map.spatialReference;
var options = {
address: address,
outFields: ["Loc_name"]
}
locator.addressToLocations(options);
}