|
POST
|
Hi Gerald, Running on the same Chrome version the following sample Default Editor snapping is working. Use the button Ctrl to enable snapping during the editing session.
... View more
09-10-2017
11:02 PM
|
1
|
1
|
1233
|
|
POST
|
try to connect from ArcMap for editing for testing -create a new connection to arcgis server for Use Service purposes -add feature service on ArcMap -start a local copy for editing -digitize new line -sync with feature service
... View more
08-31-2017
12:42 AM
|
0
|
0
|
1499
|
|
POST
|
A sort sample code is here .................................... var featuresEN = []; //-------------create an array featuresEN.push(graphicEN); //-------------push here the input graphics var featureSetEN = new FeatureSet(); //-------------create a feature set featureSetEN.features = featuresEN; //--------------set the feature set feature equal with the graphic array var params = { "Input_Incident_Point": featureSetST, "Input_Rescue_Mean_Point": featureSetEN, //---------------set the feature set on the input parameters "Avoid_Depths_Below ": bathmeters }; gp.execute(params, drawShipPath, errorEX); .................................... I hope this help you.
... View more
07-05-2017
12:16 AM
|
0
|
0
|
1148
|
|
POST
|
An another approach is the following: 1. create the application with web app builder or a template and download it on your web server 2. deploy esri proxy page on your web server (GitHub - Esri/resource-proxy: Proxy files for DotNet, Java and PHP. ) 3. set the proxy page on the web app builder in order to unlock the secured online items (https://blogs.esri.com/esri/supportcenter/2015/10/28/setting-up-a-proxy-with-web-appbuilder-for-arcgis-developer-edition… ) 4. Lock the Web App builder with windows authentication and share this app to those users you want. by this way you have the online and arcgis server content secured and unlimited end users.
... View more
07-03-2017
11:37 PM
|
2
|
1
|
864
|
|
IDEA
|
I would like to see the ability to add a python script as a processor on GeoEvent Processor.
... View more
06-21-2017
11:42 PM
|
36
|
10
|
5663
|
|
POST
|
working with Graphic Layer the common way you are working is to add an empty Graphic Layer on the map and latter add the graphics on it. you are creating new Graphic Layer in case the graphics you want to store belong on different layer group. for example you can have a Graphic Layer to store the results from a query, and an another to store the results from a geoprocessing tool. in your case all textsymbol graphics belong on the same layer. I hope this helps you.
... View more
06-21-2017
12:50 AM
|
1
|
0
|
2969
|
|
POST
|
also see this sample here Edit fiddle - JSFiddle you will see that there is no problem to draw 1000 text symbols.
... View more
06-20-2017
02:00 AM
|
1
|
2
|
2969
|
|
POST
|
try this code ....... <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no"/> <title>Simple Map</title> <link rel="stylesheet" href="https://js.arcgis.com/3.20/esri/css/esri.css"> <style> html, body, #map { height: 100%; margin: 0; padding: 0; } </style> <script src="https://js.arcgis.com/3.20/"></script> <script> var map; require(["dojo/dom", "dojo/dom-attr", "dojo/_base/array", "esri/Color", "dojo/number", "dojo/parser", "dijit/registry", "esri/config","esri/map", "esri/geometry/Point","esri/layers/GraphicsLayer","esri/symbols/TextSymbol","esri/graphic","esri/SpatialReference","esri/Color", "esri/symbols/Font", "dojo/parser","dojo/domReady!"], function(dom, domAttr, array, Color, number, parser, registry, esriConfig,Map,Point,GraphicsLayer,TextSymbol,Graphic,SpatialReference,Color,Font) { parser.parse(); map = new Map("map", { basemap: "gray", //For full list of pre-defined basemaps, navigate to http://arcg.is/1JVo6Wd center: [23, 39], // longitude, latitude zoom: 6 }); map.on("load", initOperationalLayer); function initOperationalLayer(){ var cLayer = new GraphicsLayer(); map.addLayer(cLayer); for(var i=0; i <= 1000;i++) { var font = new Font("22px", Font.STYLE_NORMAL, Font.VARIANT_NORMAL, Font.WEIGHT_BOLDER); var textSymbol = new TextSymbol("n"+i,font, new Color([0, 0, 0])); var lon=23+(i/100); var lat=39+(i/100); var graphic = new Graphic(new Point(lon,lat, new SpatialReference({wkid: 4326})), textSymbol); cLayer.add(graphic); } } }); </script> </head> <body> <div id="map"></div> </body> </html>
... View more
06-20-2017
01:58 AM
|
1
|
0
|
2969
|
|
POST
|
What kind of graphics you have? geometry type? from where those graphics are coming? example query on a service and draw the results.....?
... View more
06-20-2017
12:01 AM
|
0
|
3
|
2969
|
|
POST
|
the only way i can think is to use relationship between feature class and child table. spatial view can apply only for viewing.
... View more
05-15-2017
05:01 AM
|
0
|
0
|
1341
|
|
POST
|
maybe you can maintain the shape on the parent feature class and have the child as simple table. then share the geometry between parent and child creating a spatial view on the database.
... View more
05-09-2017
11:40 PM
|
0
|
2
|
1341
|
|
POST
|
On the function test try to pass on method goTo the geometry from the selected graphic function test(x){ //alert(searchResults .feature.geometry); //query features in tree layer based on objid, this will return a graphic view.goTo(searchResults .feature.geometry) } also when you construct the results table add on click the array number in order later (on test function) access the item from the searchResults array.
... View more
05-09-2017
11:31 PM
|
2
|
0
|
1002
|
|
POST
|
move the following code at line 115 var graphic = new Graphic({ getAttribute: "objectid", popupTemplate:template }); and add the var at the beginning see below
... View more
05-08-2017
11:57 PM
|
0
|
2
|
1002
|
| 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
|