´´½¨Ò»¸öMap·þÎñ²¢ÔÚFlexÖе÷ÓÃ
Ò»¡¢ ½«±£´æmxdµØͼÎĵµµÄÎļþ¼ÐÉèΪ¹²Ïí£¬²¢¸øSOC,SOM,MANAGER£¬¹ÜÀíÔ±ÕË»§ÊÚËùÓÐȨÏÞ¡£
¶þ¡¢ ÔÚArcCatalogÖУ¬µã»÷connector to folder£¬½«ÉÏÃæµÄĿ¼Ìí¼Óµ½CatalogÖС£
Èý¡¢ ÔÚÄ㽨Á¢µÄGIS ServerÉÏÓÒ¼ü£¬Ð½¨Ò»¸ö·þÎñ¡£
1¡¢ ÓÒ¼üAdd New Service£¬Ìîдһ¸ö·þÎñÃû³Æ£¬Next¡£
2¡¢ ÔÚMapDocumentÖУ¬ÅäÖÃÄãµÄµØͼÎĵµ£¬Â·¾¶ÒÔÄãÔÚµÚ¶þ²½Ìí¼ÓµÄfolderΪ׼¡£±ÈÈ磺\\ YourMachineName \mxds\****.mxd£»²¢Ñ¡ÔñÄãµÄCacheĿ¼£¬Next¡£
3¡¢ Ñ¡ÔñWMS¸´Ñ¡¿ò£¬Next¡£
4¡¢ һ·Next£¬µ½Finish¡£
ËÄ¡¢ ´Ëʱ£¬µØͼ·þÎñ·¢²¼³É¹¦£¬ÓÒ¼üServices Properties ,ÔÚCaching±êÇ©ÄÚ£¬¿ÉÑ¡Ôñ¶¯Ì¬»òÕßÇÐƬ·½Ê½µÄ·þÎñ¡£Ñ¡ÔñÇÐƬ·½Ê½Ê±£¬¾Í¿ÉÒÔ¶¨ÒåÇÐƬµÄ¼¶±ðÒÔ¼°±ÈÀý³ßµÈµÈ¡£¾ßÌå²Ù×÷£¬×Ô¼ºÃþË÷ÏÂ~~
Îå¡¢ ¿ªÊ¼>ËùÓгÌÐò>ArcGIS>ArcGIS Server for the Java Platform>ArcGIS Services Directory¡£´ò¿ªRest¹ÜÀíĿ¼¡£Èô¿´²»µ½Äã¸Õ¸Õ·¢²¼µÄ·þÎñ¡£¿ÉÒÔ·ÃÎÊÕâ¸öĿ¼£ºhttp:// YourMachineName:8399/arcgis/rest/admin¡£ Óû§ÃûºÍÃÜÂëºÍÄãµÇ½managerµÄÏàͬ¡£½øÈëºó£¬É¾³ýCache¡£ÖØзÃÎÊArcGIS Services Directory£¬¾Í¿ÉÒÔ¿´µ½Äã·¢²¼µÄ·þÎñÁË¡£µã»÷Äã·¢²¼µÄ·þÎñ£¬¿ÉÒÔ¿´µ½µØͼ·þÎñµÄÏà¹ØÐÅÏ¢¡£´Ëʱ£¬½«µØÖ·À¸µÄÄÚÈݸ´ÖÆ£¬Õâ¸öµØÖ·¾ÍÊÇÄãµØͼ·þÎñµ÷ÓõĵØÖ·¡£
PS£ºÈôArcGIS Services DirectoryÎÞ·¨´ò¿ª£¬½«ÄãµÄGIS Server Post InstallÖØÐÂÔËÐÐһϼ´¿É¡£
Áù¡¢ ´ò¿ªAdobe Flex Builder 3¡£NewÒ»¸ö¹¤³Ì¡£½«ÄãÏÂÔصÄArcGIS_API_for_FlexÖеÄagslib-1.3.swc¸´ÖƵ½¹¤³ÌµÄlibsĿ¼Ï¡£
Æß¡¢ ´Ëʱ£¬ÄãµÄ¹¤³ÌµÄsrcĿ¼Ï»áÓÐÒ»¸öÓëÄ㹤³ÌÃûͬÃûµÄmxmlÎļþ£¬´ò¿ªËü¡£ÔÚËûµÄxmlnsÍ·ÐÅÏ¢ºóÃæ×·¼ÓÈçÏ£ºxmlns:esri=http://www.esri.com/2008/ags¡£²¢ÔÚ<mx:Application></mx:Application>ÄÚÌí¼ÓÈçÏÂÄÚÈÝ£º
<esri:Map x="0" width="100%" level="1" height="100%">
<esri:ArcGISDynamicMapServiceLayer
url=”http://YourMachineName:8399/arcgis/rest/services/myUSA/MapServer”/>
</esri:Map>
urlºóµÄµØÖ·¾ÍдÄãÔÚµÚÎå²½¸´ÖƵĵØÖ·¡£
°Ë¡¢ &
Ïà¹ØÎĵµ£º
http://blog.csdn.net/shuiying/archive/2009/08/19/4459419.aspx ØâÓÚ
DELPHI C#´«µÝºÜ¼òµ¥ Õâ¸öÔõôÔõôÂé·³ÄØ
FlexÖд°Ìå²ÎÊý´«µÝ·½·¨
ÊÕ²Ø
document.body.oncopy = func ......
flex ºÍjavascript»¥Ïàµ÷Óá£
Ò»¡¢flex µ÷ÓÃjavascript
Ö»ÐèʹÓþ²Ì¬µÄExternalInterface.call¾Í¿ÉÒÔÁË¡£
call ·½·¨ÖÁÉÙÒªÇóÒ»¸ö²ÎÊý£¬¾ÍËùµ÷ÓöÊýµÄÃû³Æ¡£
Ò²¿ÉÒÔ´«µÝ²ÎÊý¡£
È磺
ExternalInterface.call("alert","hello");
"hello"¾ÍÊÇ×÷Ϊalertµ ......
mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:cmp="com.render.*"
height="100%" width="100%" paddingTop="0" paddingBottom="0" paddingLeft="0" paddingRight="0">
<cmp:AutoSizeTree
&n ......
1.µ¯³öд°¿Ú
Flexͨ¹ýPopUpManagerÀàÀ´ÊµÏÖµ¯³öд°¿Ú£º
ÏÈÉèÖúÃÒªµ¯³ö´°¿ÚµÄÒ³Ã棬ȻºóÔÚÖ÷´°¿ÚÖÐÏÈnew³öµ¯³ö´°¿ÚµÄ¶ÔÏó£¬È»ºó¿ÉÒÔ¶Ôµ¯³ö´°¿ÚµÄÊôÐÔ½øÐÐ
¸³Öµ£¬
var genggai : GengGaiWindow = new GengGaiWindow();
genggai.logId = adg.selectedI ......
1.ÔÚ<Object>ºÍ<embed>ÖÐÉèÖÃflashVars²ÎÊý
£¬ÀýÈ磺
<object
id=’mySwf’ classid=’clsid:D27CDB6E-AE6D-11cf-96B8-444553540000′
codebase=’http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab’
height=’100%’ width=’10 ......