|
POST
|
I don't think there is a way to see it besides polygon. How are your shapes created? Maybe in your creation you could add an attribute that defines what kind of shape it is and you could later pull that?
... View more
09-18-2014
10:37 AM
|
0
|
0
|
3367
|
|
POST
|
Hey everybody! I was able to successfully use the undo manager in my graphics application, by following this example Graphics with undo redo | ArcGIS API for JavaScript It works great when I just create graphics and delete them with the undo button. Now I ran into the following problem. In my application you can right-click a graphic and then delete it. This throws off my undo / redo button, since it only works if the "deletion" goes linear How would I handle a case like this? I was playing with the undoManager.remove() method by also removing the specific graphic from the operation. But then I didn't know what to do if I want to get it back. Thanks! Tim
... View more
09-18-2014
06:20 AM
|
0
|
7
|
3610
|
|
POST
|
Thanks Paul. So that means I would have to number each new Graphic? I was thinking maybe the graphics layer assigns each graphic that it contains a number. Tim
... View more
09-17-2014
12:54 PM
|
0
|
4
|
2248
|
|
POST
|
Hey everybody, I was wondering if there is a way to retrieve the position of a particular graphic within the map.graphics layer. Lets say I use the draw tool and add 3 arrows to my map. The first arrow I created is number 1, the second one is number 2 and the third is number 3. Depending over which of the 3 arrows I hover I would like to know which number it is within the map.graphics layer. Is this possible? Thanks, Tim
... View more
09-17-2014
11:25 AM
|
0
|
7
|
2861
|
|
POST
|
You need to add this: map.on("mouse-over", windowPop); Make sure you use version 3.10, because map.setInfoWindowOnClick was added with the latest update. Tim
... View more
09-17-2014
09:37 AM
|
0
|
3
|
2351
|
|
POST
|
In my example you can also click on the graphic and the infowindow will show, you don't have to click the button.
... View more
09-17-2014
09:06 AM
|
1
|
1
|
1409
|
|
POST
|
Richard, All the mouse-over method does is check if the meassurement tool is active when you hover over the map. If any of the tools are active then it turns off the infowindow ( map.setInfoWindowOnClick(false); .. Once you are done measuring it turns it back on. Maybe your issue is that your measurement widget is not called measurement? Can you post all of your code? Tim
... View more
09-17-2014
09:04 AM
|
0
|
5
|
2351
|
|
POST
|
Darin, maybe this example of a pop-up for a graphic can help you Button Popup 1 - JSFiddle Tim
... View more
09-17-2014
08:41 AM
|
2
|
3
|
1409
|
|
POST
|
Richard, you could use this code to turn off identify while you are measuring: map.on("mouse-over", windowPop); function windowPop(){ if (measurement.area.checked || measurement.distance.checked || measurement.location.checked){ map.setInfoWindowOnClick(false); } else { map.setInfoWindowOnClick(true); } } measurement.on("measure-end", function (){ map.setInfoWindowOnClick(true); }); Hope this helps! Tim
... View more
09-17-2014
08:12 AM
|
0
|
7
|
2351
|
|
POST
|
Do they have unique ID's that you could use to join them? The only thing you could do is a spatial join ArcGIS Desktop and fix wherever it didn't join right.
... View more
09-16-2014
05:27 AM
|
0
|
1
|
2223
|
|
POST
|
Saloni, in your code there is an "r" missing here: http://services1.arcgis.com/hVMNhMnY75fwfIFy/ArcGIS/rest/services/NursingFacilities/FeatureServe use this link instead http://services1.arcgis.com/hVMNhMnY75fwfIFy/ArcGIS/rest/services/NursingFacilities/FeatureServer let me know if this is the issue.
... View more
09-15-2014
12:34 PM
|
0
|
1
|
2372
|
| 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
|