|
POST
|
Thanks for the heads up, I'll get that fixed. If you want to fix and run locally, take "NW1M_CY" out of line 98.
... View more
12-06-2013
07:54 AM
|
0
|
0
|
471
|
|
POST
|
Easiest way is to change the URL in the script tag that loads the API. Once 3.8 is out, it will be at http://js.arcgis.com/3.8/ (obviously not live yet).
... View more
12-05-2013
01:37 PM
|
0
|
0
|
1622
|
|
POST
|
We're aware of the issue but there isn't a workaround. We have fixed this for the next release of the API (3.8) which will be out in the next two weeks or so.
... View more
12-05-2013
01:02 PM
|
0
|
0
|
1622
|
|
POST
|
Yes. After you include a link tag that references esri.css, use a style tag or another link to a CSS file that defines a color for the .esriSimpleSlider class like so: .esriSimpleSlider { color: blue; } Note that there's not need for !important. Example: http://jsbin.com/IbisUJet/1/edit Edit: just realized you're talking about the larger slider tick marks. For that, you have to re-define some dijit theme rules. We have an old sample that shows that (ignore the thumbnail, look at the live sample): https://developers.arcgis.com/en/javascript/jssamples/mapconfig_customlabels.html When using the claro theme, the relevant CSS looks like this: .claro .dijitRuleMark { border: 1px solid #fff; }
... View more
12-03-2013
09:41 AM
|
0
|
0
|
748
|
|
POST
|
It's a personal preference/stylistic choice. I too do both but my preference is to create a variable and return that as opposed to directly returning the value from declare(). I find the former more readable. Using a variable also lets you do additional things with your class before returning it if that's something you need.
... View more
11-15-2013
09:14 AM
|
0
|
0
|
577
|
|
POST
|
We've discussed this quite a bit in the past, please read these threads: http://forums.arcgis.com/threads/59988-Issue-Upgrading-to-version-3.0?p=207055&viewfull=1#post207055 http://forums.arcgis.com/threads/94219-Disable-CORS-Discussion
... View more
11-11-2013
01:24 PM
|
0
|
0
|
506
|
|
POST
|
I think this is the likely culprit of the missing map point coordinates: https://bugs.dojotoolkit.org/ticket/17228 Are you using any dojox/mobile modules? If so, try document.dojoClick = false after dojox/mobile modules are loaded.
... View more
10-17-2013
02:08 PM
|
0
|
0
|
1988
|
|
POST
|
Can you post code to reproduce this? Based on this post and a discussion on twitter, I think there's an issue here but haven't been abel to get a simple case to reproduce it. I'm seeing coords when I run this in ios 7: http://rawr.gr/egz (tap the map)
... View more
10-17-2013
09:48 AM
|
0
|
0
|
1988
|
|
POST
|
Yes. I would like to set the angle on the text symbols. Thanks for confirming. As of overlapping, they currently overlap anyways. That's why I have to rotate them. I could have gone the other way to fix in my situation. That shouldn't be happening. Can you provide a repro case that shows using the label layer where it places overlapping labels?
... View more
10-08-2013
10:34 AM
|
0
|
0
|
1770
|
|
POST
|
I'd like to clarify: the request is to have the label layer use the angle set on text symbols? This currently isn't possible with the label layer (as you found out, text symbol rotation is ignored). This complicates things in terms of finding overlapping labels but I'll see what we can do.
... View more
10-08-2013
08:55 AM
|
0
|
0
|
1770
|
|
POST
|
So it sounds like what is happening in my apps is option B described above. If services.arcgisonline.com was upgraded to 10.1 and CORS enabled then I would not get this error, right? Correct. You can confirm by taking a closer look at the error�?? the URL that failed the CORS test is right there in the message. Here's an example of a CORS error from the create a map sample:
XMLHttpRequest cannot load http://services.arcgisonline.com/ArcGIS/rest/info?f=json. Origin http://developers.arcgis.com is not allowed by Access-Control-Allow-Origin. (ind
And if I am reading you right, the danger with setting "esri.config.defaults.io.corsDetection = false" in my apps is that I am now not checking ANY server I connect to with CORS, and with the big idea that everybody should be enabling CORS on their servers, this is not a good thing. Yes, corsDetection = false disables CORS testing for all services used in an app. The hope and promise of CORS was that everyone would be using it, but in practice, servers with CORS enabled are relatively rare, at least in my experience. I'm sure it is out of your control, but if my second assumption is true, then Esri really should be upgrading services.arcgisonline.com, especially with it now two versions out of date. But I don't blame you guys, the upgrade from 10.0 to 10.1 is really a pain. Next time we get asked by our rep why we are not on 10.2 (or why it took over a year to get to 10.1), I will point them to services.arcgisonline.com 😉 I figured you'd say something like that ;). I'm not in a position to give an estimate as to when our basemap services will be upgraded and use CORS, but I do know those plans are still in the works.
... View more
10-07-2013
03:26 PM
|
0
|
0
|
3022
|
|
POST
|
Using custom modules with our API is definitely possible, the key is to tell Dojo where to find your stuff, which you do via dojoConfig.packages (or dojoConfig.paths, slightly simpler syntax). What does your dojoConfig look like? Can you provide an example of a url for your app, where the JS API lives and where your custom modules live?
... View more
10-07-2013
02:34 PM
|
0
|
0
|
997
|
|
POST
|
I've not recommended this previously for a couple of reasons. When we added support for CORS, and subsequently saw the errors everyone is now familiar with, the reasoning at the time was that they would be temporary since the basemap services which were causing all those errors were at ArcGIS Server 10.0 and slated to be upgraded to 10.1 (which has CORS enabled by default). The 10.1 upgrade never came and no one pushed to manually enable CORS on those servers so those errors have been around for much longer than we imagined. We didn't add CORS support to the API so that we could tell people to turn it off, we want it to be used. Once you start turning it off, being that we copy/paste and/or use templates quite a bit, how likely are you to re-evaluate that decision and turn it on when it can be used? Another option is to use corsDetection = false and manually populate corsEnabledServers but that's more work and error prone.
... View more
10-07-2013
02:30 PM
|
0
|
0
|
3022
|
|
POST
|
Please post your code that shows the problem. The example using the code from that tutorial works without issue: http://servicesbeta.esri.com/demos/using-classes-with-javascript/seatgeek-search/
... View more
10-03-2013
04:14 AM
|
0
|
2
|
799
|
|
POST
|
Are you using 3.7? graphic.attr() was introduced at 3.7 (we'll update the docs to say this). Attr is also used to add attributes to a graphic's DOM node, it doesn't affect graphic.attributes (which I admit is confusing). If you want to add to or update a graphic.attributes, modify that object directly.
... View more
10-02-2013
01:59 PM
|
0
|
0
|
1649
|
| 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
|