首先在页面上添加如果代码:
DisplaySettings="visible=True:transparency=0:mime=True:imgFormat=PNG8:height=100:width=100:dpi=96:color=:transbg=False:displayInToc=True:dynamicTiling="
LayerDefinitions="" Name="Selection" />
//代码效果参考:http://www.zidongmutanji.com/zsjx/40329.html
DisplaySettings="visible=True:transparency=0:mime=True:imgFormat=PNG8:height=100:width=100:dpi=96:color=-16711872:transbg=False:displayInToc=True:dynamicTiling="LayerDefinitions="" Name="Buffer" />
DisplaySettings="visible=True:transparency=0:mime=True:imgFormat=PNG8:height=100:width=100:dpi=96:color=White:transbg=True:displayInToc=True:dynamicTiling="
//代码效果参考:http://www.zidongmutanji.com/bxxx/323814.html
LayerDefinitions="" Name="Portland" />js 脚本:
//缓冲区查询
function fwsz()
{
document.getElementById("cxfwsz").style.display="block";
document.getElementById("BNResult").style.display="block";
var map = $find('Map1');
//画点函数
map.getGeometry(ESRI.ADF.Graphics.ShapeType.Point, usePoint, //代码效果参考:http://www.zidongmutanji.com/zsjx/504923.html
null, 'red', '#0000FF', 'pointer', true);