|
POST
|
Joanne, this is a weird case and one would expect anything that is not seen in the map shouldn't be in the legend dijit. Tim
... View more
07-27-2015
07:45 AM
|
0
|
2
|
3425
|
|
POST
|
You can use something like this var allPoints = [];
var mp = new Multipoint();
arrayUtils.map(YourPointLayer.graphics, function(gra){
mp.addPoint(gra.geometry);
allPoints.push(gra);
});
mp.spatialReference = YourPointLayer.graphics[0].geometry.spatialReference;
var query = new Query();
query.geometry = mp;
YourPolygonLayer.selectFeatures(query);
... View more
07-27-2015
05:16 AM
|
1
|
0
|
641
|
|
POST
|
Does your console give you any errors? Can you also post your require and function, to see if you load the modules you need?
... View more
07-23-2015
05:52 AM
|
0
|
1
|
1345
|
|
POST
|
I think the only way to do it without the service is if your map spatial reference is in meters?
... View more
07-22-2015
07:00 AM
|
0
|
1
|
2772
|
|
POST
|
Joshua, check out this example: Geodesic buffering | ArcGIS API for JavaScript instead of kilometers use meters. For more information check out "unit" here: https://developers.arcgis.com/javascript/jsapi/bufferparameters-amd.html#unit Tim
... View more
07-22-2015
06:54 AM
|
1
|
3
|
2772
|
|
POST
|
Tony, here you go Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers Tim
... View more
07-21-2015
08:43 AM
|
1
|
1
|
3995
|
|
POST
|
Robert, you are right, the only thing the code does in the example is, identify which graphic you are hovering over and where the geometry is located. Both those things can run independent from the infowindow. Tim
... View more
07-21-2015
08:15 AM
|
0
|
0
|
3230
|
|
POST
|
You could always create two different GraphicsLayers. You are not restricted to just one GraphicsLayer. Create one graphicslayer that has the mouse-over for an infotemplate and then another for your context menu. GraphicsLayer | API Reference | ArcGIS API for JavaScript GraphicsLayer1.on("mouse-over", function(evt){ infotemplate code }); GraphicsLayer2.on("mouse-over", function(evt){ right-click code });
... View more
07-21-2015
08:04 AM
|
0
|
1
|
3230
|
|
POST
|
If you want to share it via an ftp, you could zip the geodatabase folder to reduce size.
... View more
07-21-2015
06:50 AM
|
1
|
1
|
950
|
|
POST
|
Lefteris, GraphicsLayer can listen to a multitude of events. Just look under Events here: GraphicsLayer | API Reference | ArcGIS API for JavaScript Just use GraphicsLayer.on("mouse-over", function(evt)) Once that function is over you can have another GraphicsLayer.on("click", function(evt)) In your case, you can still add the code you need for the right-click context on top of the infowindow. Tim
... View more
07-21-2015
05:16 AM
|
1
|
3
|
3230
|
|
POST
|
Thomas, look here and click on the plus next to Service "Credits by Capability" ArcGIS Online | Service Credits If you have your own geocoding service, you can run it in ArcGIS Online and not consume any geocoding credits. You get only charged if you use the ESRI geocoder. Tim
... View more
07-21-2015
05:11 AM
|
1
|
0
|
2916
|
|
POST
|
How would I use it in this particular case? I have a hard time understanding how it works and this example might clear it up.
... View more
07-20-2015
08:01 AM
|
0
|
2
|
2964
|
|
POST
|
Thanks Robert and Thejus, this was exactly it! When I use the commented out method, my selectedCity array is empty, even though I push each selection in it. While the for loop runs you can see the selectedCity filling up with each push, but once the for loop is done it is empty. Any idea why this happens?
... View more
07-20-2015
07:46 AM
|
0
|
4
|
2964
|
| 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
|