|
POST
|
There are quite a few free open source. have you ever looked at jstree? it is simple to plug in dealing with JSON data. It will look at this: You can customize easily by change font, icons etc.
... View more
06-16-2017
07:43 AM
|
0
|
0
|
761
|
|
POST
|
I had situation what i have to control my map display with a certain area (D.C for example). my approach is watch the view's extend against your restricted extent ( in API 3.1 it will be map's extent-change event). if the new extent is out, move view (or map in 3.x) back to its previous center. Let me know...
... View more
06-15-2017
12:17 PM
|
0
|
0
|
1228
|
|
DOC
|
Luckily we can still display ESRI mapservices or layers on google map and use street view. The Reality is that for certain audience, especially the public, Google map is just more desirable even though it could not provide more rich functionalists as ESRI map.
... View more
06-14-2017
09:54 AM
|
0
|
0
|
15015
|
|
DOC
|
strange enough, if you get a developer key it will work on intranet; if you purchased a key, that key won't work on intranet (i guess that is because google cannot track your usage. As long as you put your key under <script>, i don't think, there is any limit as long as you pay services. Here is an example: Live Train Map , it used used google maps replace the esri base map. It has a streetview integrated into the app(using Jquery draggable and panorama's position_changed and visible_changed events along with ESRI JS map).
... View more
06-13-2017
01:02 PM
|
0
|
0
|
3939
|
|
POST
|
If you query a polygon layer from a map service in json format and study it, you will see geometry structure should something look like the following: "geometry": { "rings": [ [ [ -8586615.6500000004, 4692851.120099999 ], [ -8586603.4973000009, 4692853.0230000019 ], [ -8586586.5147999991, 4692856.2589000016 ], [ -8586564.2438999992, 4692860.3178000003 ], [ -8586538.3121000007, 4692865.0446000025 ], [ -8586536.0107000005, 4692853.302199997 ], [ -8586544.5018000007, 4692851.5055999979 ], [ -8586578.3147999998, 4692845.3913000003 ], [ -8586591.8905999996, 4692842.6696999967 ], [ -8586613.5514000002, 4692838.9178000018 ], [ -8586615.6500000004, 4692851.120099999 ] ] ] }...
... View more
06-13-2017
11:23 AM
|
0
|
1
|
3631
|
|
POST
|
please look at the json format of your rings: instead of rings: [ [750916.6634999937,856041.7037500741], [757750.010500021,856291.7042500751], [758416.6785000238,852375.0297500595], [751666.6649999968,851791.6952500571], [750916.6634999937,856041.7037500741] ] it should be rings: [ [ [750916.6634999937,856041.7037500741], [757750.010500021,856291.7042500751], [758416.6785000238,852375.0297500595], [751666.6649999968,851791.6952500571], [750916.6634999937,856041.7037500741] ] ] rings are an array itself, each ring have four points. the points should be in rings[0]
... View more
06-13-2017
10:58 AM
|
0
|
2
|
3631
|
|
POST
|
put your putFeature.. function in your .require block will do the trick.
... View more
06-12-2017
11:52 AM
|
1
|
1
|
2562
|
|
POST
|
i would test if the graphic is drawn by the follow queryTask.execute(query).then(function(results) { var pPt = results.features[0]; putFeaturePointOnMap(pPt.geometry); //I've also tried just passing in pPt view.center=pPt.geometry; //view.scale=4000; //view.goTo(pPt); });
... View more
06-12-2017
11:13 AM
|
0
|
0
|
2562
|
|
POST
|
i could be that your query service has different spatial reference. so the search result doesn't match with the view in terms of spatial reference. try add one more statements on your code like this query.outSpatialReference=view.outSpatialReference;
... View more
06-12-2017
10:10 AM
|
1
|
0
|
2562
|
|
POST
|
I think ESRI should provide the property or function to do just that. But it is true that you can easily sort the search widget's suggestions so it will display in order on suggestion menu. Here is how i would do it: searchWidget.on("suggest-complete", function (e) { if (searchWidget.suggestions != null) { searchWidget.suggestions[0].results.sort(suggestionsCompare); } }); function suggestionsCompare(a, b) { if (a.text < b.text) return -1; if (a.text > b.text) return 1; return 0; // equal }
... View more
06-12-2017
09:32 AM
|
1
|
1
|
1845
|
|
POST
|
Most likely it is the issue of the JSON format of the feature collection you try to push to the featurelayer. Usually the format of feature collection includes featureSet and layerdefinition. You can make a query on one of the service(through the rest services directories on json format and see what all what the format really looks like. I have done creating a polyline featurelayer on feature collection and I knew that was where my problems.
... View more
06-08-2017
11:08 AM
|
1
|
1
|
3091
|
|
POST
|
Are you talking about ImageLayer in JS API4.x or Runtime SDK?
... View more
06-07-2017
06:50 AM
|
0
|
1
|
992
|
|
POST
|
since your search widget id is "searchWidget", your search input box id should be searchWidget_input. you could set this input box's placeholder property after the view is load like the following: view.then(function () { document.getElementById("searchWidget_input").placeholder = "Search Location"; }); btw, allPlaceholder is used when you have mulitple address locator.
... View more
06-02-2017
07:37 AM
|
1
|
1
|
1822
|
|
POST
|
I would look into 'esri/geometry/geometryEngine' moudle, it has a lots of methods that can achieve your goals.
... View more
05-30-2017
08:01 AM
|
1
|
0
|
1926
|
|
POST
|
yes, using ArcGISSublayer and one of its methods setVisible(boolean isVisible)
... View more
05-30-2017
07:02 AM
|
0
|
0
|
1421
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 04-11-2011 12:16 PM | |
| 1 | 05-25-2017 08:26 AM | |
| 1 | 06-02-2017 07:37 AM | |
| 1 | 06-28-2011 07:02 AM | |
| 1 | 06-12-2017 10:10 AM |
| Online Status |
Offline
|
| Date Last Visited |
10-01-2024
09:57 PM
|