|
POST
|
I think the performance degrades with the FeatureLayer included. I notice the effect when zoomed in close. Which browser and zoom level? The app works well for me when I'm zoomed in pretty close in Chrome. I tried simplifying the geometry of the data source for the FeatureLayer, but that didn't seem to help, or at least didn't solve the problem entirely. Maybe I need to simplify it further. You shouldn't need to simplify your features, the feature layer does this on the fly by default (for ONDEMAND mode, which you're using) relative to the map scale. More info on this in the "Feature Generalization" section here: http://help.arcgis.com/en/webapi/javascript/arcgis/jshelp/#best_practices_feature_layers
... View more
02-06-2013
12:25 PM
|
0
|
0
|
1384
|
|
POST
|
I would say that's the way to go. I'd be curious if anyone else around here has alternative ideas. Looking at your site, I think the method you're using works well. Are you seeing any issues with the current approach?
... View more
02-06-2013
07:01 AM
|
0
|
0
|
1384
|
|
POST
|
Hey Steve, We do have this in the docs, but it's documented on esri.tasks.FeatureSet as it's a property of the FeatureSet returned by a QueryTask. The doc itself for exceededTransferLimit has some minor formatting issues but the content is there. We'll get the formatting issues fixed.
... View more
02-06-2013
06:56 AM
|
0
|
0
|
1545
|
|
POST
|
On ArcGIS Server's admin side it's possible to set the maximum number of results which will be returned by a query - by default the value is 1,000 records. Can I detect that this limit has been reached when performing a query? Yes, if you're querying a 10.1 service as this was added at 10.1 (cmd or ctrl + f for "exceededTransferLimit" on the What's New in 10.1 ArcGIS Server page). The JS API passes the value of exceededTransferLimit returned by the server as a property on the result set returned by a query task. Here's an example: http://jsfiddle.net/MYQen/
... View more
02-05-2013
06:58 PM
|
0
|
0
|
1545
|
|
POST
|
For what it's worth*, I'd argue that the two sites have very different purposes - ALA is optimised for reading articles, whereas the Esri site needs to be aimed at providing information. But thanks for responding and making the recent changes, which are definitely making a difference. Thanks Steve. Just to clarify, I was saying our design decisions were influenced by those who write at ALA, not that we were directly inspired by http://alistapart.com/.
... View more
02-05-2013
06:07 AM
|
0
|
0
|
1638
|
|
POST
|
Developers and data managers may visit the site on a daily basis to find important data and information to help them get along with their latest project. They aren't so much interested in "Communities", as each project they do may actually be in an entirely different "Community"... such is developer work... they simply want the quickest access to API, Help, whitepapers, technical papers there is to solve urgent issues they have and find out how to do things. And in terms of "Communities", the only thing they are probably really interested in, is the Forum pages, to get direct help of peers... One example that could use improvement, is the link to the API (Help) references that is "hidden" under the "Help" menu option in the ArcGIS Resources section (http://resources.arcgis.com/en/home/), while I think many developers would prefer a separate direct API's menu option in the same main menu. This would also cut back on the great amount of links under the "Help" section. The same link to the API's list could be under the important: http://support.esri.com/en/ page, which already gives direct access to many important things for developers and GIS geodatabase administrators. I think separating out the "Developer Help" from the other help sections ("ArcGIS Help", "Application Help" etc.), and giving a more prominent position to the API references with all the object models, interfaces etc, via a direct link in the main menu's of the Support and Resources pages would at least be one change of use to many. I also think "API (References)" is a better name for this than "Developer Help", as most developers are more used to that first term when searching for details on object models, classes, methods and interfaces. This is great feedback but it doesn't necessarily apply to the site we're discussing. I appreciate the feedback the support site and the current resource center but those are not sites that we (the JS API team) directly manage.
... View more
02-05-2013
06:05 AM
|
0
|
0
|
1638
|
|
POST
|
We're moving to using dojo/Evented for events in the future. Instead of the dojo.connect code you see now, you'll be able to do this:
map.on("click", function(e) {
console.log("map was clicked: ", e, e.mapPoint);
});
We hope to have this in the next release (3.4) for all objects (map, layers, widgets, etc).
... View more
02-05-2013
06:00 AM
|
0
|
0
|
2040
|
|
POST
|
Can you post some code to reproduce? I'm not able to see this with the draw toolbar sample.
... View more
02-05-2013
05:58 AM
|
0
|
0
|
1716
|
|
POST
|
I tried using the "SeatGeek" sample that you have and it did not work correctly - the sample is referencing an older version of the JavascriptAPI and when you plug in the 3.3 version it does not work. I updated the SeatGeek and EmptyLayer samples to use 3.3. Here's what I changed to get those working: added link to esri.css added locale: "en" to dojoConfig (see the 3.3 release notes, alternatively, could have removed lang="en" attribute from the HTML tag) corrected "esri/Map" to "esri/map", this was necessary because the map module is map (lowercase "m") while the actual class is "Map" (uppercase "M"), require() needs the module name, not the class name.
... View more
02-01-2013
04:53 PM
|
0
|
0
|
1638
|
|
POST
|
FAir enough. As a developer, i am used to (and prefer) api's to look like this http://docs.oracle.com/javase/6/docs/api/ the value add is in the linking. Note every inch of the screen has value in some form. I say this half-jokingly but am genuinely curious, is part of the problem the fact that our links are black instead of blue? Is there a search for those docs? Using the oracle docs, how would you send someone a link to the doc for say... the AbstractCollection class reference?
... View more
02-01-2013
11:50 AM
|
0
|
0
|
1638
|
|
POST
|
the new site here is more like the second, just with a narrower width. If you recall, the width of the content area was one of the initial sticking points when we launched the new design. We switched from a fixed layout to a fluid layout to address the "use the available space and don't make me scroll for days" feedback. It is the ads and "additional junk" that is the value add that feels like its missing. Maybe not. That's the first time I think I've heard a consumer of web content refer to ads as something that add value ;). But seriously, we are trying to keep it as simple as possible. If you follow a link to reference documentation for a class in our API, we're giving you that content. We're not wrapping it in social media icons, displaying our latest blog posts/tweets and telling you about all the other stuff happening in the Esri ecosystem. We give you a link to search for samples that use that class but that's it.
... View more
02-01-2013
08:33 AM
|
0
|
0
|
1638
|
|
POST
|
If I might make several suggestions: 1) it would help me if I could resized the left panel to either make it bigger or smaller so that I have more "usable" area in the content section Can you use the "Hide Table of Contents" link? If that doesn't work, the other option is to resize your browser window which will cause the content area to become bigger. 2) It would be extremely helpful if ESRI could provided an object model for the Javascript API. Having the text is great, but a picture/model can say a hundred words (or whatever the adage is ). Sometimes I feel like I am navigating all over the place to find the objects that I need .. a model would help tremendously. We haven't had an Object Model Diagram (OMD) for the API since 2009. We'll look into publishing one again. 3) Please update the samples to include the AMD style of coding. <snip> I'll get these updated, hopefully today. Edit: I'm only referring to the samples linked from the Dojo and AMD help topic. To conclude, it seems like ESRI has already improved the Help site since it first came out and I have confidence that it will get better - Design. We appreciate your quick response. I do not feel like it is as cumbresome (since the fixes) but I do agree that there is a lot of wasted space (it's all personal preferences, right). Thanks for the vote of confidence :). Can we talk more about the wasted white space? Outside of the home page, I don't see it. I've attached a screen shot with some annotations, please provide feedback.
... View more
02-01-2013
08:24 AM
|
0
|
0
|
3025
|
|
POST
|
Yes thats it. Its just a frustration with the way the web is going. Desktop screens are getting more and more landscape. Content is getting more and more portrait. It just doesn't work together. My take is that the web is mimicking print more and more. As our displays become more capable (hi-def, retina, blah blah blah), content on the web can be presented the way content is presented in print. I personally like this trend. Take these two presentations of the same article: http://bits.blogs.nytimes.com/2013/02/01/the-origins-of-big-data-an-etymological-detective-story/?hp http://bits.blogs.nytimes.com/2013/02/01/the-origins-of-big-data-an-etymological-detective-story/?hp&pagewanted=print Which do you like better? Even with the ads and additional junk, I prefer the first. The second, while it uses nearly all available space is harder to read because it is so wide.
... View more
02-01-2013
07:59 AM
|
0
|
0
|
3025
|
|
POST
|
One question I have about this: is there any way to configure a cluster layer for a feature service so it isn't limited by the 1000 feature return limit on Server? It seems that one of the benefits of clustering would be being able to visualize total number of events in an area, even if the total events are greater than 1000. Change the limit on the server, or do multiple requests to retrieve your data before handing it off to the cluster layer.
... View more
02-01-2013
07:54 AM
|
0
|
0
|
2418
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 01-23-2012 07:54 AM | |
| 1 | 05-28-2010 08:31 AM | |
| 1 | 11-12-2012 08:12 AM | |
| 3 | 02-23-2012 10:57 AM | |
| 1 | 06-27-2011 08:51 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:23 AM
|