POST
|
I would like to build a query that has multiple groupByFieldsForStatistics. However, when I put a multi-item list in, I see no evidence of the second (or beyond) field in the query results. The below codepen is an example - I'm trying to group the data by magType and place, but see no evidence of place in the response (the first item of which is logged to the console and shown at the top of the page for convenience) https://codepen.io/robmattles/pen/ZEGooYm
... View more
03-16-2020
08:56 AM
|
0
|
1
|
626
|
POST
|
Not sure whether this is a bug or user error, but the JSAPI does not appear to support scaling visual variable sizes to real-world distance units. Instead, it creates giant black squares. See the codepen, taken from ESRI's csvLayer example, modified to use a size visual variable that should scale with horizontal error (miles) https://codepen.io/robmattles/pen/zYGrmOb
... View more
02-20-2020
10:27 AM
|
0
|
3
|
576
|
POST
|
I'd like to color labels based on the difference between the current time and a datetime field in a CSV layer in a JSAPI application. Ideally, it would be on a continuous scale (something like recent=green and oldest=red), but if need be, I could divide the scale into a few discrete stops. I don't see a way to use visual variables with labels, which was my first thought. My second thought was to create a separate layer just for the labels, but while I could use a visual variable to control the color, I couldn't get the text to reflect a field in the data. I then resorted to discrete stops, using several labelClasses with where clauses, but I'm having trouble figuring out how to work with timestamps within those where clauses (how to get the current time, how to convert a field of my csv to date to compare it against, how to then subtract the two and compare the difference to some threshold)
... View more
02-14-2020
09:14 AM
|
0
|
1
|
474
|
POST
|
For some users of an application I built using JSAPI version 4.12, no graphics appear on maps. The issue does not seem to be browser specific (some users with identical browser versions experienced the issue, others did not) , but does seem to be new to version 4.12 of the API. Are there known causes of this? Some browser or account-level setting perhaps? I have attached two screenshots from a computer experiencing the issue - one of the "Intro to Graphics" tutorial page that should show graphics but doesn't, and the second of the Codepen linked from that page, changed to version 4.11, which does show the intended graphics.
... View more
08-23-2019
07:13 AM
|
0
|
2
|
1090
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|