POST
|
When you add the WMS layer you point to the URL for the legend image: // Typical usage var layer = new WMSLayer ( { url : // url to the service, sublayers : [ { name : // name of the sublayer, legendUrl : // url to the legend } ] } ) ; https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-WMSLayer.html
... View more
05-07-2019
10:22 AM
|
0
|
1
|
14
|
POST
|
Are you using IdentityManager to authenticate? It has methods to handle this.
... View more
05-07-2019
10:12 AM
|
0
|
1
|
13
|
POST
|
EDIT: I removed the other map service that I had in the map and the pop-up is now working! I guess it may have been getting confused with the two different tables even though they had different names The expression seems to be valid now, when I click test in the expression builder it returns what I would expect. Also when I look at the network traffic through the dev console when clicking on a feature I can see the query going out and returning valid features. However, I can't get anything to actually display in the pop-up. Do you see any reason why this would not work? I also tried the custom attribute display with the field but that didn't work either.
... View more
04-11-2019
06:19 AM
|
0
|
0
|
322
|
POST
|
I just tested with a feature service of the same data from the server and it now accepts it as a valid expression. So looks like map service is not supported. Thanks for your help
... View more
04-11-2019
05:53 AM
|
1
|
0
|
322
|
POST
|
This is in a pop-up on a feature layer in an ArcGIS Online web map. Does this only work on hosted feature services? The feature layer I am trying to use it on is from a MapServer on ArcGIS Server (10.31)
... View more
04-11-2019
05:34 AM
|
0
|
4
|
529
|
POST
|
Xander, I'm trying to adapt this code for use in a web map but I keep getting the following error in the Arcade Window: Execution Error: Runtime Error: Identifier Not Found. $map Here is my Arcade expression: var pin = $feature . Name ; var sql = "PIN = '" + pin + "'" ; var ownerTable = FeatureSetByName ( $map , "OwnershipInformation" ) ; var owners = Filter ( ownerTable , sql ) ; var cnt = Count ( owners ) ; var owner_info = "" ; if ( cnt > 0 ) { owner_info = cnt + "Owner(s):" ; //loop through related records for ( var owner in owners ) { var owner_text = " - " + owner . FULLNAME + TextFormatting . NewLine + owner . MAILINGADDRESS ; owner_info + = TextFormatting . NewLine + owner_text ; } } else { owner_info = "No Owner Found" ; } return owner_info The layer that I am trying to access through the expression is a related table within the map service.
... View more
04-10-2019
10:16 AM
|
0
|
6
|
529
|
POST
|
Jay, just FYI I was able to solve this issue. I updated the post with my solution. Thanks for your help
... View more
02-14-2019
12:09 PM
|
0
|
1
|
27
|
POST
|
I forgot to update this post with the solution that I found: Running the "Dissolve Network" tool on the network used in the mobile map package fixed the issue.
... View more
02-14-2019
12:06 PM
|
0
|
0
|
57
|
POST
|
Sure, how should I send it? It's not too large (25MB)
... View more
12-19-2018
06:23 AM
|
0
|
0
|
27
|
POST
|
Mark, I was able to open the MMPK in Pro and I was able to route on it.
... View more
12-19-2018
06:16 AM
|
0
|
0
|
30
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|