|
POST
|
Lucas, I dont see why the attributes method wouldn't work. You can always open your developer tools in your browser (I use chrome), put a break after the click line and inspect the evt.graphic object and look where the attributes are. Tim
... View more
10-06-2014
10:07 AM
|
0
|
1
|
878
|
|
POST
|
Also make sure the i of Id is capitalized, since your error message comes back with lower case i : Uncaught TypeError: Cannot read property 'id' of undefined
... View more
10-06-2014
08:44 AM
|
0
|
4
|
3070
|
|
POST
|
Is it possible for you to post the whole code? Or the website of your app?
... View more
10-06-2014
08:43 AM
|
0
|
5
|
3070
|
|
POST
|
What if you try and use the following instead of getContent:
var str = evt.graphic.attributes.Id;
console.log(str);
Let me know if that works. or since it is an array you might have to use:
var str = evt.graphic.attributes[0];
console.log(str);
... View more
10-06-2014
08:26 AM
|
0
|
7
|
3070
|
|
POST
|
Lucas, try and replace
map.graphics.on("click", function()
with:
map.graphics.on("click", function(evt)
then the evt.graphic.getContent() should get the attributes of just that one graphic. Tim
... View more
10-06-2014
08:15 AM
|
0
|
9
|
3070
|
|
POST
|
No problem! I never thought about it this way either.
... View more
10-01-2014
12:34 PM
|
0
|
0
|
2591
|
|
POST
|
No problem! I had the same issue once and it was really annoying!
... View more
10-01-2014
12:21 PM
|
0
|
0
|
20539
|
|
POST
|
Did you try this? ArcGIS Help 10.1 The reference should be in whatever grid your feature service is in. Or you could use the Go to XY tool, which will place a point to your location which you could then use to drag your point to. ArcGIS Desktop
... View more
10-01-2014
12:19 PM
|
0
|
2
|
2591
|
|
POST
|
Richard, this should do it: http://www.arcgis.com/home/item.html?id=9b6280a6bfb0430f8d1ebc969276b109 Tim
... View more
10-01-2014
12:06 PM
|
0
|
4
|
2858
|
|
POST
|
Thomas, Those are added to the map as a graphic, you should be able to select them with the select elements arrow and delete them. Tim
... View more
10-01-2014
12:04 PM
|
4
|
4
|
20539
|
|
POST
|
Lars that is true, but I thought why not give it a try. All they can do would be to send me an e-mail telling me my request has been denied
... View more
10-01-2014
08:30 AM
|
0
|
1
|
1774
|
|
POST
|
Also check out this article: The abc’s of AMD | ArcGIS Blog This should help you in transitioning.
... View more
10-01-2014
07:59 AM
|
0
|
3
|
1684
|
|
POST
|
George, you can get rid of "dojo/ready" and ready. However you need to add "dijit/registry" after "esri/geometry/Extent"
... View more
10-01-2014
07:58 AM
|
0
|
0
|
1684
|
|
POST
|
Lars, thanks for the reply. Yes I was more interested in building my own widget and themes and it was the Developer edition I was applying to. Bummer I never heard back from them though. Tim
... View more
10-01-2014
07:55 AM
|
0
|
3
|
1774
|
|
POST
|
Hey everybody, I have applied for Web AppBuilder for ArcGIS Beta about 3-4 months ago, using my free developer account and apparently it is still under "review". Is there anybody I can contact about this or should I just wait until it is out? Tim
... View more
10-01-2014
06:58 AM
|
0
|
5
|
3281
|
| 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
|