|
POST
|
What happens if you leave app. off. just have it as citizenRequestLayer.on?
... View more
04-28-2015
01:02 PM
|
0
|
3
|
3075
|
|
POST
|
You can use the onclick event of your feature layer to get any attribute you want: yourlayer.on("click", function (evt){
theAttributeYouWant = evt.graphic.attributes.OBJECTID;
}); Tim
... View more
04-28-2015
12:43 PM
|
2
|
8
|
3075
|
|
POST
|
Sadly the javascript api only returns the following attributes.
... View more
04-28-2015
12:29 PM
|
1
|
0
|
3886
|
|
POST
|
Do you have a service published that includes this additional field, for testing purposes?
... View more
04-28-2015
11:46 AM
|
0
|
0
|
3886
|
|
POST
|
Or you can create a infotemplate for each layer if you want to make your popups look different. Custom info window | ArcGIS API for JavaScript
... View more
04-28-2015
10:36 AM
|
2
|
1
|
1155
|
|
POST
|
When you create the layer you can specify it in the outfield property layer = new FeatureLayer("//sampleserver6.arcgisonline.com/arcgis/rest/services/Census/MapServer/2", { "id": "Washington", "infoTemplate": popupTemplate, "mode": FeatureLayer.MODE_SNAPSHOT, "outFields": [OBJECTID], "opacity": 0.8 });
... View more
04-28-2015
10:34 AM
|
2
|
10
|
3075
|
|
POST
|
Janice, I think you will have to have a 2nd locator. You won't be able to make changes to your published geocoder via javascript. Tim
... View more
04-28-2015
10:01 AM
|
1
|
0
|
1954
|
|
POST
|
Brian, I had issues creating a custom widget for the WAB until I started looking at already existing widgets and deconstructed them. Sadly the WAB helpfile on custom widgets is very thin and without deeper javascript knowledge hard to understand. I know this doesn't help you in understanding it more, but I just wanted to let you know that you are not alone! Tim
... View more
04-27-2015
12:17 PM
|
3
|
0
|
2660
|
|
POST
|
John, I think the cluster layer is your issue. Look at this example, there is no zoom to either. ArcGIS API for JavaScript Sandbox Tim
... View more
04-27-2015
12:00 PM
|
0
|
0
|
1038
|
|
POST
|
John, when you use InfoTemplate | API Reference | ArcGIS API for JavaScript it should automatically be created. Tim
... View more
04-27-2015
11:38 AM
|
1
|
2
|
1038
|
|
POST
|
Roi, maybe you could use the extent-change event to check if the user is still in the extent you want them too and once they go outside your extent you can call a function that moves them back into the extent? Map | API Reference | ArcGIS API for JavaScript Tim
... View more
04-27-2015
06:35 AM
|
1
|
1
|
1066
|
|
POST
|
Don't forget to mark the post with the correct answer as correct
... View more
04-24-2015
06:11 AM
|
0
|
0
|
5676
|
|
POST
|
J B, do you want to use this in a dispatch mapping software? If so, does your software use ESRI mxd's? If that is the case you can just add the aerials to that MXD and put them all the way to the bottom in your Table of Contents. Tim
... View more
04-24-2015
05:30 AM
|
1
|
1
|
1953
|
|
DOC
|
Nicholas, if you don't want any infowindow, just delete every line that has infowindow in it. If it is just the resizing issue you can delete every line that has map.infoWindow.resize in it. Tim
... View more
04-23-2015
05:48 AM
|
0
|
0
|
24266
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 07-06-2015 06:58 AM | |
| 1 | 05-04-2016 07:27 AM | |
| 1 | 07-06-2017 08:12 AM | |
| 1 | 10-26-2015 11:51 AM | |
| 1 | 12-12-2014 12:05 PM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:23 AM
|