POST
|
Hi, Thanks for your response. Unfortunately all of our maps rely on wmts layer so they all look pretty horrendous at the moment. Is there not a way this could be fixed in the current API? Otherwise I guess we'll need to skip a version. Thank you
... View more
11-05-2020
05:30 AM
|
0
|
0
|
266
|
POST
|
The maxRecordCountFactor property (Query | ArcGIS API for JavaScript 4.17 ) is not working for Map Service queries. It's not clear from the API documentation whether it should or not. If not, what would be a way to bypass the maxRecordCount from the service, only when doing a query to get the attributes? Using start+num and looping until we reach the recordCount of the layer? Any ways to do that in a single query? Thanks
... View more
10-15-2020
08:38 AM
|
0
|
0
|
107
|
POST
|
The service is unfortunately not public. We'll try to find an example online and I'll make a codepen.
... View more
09-24-2020
12:34 AM
|
1
|
0
|
53
|
POST
|
There's an issue with the updateConversions method CoordinateConversionViewModel | ArcGIS API for JavaScript 4.16 . Both in the documentation and in the types (typescript). It's supposed to be updateConversions(location, conversions) , but it always comes back with an error saying the location is not a proper Point. In the actual code it seems the properties are reversed: it's actually looking for updateConversions(conversions, location) in typescript the workaround I'm applying is: Then it works fine.
... View more
09-24-2020
12:26 AM
|
0
|
1
|
403
|
POST
|
Hi, We noticed a behaviour/bug in MapImageLayer Sublayer rendering. We have some polygons with relatively complex symbology: When we set an opacity to that layer, and at the same have a popupTemplate setup, then when we click on the map, it "downgrades" the symbology to a simple fill (and it stays downgraded until you reload the app). Simple code taken out of the API sandbox: If I don't set any opacity, then it works fine. If I don't set any popup it works fine too, although It seems to me the issue is linked to the opacity (?).
... View more
09-04-2020
01:09 AM
|
0
|
2
|
131
|
POST
|
Hi, I am trying to show attachments in a popup (mapimagelayer) using that piece of code, and it's not working (I can see the attachment in the rest end point (pdf)): popupTemplate: { outFields: [ '*' ], title:"test", content: [{type: "attachments"}] }
... View more
02-14-2020
03:06 AM
|
0
|
1
|
253
|
POST
|
Great. I'll have a play with the next release. Thanks
... View more
01-15-2020
08:51 AM
|
0
|
0
|
59
|
POST
|
It turns out we just figured it out. It was linked to the way we used to create server connection file, and in particular the way we specified the server URL. We were typically using either: http://gisserver.domain.com:6080/arcgis/admin or https://webadaptorhost.domain.com/webadaptorname/rest/services We had to use https://webadaptorhost.domain.com/webadaptorname/services instead. This was a simple fix, which took us 2 years to figure out.
... View more
01-15-2020
03:56 AM
|
2
|
0
|
25
|
POST
|
I found the "problem". When coding your domains, you need to specify the type ("coded-value"), otherwise the _isDomainCompatible() function in the VM won't work. I guess I somehow believed it would "autocast". domain:{ codedValues: [{code:'Yes',name:'Yes'},{code:'No',name:'No'}], type:"coded-value" } I modified the pen above.
... View more
01-15-2020
03:04 AM
|
0
|
0
|
37
|
POST
|
Hi, The workaround seems to work for me too. I'll mark the answer as correct. Using react components to display popups I'm now doing: template . content = () => { const div = document . createElement ( 'div' ); ReactDOM . render ( < PopupContent /> , div ); return div ; }
... View more
01-06-2020
02:09 AM
|
0
|
0
|
655
|
Online Status |
Offline
|
Date Last Visited |
2 weeks ago
|