POST
|
i had miss same things,that resize not fire on my ext.window contains,i solved add listener ext.windows's event resize,add map.resize() and map.reposition(),thus proplem is solved. i think u do is also to add event listen on your ContentPane. you can see my do on site:http://www.tree360.cn/2013/06/1361.html
... View more
06-07-2013
12:10 AM
|
0
|
0
|
182
|
POST
|
Error: ?????????????? (null): Unable to complete operation. ...],g=this.graphics;while(g.length>0){this.remove(g[0]);}if(!_771){this.onGraphics... [ATTACH=CONFIG]20207[/ATTACH] my page is code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title>Simple Map</title> <link rel="stylesheet" type="text/css" href="http://127.0.0.1/arcgis_js_api/library/3.2/jsapi/js/dojo/dijit/themes/tundra/tundra.css"> <script type="text/javascript" src="http://127.0.0.1/arcgis_js_api/library/3.2/jsapi"></script> <style> html,body{height:100%;width:100%;margin:0;padding: 0;overflow:hidden;} </style> <script type="text/javascript"> dojo.require("esri.map"); dojo.require("esri.layers.FeatureLayer"); function init() { var myMap = new esri.Map("mapDiv"); //note that if you do not have public Internet access then you will need to point this url to your own locally accessible cached service. var myTiledMapServiceLayer = new esri.layers.ArcGISTiledMapServiceLayer("http://127.0.0.1/ArcGIS/rest/services/hseds2012/MapServer"); myMap.addLayer(myTiledMapServiceLayer); var featureLayer = new esri.layers.FeatureLayer("http://127.0.0.1/ArcGIS/rest/services/sde/FeatureServer/0", { outFields: ["*"], mode: esri.layers.FeatureLayer.MODE_SNAPSHOT }); myMap.addLayer(featureLayer); } dojo.addOnLoad(init); </script> </head> <body class="tundra"> <div id="mapDiv" style="width:900px; height:600px; border:1px solid #000;"></div> </body> </html> i found when add featureLayer with firefox ,open this errors.
... View more
12-26-2012
08:27 PM
|
0
|
2
|
565
|
POST
|
I Get the ArcGIS API for JavaScript from ArcGIS API for JavaScript download page and Install local and replace myServer ,do the same as 2.2 local api set and documents ,but when load js,call errors : Could not load class 'dijit.Dialog [??????????????] if(!dojo._hasResource["dijit._base.man...h","tr","xx","zh","zh-cn","zh-tw"]);
... View more
07-21-2011
06:11 PM
|
0
|
0
|
464
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|