|
POST
|
The SDK download isn't quite ready but should be available sometime next week. We'll make an announcement on the forum once it's available. You can find older versions of the documentation in the download. Kelly OK thank you. As for the documentation, I think alot of us are still hoping for a "dojo api" style documentation where you can choose the version From a pulldown.
... View more
03-28-2012
08:13 AM
|
0
|
0
|
644
|
|
POST
|
Just wondering when 2.8 will be available for local download. Also, are we ever going to get to a stage where we can choose the API version for the online documentation? it is near impossible to stay instantly current and very frustrating not to be able to view the documentation from prior versions of the API.
... View more
03-28-2012
07:33 AM
|
0
|
3
|
1152
|
|
POST
|
Remember this is not a supported feature, just something one incredible user managed to hobble together. There is a delay because of the way the calls are made. It is not an error or bug, just the only way he could make it work.
... View more
03-28-2012
04:53 AM
|
0
|
0
|
624
|
|
POST
|
My client wants a Geospatial web application in which they need a facility to upload their shape file and view the same on top of map. So uploading the shapefile in ArcGIS.com will not work in my case. So please advise me how I can create the same functionality of ArcGIS.com using ArcGIS api for javascript. As far as I know this is not possible. If it were, you would not need to purchase ArcGIS Server licenses.
... View more
03-26-2012
07:22 AM
|
0
|
0
|
3151
|
|
POST
|
I actually would approach this differently and does not require using the database. I would use a cookie. All you have to do is 1. Listen to events onGraphicAdd ,onGraphicRemove, on Dbl Click (for editing) of the GraphicsLayer 2. On event, add or remove a cookie for the graphic i.e. dojo.cookie (graphic:1, graphic.toJson(), 1000) 3. You may also store a cookie with the number of graphics 4. On application load, just read and add the graphics back in.
... View more
03-23-2012
07:06 AM
|
0
|
0
|
2504
|
|
POST
|
If x and y are defined earlier, you either need to checkus (x.y) and pass them to the function, or call dojo.hitch (this, "checkus") to keep within scope.
... View more
03-21-2012
10:47 AM
|
0
|
0
|
1252
|
|
POST
|
Hi Jeff, thanks for your response. That seems like it would cause the same result I am seeing. However, I am using SNAPSHOT mode. I tried using .setAutoGeneralize(false) on my FeatureLayer before applying the setDefinitionExpression but it didn't make any difference. Yes snapshot mode kinda rules that out. Can you try two things? 1. Identify in the mxd. Make sure its really there. 2. Run a geometry query on the rest service . If both of those return the multiple overlapping results, you may have found a bug in the feature layer. You could also try switching to on_demand mode and disabling autogeneralize also just for troubleshooting.
... View more
03-19-2012
11:32 AM
|
0
|
0
|
2589
|
|
POST
|
Are you using on_demand mode for your feature layer? if so auto-generalize is true by default. I wonder if this is interfering with your selection. Try setting auto-generalize to false. I am using the selectFeatures function to launch a popup when clicking on a feature. Because of the nature of my data, many of the features (street segments) have coincident geometry (they are stacked on top of each other). When I click on one of these segments that I know has multiple coincident features, the selectFeatures function only returns one feature (assuming the "top" one). If the features are adjacent (within my 10 pixel click buffer) but not coincident, it returns multiple features. How can I have the selectFeatures return all features at that location, not just the one?
dojo.connect(map, "onClick", function (evt) {
var query = new esri.tasks.Query();
query.geometry = pointToExtent(map, evt.mapPoint, 10); //buffers click point by number of pixels(10)
var deferred = featureLayerSeg.selectFeatures(query, esri.layers.FeatureLayer.SELECTION_NEW);
deferred.addCallback(function (features) {
console.log(features.length); //this returns 1 if the features are stacked on top of each other
});
}
PS- I don't want to use IdentifyTask to a map service because these feature layers have already been filtered by the user based on search parameters.
... View more
03-19-2012
10:43 AM
|
0
|
0
|
2589
|
|
POST
|
Yes if we use secure services, the entire app is accessed over https. So for now I am just checking the protocol for https. If it it is i load the serverinfos. Seems to work. Would still be nice to have an "onSuccessfulIdentity" type event to listen for. I am running into more and more circumstances where I need to fire code if a login is successful, and different code if login fails. Thanks for the help getting this up and running.
... View more
03-13-2012
09:59 AM
|
0
|
0
|
1705
|
|
POST
|
Ok i think i got it but it is a bit kludgy. It seems as though it works as long as there is a secure service loaded somewhere. If not, it fails Since i load my layers based on config parameters (in the url) there isnt always a secure service. I just had to trap to make sure that dojo.ready function is only called if the site is being accessed securely, seems to work ok.
... View more
03-13-2012
06:04 AM
|
0
|
0
|
1705
|
|
POST
|
Are you running the code posted previously at the top of your function that dojo.ready calls? not using dojo.ready, but i found it. I was using the old dojo.addonload (now deprecated) command. It works (meaning it doesnt through security errors) however it breaks other parts of my application, specifically when i load layers that are NOT https/token based.
... View more
03-13-2012
05:46 AM
|
0
|
0
|
1705
|
|
POST
|
Will ArcReader allow printing of large scale maps such as C, D and E size plots? Yes they need to query, navigate etc. It seems printing is very limited\restricted outside the ArcGIS Desktop world. You should be able to print, yes, but i am not ArcReader Expert. Yes if Printing is your focus, the Desktop environment is the most appropriate solution.
... View more
03-12-2012
11:52 AM
|
0
|
0
|
808
|
|
POST
|
AS of now, if you main focus is printing, the web is not the correct venue. I would suggest PMF files and ArcReader. Some more info would be helpful though. Does the user need to edit? Navigate? Query? Markup? Print to paper? PDF?
... View more
03-12-2012
11:45 AM
|
0
|
0
|
808
|
|
POST
|
well rats. I totally forgot about this issue, deployed today updating to 2.7 and broke my site. Switching the api back to 2.5 fixes everything, so it is definately the above issue. I just can't figure out where to set the serverinfo. If i set it too early (when loading layers) i get a esri.id not defined or serverInfo is not a constructor. If i set it too late, i get tokenservice not defined. And I can't seem to find the sweet spot.
... View more
03-12-2012
11:17 AM
|
0
|
0
|
2055
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-22-2014 08:35 AM | |
| 1 | 05-02-2012 04:56 AM | |
| 1 | 10-29-2021 07:40 AM | |
| 1 | 10-28-2021 05:26 AM | |
| 1 | 07-17-2012 08:48 AM |
| Online Status |
Offline
|
| Date Last Visited |
03-01-2022
02:00 PM
|