POST
|
After talking esri support, confirmed bug: http://support.esri.com/bugs/nimbus/role/distributor/QlVHLTAwMDA4NjQ1NA== Considering how long it's been outstanding, I'm not holding out any hope that it'll be fixed - unfortunate that we'll have to look elsewhere for a solution.
... View more
12-22-2016
12:08 PM
|
1
|
3
|
3051
|
POST
|
Hi Bruce, thank you for your reply. I have been using outfields=*, here's an example of a url I've tried - you'll notice in the results that the postalext field is blank. http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/findAddressCandidates?&f=json&SingleLine=1000%20bay%2… Thanks.
... View more
12-20-2016
10:14 AM
|
0
|
1
|
3051
|
POST
|
Hi When using the AGOL map (or the rest api) to search for an address in Canada, it only ever gives back the first three characters of a postal code, never the entire six character string. Is this data available? Since the online geocoder gets a lot of its information from HERE I tried their online examples, and was able to pull back the entire six character postal code, so I'm not sure if I'm doing something wrong w/ agol. Thanks.
... View more
12-20-2016
08:54 AM
|
0
|
7
|
5515
|
POST
|
Thanks for the suggestions guys. I do use the map's load event to start adding layers, but I do have some other code in between. I'm going to try putting that other code after the load as well and see what happens - if it doesn't work, I'll try Ben's suggestion re: not setting the SR in the map constructor. I'll update this thread once I have some results.
... View more
02-12-2015
12:16 PM
|
0
|
0
|
933
|
POST
|
I don't believe so, but I honestly can't tell. In the options that I use in my 'this.map = new Map(...)' call, I explicitly set the 'spatialReference' attribute and the extent attribute with our wkid, so I'm not sure how I could be getting an undefined error when creating the map.
... View more
02-12-2015
07:48 AM
|
0
|
0
|
933
|
POST
|
Oops, I suppose I should've mentioned that the map doesn't load when this occurs. If I refresh the app, everything loads correctly the second time.
... View more
02-12-2015
07:06 AM
|
0
|
2
|
933
|
POST
|
Hi --Using ArcGIS JSAPI 3.12-- Every once in awhile we are receiving the above 'this.spatialReference is undefined' error when loading our application. I assume it's some sort of race condition but I have no idea how to track it down as I don't know what the API is actually doing at that point. Can anyone help? Thanks.
... View more
02-06-2015
12:25 PM
|
0
|
7
|
5170
|
POST
|
Just in case anyone else runs into this issue - it appears to only be present in the downloadable version of 3.12compact. I tried downloading it again just to make sure and the problem still appeared. I also tried: 3.11compact (downloaded) 3.12 (non-compact, downloaded) 3.12compact (CDN) 3.12 (CDN) ^ None of the four above had any issues, only the downloaded 3.12compact. Maybe something wrong with the downloaded .zip file? I'm not sure. I'm just using the non-compact 3.12 as a workaround for now.
... View more
02-05-2015
09:21 AM
|
0
|
0
|
405
|
POST
|
Hi Alexei, could you explain how you appended the token to the call? I'm trying to use the PrintTask with secured services as well, and I'm stuck on that step. Thanks!
... View more
02-04-2015
07:58 AM
|
0
|
0
|
892
|
POST
|
Hi Here's a fairly simple widget: define([
'dojo/_base/declare',
'dojo/dom',
'dojo/dom-style',
'dijit/_WidgetBase',
'dijit/popup',
'dijit/TooltipDialog',
'esri/lang',
'esri/layers/FeatureLayer',
'dojo/_base/array',
'dojo/on',
'dojo/promise/all'
], function (declare, dom, Style, _WidgetBase, dijitPopup, TooltipDialog, esriLang, FeatureLayer, array, on, all) {
var MapTips = declare([_WidgetBase], {
baseClass: 'gis_myDijit',
postCreate: function () {
this.inherited(arguments);
var dialog = new TooltipDialog(); At line 18 as of the JSAPI 3.12compact, I receive the following error in the console: TypeError: d(...) is undefined (init.js:608) This error occurs about 50% of the time, the other 50% it works perfectly fine. All other things being equal, I have switched back and forth between 3.11 and 3.12 and can confirm that this does not happen with 3.11. Anyone having the same/similar issue, or know what can be done to work around this? Thanks.
... View more
01-29-2015
09:38 AM
|
0
|
1
|
2964
|
POST
|
Just in case anyone stumbles across this thread in the future, the issue was fixed in version 3.12.
... View more
12-31-2014
06:49 AM
|
0
|
0
|
577
|
POST
|
Hi A little background: All other things being equal, this issue occurs on 3.11, but not 3.10 - I've tested both side by side to be sure. I have also CTRL-F5'd in the browser to confirm that it was not a caching issue. I've tried Firefox & IE10 and had the same issue in 3.11 occur on both. Measuring distance and area work both work fine for me, the only issue I'm experiencing is with the 'Location' measurement. Here's my measurement code (quite simple):
this.measure = new Measurement({
map: this.map,
defaultAreaUnit: this.defaultAreaUnit,
defaultLengthUnit: this.defaultLengthUnit
}, domConstruct.create('div')).placeAt(this.domNode);
this.measure.startup();
So, to the problem: When I use the measure 'location' tool in the measurement widget, the longitude updates when I move the mouse around the map, but the latitude does not. The latitude updates - a single time - if I zoom in/out of the map. The latitude shown as part of the auto-updating portion comes up as very odd numbers, not even close to the correct location. The longitude in the auto-updating portion comes up as the correct longitude. Now, when I 'click' on the map to get the clicked location show up, both the clicked values in the widget update. It gets even odder than the previous paragraph though, as the clicked Latitude shows up as the correct Latitude, but the clicked Longitude shows up as a wrong value. So in short, in auto-mode the Longitude is working correctly, and when clicking, the Latitude is working correctly. Anyone else experiencing this? Were changes made to the widget in 3.11 that could cause this? Thanks!
... View more
10-27-2014
09:46 AM
|
0
|
4
|
3792
|
POST
|
Hi Kelly I took a look at the example you gave - then tried pushing my graphics to a separate array and applying edits on the new array instead. It works now, not sure if that was the issue, or if I fixed it through some of the other new code I've built since. Either way, thanks for the example.
... View more
10-23-2014
04:10 PM
|
0
|
0
|
858
|
POST
|
I ended up using code similar to this - a different loop for update / delete graphics:
array.forEach(this.pointGraphicsToAdd.graphics, lang.hitch(this, function (pointGraphic) {
updates.push(this.fLayer.applyEdits([pointGraphic], null, null, function (add, update, del) {
}, function (error) {
console.log('apply edits failure');
console.log(error);
}));
}))
It's not great code and I'd hardly call it an 'answer', but sending a true array doesn't seem to actually work, so I'm stuck with that.
... View more
10-14-2014
08:16 AM
|
0
|
0
|
858
|
Title | Kudos | Posted |
---|---|---|
1 | 12-22-2016 12:08 PM | |
1 | 05-29-2014 09:08 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|