POST
|
GitHub - guzhongren/AGS-JS-API-Popup: 自定义基于AGS的弹出框,用于解决鼠标在graphic上点击或移动时候自动弹出popup或者自定义popup内容的特殊效果 ; if you neet to do something special, you can ref this
... View more
12-21-2017
10:24 PM
|
0
|
0
|
4628
|
POST
|
i solved,获取 ArcGIS 令牌—文档(10.3 和 10.3.1) | ArcGIS for Server
... View more
12-26-2015
10:10 PM
|
1
|
0
|
1102
|
POST
|
1、used proxy: <script> var params={ username:'arcgis', password:'arcgis', client:"referer", ip:"", referer:'http://'+window.location.host+'/', expiration:60, f:"pjson" }; $.ajax({ type:"post", url:"App/proxy/proxy.ashx?http://localhost:6080/arcgis/admin/generateToken", data:params, cache:true, dataType:"json", crossDomain: true, ContentType:'application/x-www-form-urlencoded', success:function(data){ console.log(data); document.cookie="token="+escape(data.token); }, error:function(){ console.log("error"); } }); </script> 2、jsonp: var params={ username:'arcgis', password:'arcgis', client:"referer", ip:"", referer:'http://'+window.location.host+'/', expiration:60, f:"pjson" }; $.get('http://localhost:6080/arcgis/admin/generateToken?callback=?',params, function(data){ console.log(data); },'jsonp') Console result: it has no token
... View more
12-26-2015
11:01 AM
|
0
|
1
|
1102
|
POST
|
<script> var params={ username:'arcgis', password:'arcgis', client:"referer", ip:"", referer:'http://'+window.location.host+'/', expiration:60, f:"pjson" }; $.ajax({ type:"post", url:"http://localhost:6080/arcgis/admin/generateToken", data:params, cache:true, dataType:"json", crossDomain: true, ContentType:'application/x-www-form-urlencoded', success:function(data){ console.log(data); document.cookie="token="+escape(data.token); }, error:function(){ console.log("error"); } }); </script> ------------------------------------------------------------------------------- above, this is my script to generate token, but in my broser,it's display , at the same times,i use it to generate token of Portal for ArcGIS is correct , can you help me ?
... View more
12-26-2015
10:49 AM
|
0
|
2
|
1102
|
POST
|
Mary, According to my experience, i think you give a wrong domain of a obj maybe, you can reference API Documentation - The Dojo Toolkit Version 1.10 dojo/_base/lang
... View more
07-29-2015
10:37 PM
|
0
|
1
|
859
|
POST
|
Sammer ,this link is a opensource site,you can look up it;hope to find something Documentation - Leaflet - a JavaScript library for interactive maps
... View more
07-29-2015
10:23 PM
|
0
|
0
|
915
|
POST
|
hi everyone! these are my source code <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <!--The viewport meta tag is used to improve the presentation and behavior of the samples on iOS devices--> <meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no"> <title>Add WMTS Layer</title> <link rel="stylesheet" href="http://js.arcgis.com/3.13/esri/css/esri.css"> <style> html, body { height: 100%; width: 100%; margin: 0; padding: 0; } #map{ padding: 0; } #citationInfo{ position:absolute; color:black; font-weight:bold; font-size:12pt; left:10px; bottom:10px; z-Index:999; } </style> <script src="http://js.arcgis.com/3.13/"></script> <script> var map; require([ "esri/map", "esri/layers/WMTSLayer", "esri/layers/WMTSLayerInfo", "esri/config", "dojo/domReady!" ], function( Map, WMTSLayer, WMTSLayerInfo, esriConfig ) { //设置代理 esriConfig.defaults.io.proxyUrl = "resource-proxy-1.0/Java/proxy.jsp"; esriConfig.defaults.io.alwaysUseProxy = true; //esriConfig.defaults.io.proxyUrl = "/proxy/"; map = new Map("map"); var layerInfo = new WMTSLayerInfo({ identifier: "test_MyMapService", tileMatrixSet: "EPSG:3857", format: "png" }); var options = { serviceMode: "KVP", layerInfo: layerInfo }; var wmtsLayer = new WMTSLayer("http://localhost:6080/arcgis/rest/services/test/MyMapService/MapServer/WMTS",options); map.addLayer(wmtsLayer); }); </script> </head> <body> <div id="map"> <div id="citationInfo"></div> </div> </body> </html> but in my broser,it appears this: this is my wmts service xml: hlep me ! Robert Scheitlin, GISP
... View more
05-23-2015
08:42 PM
|
0
|
1
|
4384
|
POST
|
Entech Engineering: why did you use webstrom? it is suppot the dojo, if you set the path of esri'sdk, it will be a strong intellisense IDE, if you will use webstrom ,i can teach you the use of webstrom
... View more
04-17-2015
02:44 AM
|
0
|
0
|
892
|
POST
|
Robert Scheitlin: copy that. I must change my widget in customing my widget,then the path will be success. thanks
... View more
04-16-2015
09:52 PM
|
0
|
0
|
1957
|
POST
|
Hey, in my arcgis-web-appbuilder-1.0,i can't find the "arcgis-web-appbuilder-1.0\server\apps\##\configs\AttributeTable\config_Attribute Table.json", and i searched in "arcgis-web-appbuilder-1.0" folder, can you send me the whole path. thanks
... View more
04-16-2015
06:20 PM
|
0
|
2
|
1957
|
POST
|
hey, you can't change the name of this,you can only change it in desktop before you publish! thanks
... View more
03-10-2015
04:04 AM
|
0
|
0
|
1955
|
Title | Kudos | Posted |
---|---|---|
1 | 12-26-2015 10:10 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|