|
POST
|
It is a bad idea to show all fields in an info window or popup. Showing all fields puts (what is likely) unnecessary info (objectid as well as shape, shape_area and shape_length fields, unformatted field names, others depending on the app) next to important info and clutters the popup. Your best bet, especially in terms of app usability, is to come up with a list of fields to display for each layer and conditionally create and set popup templates for features. It's more work for you, but it's a better experience for your users.
... View more
04-24-2013
10:42 AM
|
0
|
0
|
2775
|
|
POST
|
Thanks to all for the additional info. Sounds like we have a good idea why this is happening. JavaScript API team... is this something you're able to fix in the API or is this an inherent issue with Chrome and Firefox? We think this is something we can address in the API based on differences in mouse and touch events but it won't be for the next release (due in a week or two).
... View more
04-24-2013
10:22 AM
|
0
|
0
|
2412
|
|
POST
|
What are you expecting to happen with this code:
require(["dojo/domReady!"], function(init){});
That will not behave the same say way as:
dojo.addOnLoad(init);
If you want to execute a function named init after the DOM is ready, use:
require(["dojo/domReady!"], init);
Here's a working example that creates a map: http://jsfiddle.net/RyVE3/
... View more
04-24-2013
09:58 AM
|
0
|
0
|
2413
|
|
POST
|
Thanks, Derek. That spelling error is shameful. I appreciate the links. You're welcome...definitely the thing where a second set of eyes helps. Hope you find the additional info helpful as well.
... View more
04-23-2013
02:33 PM
|
0
|
0
|
3375
|
|
POST
|
The identity manager takes care of managing access to secure services. It passes through the credentials provided by the user and helps to manage access to services (retrieves and manages tokens used to access secure services). If a user provides credentials that only have read access, they will be able to display data from a service but attempts to edit will fail. If a user has create, insert, update and delete, they will be able to do all those things.
... View more
04-23-2013
02:31 PM
|
0
|
0
|
939
|
|
POST
|
Bunch of things... You had "delcare" instead of "declare" in your code. Use define instead of require in mapManager.js and return the result from declare like so: define([ "dojo/_base/declare" ], function( declare ) { return declare("omega.mapManager", null, { Tell Dojo where mapManager is via dojoConfig.packages. Something like this: <script> var dojoConfig = { packages: [{ name: "omega", location: location.pathname.replace(/\/[^/]+$/, "") }] } </script> If you're curious about that location.pathname part, read up on using custom modules from a CDN hosted version of Dojo (it's a quick read). Since Dojo knows where to find mapManager, do not include it with a script tag. Finally, since you're creating an AMD module, load it with require instead of the (legacy) dojo.require. Here's a working example: http://dl.dropboxusercontent.com/u/2654618/simple-class/index.html And here's a direct link to mapManager: http://dl.dropboxusercontent.com/u/2654618/simple-class/mapManager.js
... View more
04-23-2013
02:21 PM
|
0
|
0
|
3375
|
|
POST
|
This question is probably better for the ArcGIS Server or ArcGIS Online forum, depending on where you're creating these user groups. On the JS API side, you include the identity manager in your app, users log in and the security settings from your service are honored when retrieving information from your serivce(s) and when edits are pushed back to your service(s).
... View more
04-23-2013
01:22 PM
|
0
|
0
|
939
|
|
POST
|
That looks like it should work as long as your feature layer is a collection of polylines. Any chance you can post a more complete example to repro this?
... View more
04-23-2013
10:45 AM
|
0
|
0
|
685
|
|
POST
|
The clusters are regenerated when I change my map's zoom level. My issue lies in having a new query result. For example, in my map, the user can enter the name of a species and the query task will come back with those results clustered. If the user enters a new query for a different species, the results come back but they aren't being displayed at all ... not as clusters or anything else. The old cluster results are still being displayed on the map. I understand, that's a slightly different issue. The cluster layer as-is expects all data initially and isn't set up to have new data continuously pushed in. One option would be to remove the cluster layer, destroy it and then create a new cluster layer when new data is available. It might also be possible to re-cluster on the fly, but I haven't looked at that code in a while so I'm not certain that re-clustering would be easy without changing some of the cluster layer's methods.
... View more
04-23-2013
10:28 AM
|
0
|
0
|
1580
|
|
POST
|
You're welcome! Where in the docs do we use connect()? It should be dojo.connect or connect.connect everywhere.
... View more
04-23-2013
09:21 AM
|
0
|
0
|
1300
|
|
POST
|
The cluster layer should be handling this for you, meaning that you shouldn't have to manually manage cluster graphics. Clusters should be removed and regenerated when the map's zoom level changes. Is that not working for you?
... View more
04-23-2013
08:39 AM
|
0
|
0
|
1580
|
|
POST
|
Use connect.connect() instead of connect(). The dojo/_base/connect module is not a single function but rather contains a couple of functions. For more detailed examples, look at the Dojo 1.7(AMD) section here: https://dojotoolkit.org/reference-guide/1.7/dojo/connect.html
... View more
04-23-2013
08:36 AM
|
0
|
0
|
1300
|
|
POST
|
Can you help me find this as well? There used to be a page for looking up different symbols, epecially the PictureMarkerSymbol. But I cannot find it any more. The URL in my bookmark is: http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp_start.htm#jshelp/inside_renderers.htm Same content is now here: http://developers.arcgis.com/en/javascript/jshelp/inside_renderers.html
... View more
04-18-2013
09:17 AM
|
0
|
0
|
1813
|
| 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
|