|
POST
|
See here the supported versions Supported data—Collector for ArcGIS | ArcGIS
... View more
05-17-2016
05:34 AM
|
0
|
0
|
688
|
|
POST
|
See here: Supported data—Collector for ArcGIS | ArcGIS Offline data Some layers in your maps can be taken offline to allow users to collect data when they have no connectivity. Layers that support being taken offline are as follows: ArcGIS Server feature services (10.2.2 or later) If using related tables or restricted feature service capabilities, it requires ArcGIS 10.3 for Server or later Enterprise geodatabase 10.2 or later ArcGIS Server tiled map services (10.2.2 or later) Feature layers hosted on ArcGIS Online Feature layers hosted on Portal for ArcGIS Requires ArcGIS 10.2.2 for Server or later Enterprise geodatabase 10.2 or later Tiled map layer hosted on ArcGIS Online
... View more
05-17-2016
05:32 AM
|
0
|
0
|
392
|
|
POST
|
pop - up can be enabled to Dynamic and Feature Services. Try to use it because the selected coming from the infowindow map.infoWindow.getSelectedFeature();
... View more
05-16-2016
11:47 PM
|
0
|
0
|
1297
|
|
POST
|
may you can try to set again the arcgis server account from the tool server providing
... View more
05-16-2016
11:44 PM
|
0
|
0
|
1516
|
|
POST
|
Yes it is possible see here Track where collectors go—Collector for ArcGIS | ArcGIS
... View more
05-16-2016
06:43 AM
|
0
|
1
|
517
|
|
POST
|
sorry this is for 3.16 API. I just noticed you are asking for 4.0
... View more
05-16-2016
02:40 AM
|
0
|
0
|
1689
|
|
POST
|
first export the Json for your Web map requesting the json with the following url https://www.arcgis.com/sharing/content/items/4a4d0a1b5c1b4311839fd2c49e27d2b0/data?f=pjson create webmap parameter var webmap = {}; add webmap parameter item tag to host the map title webmap.item = { "title":"Map Title", "snippet": "web" }; add webmap parameter itemData tag to host the JSON data (here place the json downloaded from arcgis online) webmap.itemData = { "operationalLayers": [ { "url": "http://12.18.20.190:6080/arcgis/rest/services/toc/ms_a/MapServer", "id": "lvn9638", "visibility": false, "opacity": 1, "title": "layer name" }, { "url": "http://192.168.0.19:6080/arcgis/rest/services/toc/ms_a_x/MapServer", "id": "nvvf9234", "visibility": false, "opacity": 1, "title": "layer name" }, ........................... ........................... ], "baseMap": { "baseMapLayers": [ {"id":"World_Light_Gray_Base_1486","layerType":"ArcGISTiledMapServiceLayer","opacity":1,"visibility":true,"url":"http://services.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Light_Gray_Base/MapServer"}, {"id":"World_Light_Gray_Reference_4241","layerType":"ArcGISTiledMapServiceLayer","isReference":true,"opacity":1,"visibility":true,"url":"http://services.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Light_Gray_Reference/MapServer"} ], "title": "Light Gray" }, "version": "1.9.1", "modifyMapAllowed": true }; add the webmap parameter during the map creation from the createMap function mapDeferred = esri.arcgis.utils.createMap(webmap, "map", { mapOptions : { slider : true, nav : false, wrapAround180 : true, center: [23, 39], zoom: 1, lods: lods, logo: false, showAttribution: false }, ignorePopups : false, geometryServiceURL : app.geometryServ });
... View more
05-16-2016
02:33 AM
|
0
|
1
|
1689
|
|
POST
|
first add a button on the pop - up info in order to fire the creation statsLink = dojo.create("a", { "class": "action", "innerHTML": "<img id='popupVSinfo' style ='WIDTH: 20px; HEIGHT: 20px' title='Create New Feature' src='images/InfoToolArea.png' >", "href": "javascript:void(0);" }, dojo.query(".actionList", map.infoWindow.domNode)[0] ); assign a function on this button dojo.connect(statsLink, "onclick", CreateNewFeature); inside the function get the selected feature var graphic = map.infoWindow.getSelectedFeature(); and continue to apply edits on your feature service FeatureLayer | API Reference | ArcGIS API for JavaScript require([ "esri/layers/FeatureLayer", ... ], function(FeatureLayer, ... ) { var firePerimeterFL = new FeatureLayer( ... ); var targetGraphic = firePerimeterFL.getSelectedFeatures()[0].setGeometry(reshapedGeometry); firePerimeterFL.applyEdits(null, [targetGraphic], null); ... });
... View more
05-16-2016
02:21 AM
|
0
|
2
|
1297
|
|
POST
|
read this json file and loop through the features. var saved = dojo.fromJson(data ); esri/geometry/jsonUtils | API Reference | ArcGIS API for JavaScript for each feature create a graphic var graphic = new esri.Graphic(saved); final push this graphic on a Graphic Layer. GRAPHICLAYER.add(graphic);
... View more
05-16-2016
02:08 AM
|
0
|
1
|
1814
|
|
POST
|
Also the same for fill symbol require([ "esri/symbols/SimpleFillSymbol", "esri/symbols/SimpleLineSymbol", "esri/Color", ... ], function(SimpleFillSymbol, SimpleLineSymbol, Color, ... ) { var sfs = new SimpleFillSymbol(SimpleFillSymbol.STYLE_SOLID, new SimpleLineSymbol(SimpleLineSymbol.STYLE_DASHDOT, new Color([255,0,0]), 2),new Color([255,255,0,0.25]) ); ... });
... View more
05-16-2016
12:14 AM
|
1
|
0
|
1644
|
|
POST
|
on simple line symbol and simple fill symbol you can change the color by setting the Color parameter require([ "esri/symbols/SimpleLineSymbol", "esri/Color", ... ], function(SimpleLineSymbol, Color, ... ) { var sls = new SimpleLineSymbol( SimpleLineSymbol.STYLE_DASH, new Color([255,0,0]), 3 ); ... }); see the javascript help SimpleLineSymbol | API Reference | ArcGIS API for JavaScript
... View more
05-16-2016
12:03 AM
|
1
|
1
|
1644
|
|
POST
|
from your ArcMap open the mxd with the data from FGDB and publish the service on your Organization account select overwrite service on the next form and select the hosted service you want to overwrite by doing this the FGDB transferred again in order to recreate the hosted service. After then the new data will be available to AGOL.
... View more
05-13-2016
05:02 PM
|
1
|
5
|
2538
|
|
POST
|
Also if you want your Web Application by pass the security (e.g you have web viewers with out username/password) after securing arcgis server use proxy page. Using the proxy | Guide | ArcGIS API for JavaScript
... View more
05-13-2016
12:51 PM
|
0
|
0
|
644
|
|
POST
|
an another option is to create your basemap with 26916 WKID on your server. but because is difficult to find data for basemap it is better to follow Robert's suggestion. The behavior you describing happening because the first layer loaded on the map setting the application/ map spatial reference.
... View more
05-13-2016
12:39 PM
|
1
|
0
|
1354
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 04-05-2017 12:35 AM | |
| 1 | 02-15-2021 07:16 AM | |
| 1 | 02-15-2021 12:05 AM | |
| 1 | 02-15-2021 12:02 AM | |
| 2 | 12-21-2020 12:38 AM |
| Online Status |
Offline
|
| Date Last Visited |
06-20-2025
06:08 AM
|