|
POST
|
a dynamic map service layer will only retrieve map tiles from the server, so attributes wouldn't be available on the client side for features. a feature layer essentially handles the querying and population of a graphics layer for you. If you can restrict the display of the feature layer until the map is zoomed in you could work with it "on demand", otherwise you might think about loading the same data as a dynamicMapService and working with the featureLayer in "selection" mode.
... View more
11-20-2012
06:42 AM
|
0
|
0
|
1673
|
|
POST
|
can you explain the reason for your hesitance to avoid querying the client side features?
... View more
11-16-2012
09:40 AM
|
0
|
0
|
1109
|
|
POST
|
the initialExtent object you are creating has invalid x and y values (as i said before, the x's need to be between -180 and 180 and the y's need to be between -90 and 90 when working with any geographic coordinate system). please try the following to see if you can see both layers? //var initialExtent = new esri.geometry.Extent(2030.12314635761, 15574.1782288986, 57647.2626848096,50684.9208499972,
//new esri.SpatialReference({"wkid":4326}));
//map = new esri.Map("map", {extent: initialExtent} );
//create the map without setting the extent property. this allows the initial extent to be determined by the first layer loaded.
//map = new esri.Map("map");
... View more
11-16-2012
08:40 AM
|
0
|
0
|
1181
|
|
POST
|
in your export call, it is correct that the bboxSR and imageSR are listed as 4326 (to match your cached basemap), but the values being passed for the bounding box are not valid for WGS84. (ie. they need to be between -180 and 180 for x and between -90 and 90 for y.) come to think of it, since WKID:4757 is another geographic coordinate system, the bounding box values aren't valid for that projection either. i'm not sure whats going on, but if i had to guess i would say that something is wrong with one of your published services. i would start by substituting a different basemap and a different operational layer one at a time to see which one is more trustworthy. can you post the section of code where you construct the map and add the layers?
... View more
11-15-2012
06:49 AM
|
0
|
0
|
1181
|
|
POST
|
i have absolutely no experience with it, but i am under the impression that prior to ArcGIS Server 10.1, server side ArcObjects code was used by developers who needed to modify renderers in dynamicMapServices. perhaps the AO forum would be a more helpful resource...
... View more
11-14-2012
12:22 PM
|
0
|
0
|
737
|
|
POST
|
the ability to pass a request from the client and augment the renderer server side was added at ArcGIS Server 10.1 Map services allow clients to change layer appearance and behavior dynamically... http://resources.arcgis.com/en/help/main/10.1/#/What_s_new_in_ArcGIS_Server/016w00000036000000/ About dynamic layers http://resources.arcgis.com/en/help/main/10.1/00sq/00sq000000n1000000.htm
... View more
11-14-2012
12:16 PM
|
0
|
0
|
737
|
|
POST
|
im not sure exactly what you're trying to accomplish. but the intersect operation exposed by an ArcGIS Server geometry service provides an approach to compare geometries in a similar way to what you can do with AO on the desktop.
... View more
11-13-2012
07:26 AM
|
0
|
0
|
1521
|
|
POST
|
have you considered working with featureLayer.selectFeatures() instead of setting up a findTask?
... View more
11-12-2012
07:19 AM
|
0
|
0
|
913
|
|
POST
|
hi jack, a feature layer needs to have the index of a layer in a map service specified. check out the following article for more information. ie. the following is a valid FeatureLayer... http://services.arcgisonline.com/ArcGIS/rest/services/Demographics/USA_1990-2000_Population_Change/MapServer/4 while the url below is a reference to the map service itself (and would be a valid ArcGISDynamicMapServiceLayer http://services.arcgisonline.com/ArcGIS/rest/services/Demographics/USA_1990-2000_Population_Change/MapServer check out each link in the browser to see the Rest endpoint for each resource to compare and contrast what is returned.
... View more
11-12-2012
07:13 AM
|
0
|
0
|
548
|
|
POST
|
hi brad, it seems appropriate to me that if the application has trouble loading the layer (because the URL is not declared correctly), that the layer won't be added successfully and the onLayersAddResult event isn't going to be triggered. the reason for the hang is because your web browser is attempting to access a resource which it temporarily can't decide exists. what would be the reason for supplying a bad path?
... View more
11-12-2012
07:09 AM
|
0
|
0
|
459
|
|
POST
|
Hi Mohamad, welcome to the JavaScript forum. what dashboard are you referring to? what Esri samples are you referring to?
... View more
11-12-2012
07:04 AM
|
0
|
0
|
1116
|
|
POST
|
here is a link to the API reference for geometry utilities that do not rely on a geometry service. i don't have any relevant experience with using geometry services hosted by PostGIS, but i would assume that you might have a hard time using Esri JavaScript API method calls if you aren't using a geometry service hosted by ArcGIS Server. that being said, tasks.arcgisonline.com includes a geometry service that i believe is allowed to be referenced in production applications.
... View more
11-07-2012
11:39 AM
|
0
|
0
|
1122
|
|
POST
|
(in the browser) what exactly do you mean by this? are you saying the work needs to be done entirely clientside? if not, have you already seen the documentation related to the REST geometry service (which includes a union, intersect and difference operation)? our JavaScript API simplifies making calls to run these operations from a client web application, but you still have to make asynchronous calls to ArcGIS Server
... View more
11-07-2012
07:09 AM
|
0
|
0
|
1122
|
|
POST
|
i've never gone through the steps myself, but the approach you outlined is exactly what i would have suggested
... View more
11-07-2012
07:02 AM
|
0
|
0
|
496
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 04-16-2014 02:35 PM | |
| 1 | 03-15-2013 04:25 PM | |
| 1 | 06-01-2016 10:51 AM | |
| 1 | 12-28-2015 04:46 PM | |
| 1 | 12-28-2015 05:26 PM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:22 AM
|