1.自定义PopUpInfo类CustomPopUpInfo.as
2.自定义CustomPopUpFieldInfo.as
3.自定义类CustomPopUpRenderer.as
4.自定义皮肤控件CustomPopUpRendererSkin.mxml
5.在MapManager.mxml运用:
(1)configureLayerRenderer
(2)configurePopUps
(3)createPopUpRenderer
(4)parseArray函数中调用parseArrFields、parseRestPopUpConfig、 setPopUpRendererOnLayer三个函数
var popUpInfo:CustomPopUpInfo = new CustomPopUpInfo();
(5)parseArrFields函数:
var pCustomFieldInfo:CustomPopUpFieldInfo = new CustomPopUpFieldInfo();
popUpInfo.customPopUpFieldInfos = pCustomFieldInfos;
用来获取配置文件xml的值,赋值在pCustomFieldInfo
(6)parseRestPopUpConfig函数
(7) setPopUpRendererOnLayer函数
备注:
GIS技术交流QQ群:432512093
GIS论坛:http://arcgis.c.ev123.com/vip_arcgis.html