|
POST
|
Looks like a dojo loader issue, which I've seen happen when referencing external libraries... something related to order of includes/injection. Strange that it isn't an issue for anyone else you've had review. I'm not sure what to try off top hand... will need to think a little deeper...
... View more
02-13-2017
01:49 PM
|
1
|
0
|
1353
|
|
POST
|
My bad - I thought you were asking under the context of finding/using the tools I mentioned. I'm using v56.x
... View more
02-09-2017
11:10 AM
|
0
|
0
|
1353
|
|
POST
|
All versions of Chrome should have dev tools. Here's a how-to if you aren't familiar: Chrome DevTools Overview - Google Chrome Here's a how-to on fiddler2: Fiddler tutorial – How to use Fiddler
... View more
02-09-2017
10:49 AM
|
1
|
2
|
2338
|
|
POST
|
George noted it's working in incognito - I would suspect a caching issue. I'm voting for cleaning cache/restarting the browser (making sure no Chrome instances are hanging out to hold onto anything).
... View more
02-08-2017
01:53 PM
|
0
|
0
|
2338
|
|
POST
|
Are you reporting any console errors in Chrome's dev tools? I'd also recommend trying to load it while running fiddler2 to inspect the http traffic.
... View more
02-08-2017
01:34 PM
|
1
|
6
|
2338
|
|
POST
|
When you say it's not loading in Chrome, can you clarify? It seems to load fine on my end:
... View more
02-08-2017
01:01 PM
|
0
|
0
|
2338
|
|
POST
|
Mike Wynne, I ended-up implementing something similar... I have a global, empty JS object array created on a .NET masterpage, so it's available everywhere. When a page loads with embedded maps, I create a look-up of the map IDs and the number of reload attempts; if the map loads with the log-in pop-up, I attempt a reload of the affected, embedded map only... a max of three attempts, then I give-up and hide the dialog, which is actually never seen by the user the way my workaround is coded. This is really a kludge for sure, and I feel like I need to take a shower, but it seems to be working flawlessly, and the user isn't any the wiser, so I think it's a win. If I get a chance to figure out a better solution, or Esri updates the proxy and the issue resolves, I'll post back here.
... View more
02-08-2017
12:44 PM
|
0
|
0
|
1925
|
|
POST
|
A very simple way, without having to code anything, would be to: **first, make sure your layer is backed-up for the sake of posterity** 1) start an edit session on your layer 2) add a new text field to your layer - call it something like "symbol" 3) select-by-attributes and run your first of the three queries: field2 is not null and field1 = 'John' 4) right click "symbol" and calculate your field "blue" 5) select-by-attributes and run your second of three queries: field2 is null and field1 = 'John' 6) right click "symbol" and calculate your field "red" 7) select-by-attributes and run your third of three queries: field2 is null and field1 = 'Bob' 😎 right click "symbol" and calculate your field "orange" 9) verify your edits and save 10) stop editing 11) right click your layer in the TOC and choose "properties" 12) symbology tab 13) categories section 14) unique values 15) choose "symbol" as your value field 16) click "Add All Values" 17) double-click the "blue" box, select "blue" fill 18) double-click the "orange" box, select "orange" fill 19) double-click the "red" box, select "red" fill There are other ways to handle this, but I gave you one which should be straightforward to apply.
... View more
01-18-2017
12:05 PM
|
1
|
0
|
758
|
|
POST
|
I have some code in the v4 JSAPI that is attempting something similar to the following example: Access features with click events | ArcGIS API for JavaScript 4.2 However, IE11 is not resolving response.results() - you can see this manifest in the demo. Check out line ~81, which is the function getGraphics() - you can see the results are empty: function getGraphics(response) {
// the topmost graphic from the click location
// and display select attribute values from the
// graphic to the user
var graphic = response.results[0].graphic;
var attributes = graphic.attributes;
var category = attributes.CAT;
var wind = attributes.WIND_KTS;
var name = attributes.NAME;
dom.byId("info").style.visibility = "visible";
dom.byId("name").innerHTML = name;
dom.byId("category").innerHTML = "Category " + category;
dom.byId("wind").innerHTML = wind + " kts";
// symbolize all line segments with the given
// storm name with the same symbol
var renderer = new UniqueValueRenderer({
field: "NAME",
defaultSymbol: layer.renderer.symbol || layer.renderer.defaultSymbol,
uniqueValueInfos: [{
value: name,
symbol: new SimpleLineSymbol({
color: "orange",
width: 5,
cap: "round"
})
}]
});
layer.renderer = renderer;
} In Chrome, it functions well... so, is this an issue with JSAPI v4 in IE11... is there a workaround? Thanks!
... View more
01-18-2017
09:52 AM
|
0
|
2
|
2102
|
|
POST
|
This was helpful for me - I had to make a minor adjustment, though. I needed to clone the results graphic, otherwise, it was resymbolizing the base feature, and then removing it on the next click: Here's my code: app.mapView.on("click", function (event) { //hitTest used to create a selection graphic for the popup
app.mapView.hitTest(event.screenPoint).then(function (response) { //screenPoint
var resultGraphic = response.results[0].graphic;
var symbol = new SimpleFillSymbol({
color: [255, 255, 0, 0.0],
style: "solid",
outline: {
color: [0, 0, 0],
width: 5
}
});
app.mapView.graphics.removeAll();
if (resultGraphic) {
var selectionGraphic = resultGraphic.clone();
selectionGraphic.symbol = symbol;
app.mapView.graphics.add(selectionGraphic);
}
});
});
... View more
01-18-2017
09:18 AM
|
2
|
1
|
4171
|
|
POST
|
Mike, It ended-up not working out satisfactorily, but I really still haven't had a chance to look at it (and we haven't released the feature, yet). If I can't get it resolved 100%, I have a kludge in mind... since we embed the maps as iframes in our product, and I've never had the prompt show up after a page reload, I was going to intercept the pop-up and reload the embedded map portion only. The way we show this on the front end, the users would never know any difference. In the case where it does get into a reload loop, I'd stop after x number of reload attempts and allow the user to use the map (with this feature disabled). Not ideal by any means - I'm also holding out hope that the next time I get back to this, a new proxy version will be available that resolves the issue.
... View more
01-10-2017
02:07 PM
|
0
|
3
|
1925
|
|
POST
|
You might want to try submitting an issue with the GitHub project - Issues · Esri/reverse-geocoder-for-geoevent · GitHub I'm not sure if the devs are looking at the Geonet forums.
... View more
01-04-2017
08:18 AM
|
1
|
2
|
1471
|
|
POST
|
Have you tried setting the datestyle for for your transaction/session?
... View more
01-04-2017
07:50 AM
|
0
|
2
|
1578
|
|
POST
|
I would check-out http://gisweb1.serm.gov.sk.ca/mapserver/sdug/sde_access/Help_pages/sdearcview.pdf
... View more
09-23-2016
11:39 AM
|
0
|
0
|
465
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 06-16-2020 01:25 PM | |
| 1 | 03-20-2019 09:07 AM | |
| 2 | 07-31-2015 07:31 AM | |
| 1 | 09-14-2015 12:14 PM | |
| 1 | 05-12-2015 12:04 PM |
| Online Status |
Offline
|
| Date Last Visited |
07-27-2023
02:30 AM
|