|
POST
|
Hi, try this: /* Border background*/
.esri-popup__main-container {
background-color: aqua !important;
}
/*Elements (fields) background*/
.esri-feature__content-element {
background-color: blanchedalmond;
}
... View more
08-22-2022
11:57 PM
|
1
|
0
|
1422
|
|
POST
|
Hi Noah, Thank you. But here we have some problems: 1. We do not have Georgian in the languages list; 2. I have Custom HTML on my map and how these elements will be translated using LOCALIZATION? Thanks
... View more
07-12-2022
11:36 PM
|
0
|
0
|
1049
|
|
POST
|
Hi, So, i have my beautiful map, i can change languages for my custom HTML elements , click GEO and ENG buttons and languages are changed. Now i want to translate API elements, like Popup, elevation widget etc... Is there any simple way to translate or i have to go my way and find a way?
... View more
07-11-2022
04:17 AM
|
0
|
2
|
1099
|
|
POST
|
Hi @B-L , So, i have configured proxy using your suggestions. Now maps loads, from proxy server i get response like this: https://nv.napr.gov.ge/geoserver/ows?width=1920&height=523&bbox=4980332.152501735%2C5119742.330961465%2C4984918.374198967%2C5120991.598642535&crs=EPSG%3A900913&format=image%2Fpng&request=GetMap&service=WMS&styles=&transparent=TRUE&version=1.3.0&layers=LR_PARCELS_transparent, but it does not appear on map, still get CORS error: Access to image at 'https://nv.napr.gov.ge/geoserver/ows?width=1920&height=485&bbox=4834810.382589555%2C5082880.574070942%2C5128328.571204745%2C5157024.491507592&crs=EPSG%3A900913&format=image%2Fpng&request=GetMap&service=WMS&styles=&transparent=TRUE&version=1.3.0&layers=LR_PARCELS_transparent' from origin 'http://10.0.124.10' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. What else i have to do? I think it should work now, but no success.
... View more
05-30-2022
06:18 AM
|
0
|
1
|
7221
|
|
POST
|
WMS is outsource, it is on another server and i have no access on it to change CORS options.
... View more
05-10-2022
11:26 PM
|
0
|
1
|
7442
|
|
POST
|
Hi, I have CORS issue too in my map. I have added proxy, but it did not help. I have little different issue, my error is multiple headers. It would be good if anyone make detailed explanation how CORS could be handled.
... View more
05-10-2022
05:16 AM
|
0
|
0
|
3393
|
|
POST
|
Hi all, Again, i am about CORS issue. I sue IIS for my web map. So, in my map i sue wms service from another server, that's why i get CORS issue. When i use CORS extension on chrome, i can use this service without problem. I looked around in google, in stack, but could not find decision of this. In web.config i have added: <?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.webServer>
<httpProtocol allowKeepAlive="false">
<customHeaders>
<clear />
<add name="Access-Control-Allow-Origin" value="*" />
<add name="Access-Control-Allow-Methods" value="GET, PUT, POST, DELETE, HEAD, OPTIONS" />
<add name="Access-Control-Allow-Headers" value="*" />
</customHeaders>
</httpProtocol>
</system.webServer>
</configuration> but no result, still Access-Control-Allow-Origin' header contains multiple values. My map is in Default web Site folder. I used proxy, but it did not help. Any ideas how it could be fixed?
... View more
05-10-2022
05:12 AM
|
1
|
4
|
7560
|
|
POST
|
Hi all, I am using hitTest to get layer attributes in my webmap. For layers, which i do not use in hitTest i get error: response.results.filter(...)[0] is undefined. i tried a lot, but could not remove this error or hide. It does nothing, but it is annoying to see in console. Any ideas? Thanks
... View more
03-30-2022
07:00 AM
|
0
|
1
|
958
|
|
POST
|
Thanks kishore, but look what result i get: it sets values, it does not hides empty value row 😞
... View more
03-17-2022
06:00 AM
|
0
|
1
|
2722
|
|
POST
|
hi, so, i add expression like this: spopupTemplate = {
content: [{
type: "fields", // Autocasts as new FieldsContent()
// Autocasts as new FieldInfo[]
fieldInfos: [{
fieldName: "expression/ნიშნული"
}, {
fieldName: "expression/ჩაღრმავება"
},{
fieldName: "expression/წყლის დონე"
}]
}],
// autocasts to ExpressionInfo class
expressionInfos: [{
name: "ნიშნული",
title: "ნიშნული",
expression: "IIF (IsEmpty($feature.Location), '', 'block');"
},
{
name: "ჩაღრმავება",
title: "ჩაღრმავება",
expression: "$feature.CaRrmaveba"
},
{
name: "წყლის დონე",
title: "წყლის დონე",
expression: "$feature.wylis_done"
}]
};
... View more
03-17-2022
01:55 AM
|
0
|
3
|
2728
|
|
POST
|
hi, no, "tr" is a table raw. I changed IIF (IsEmpty($feature["tr"]), "None", "block"); but does not work.
... View more
03-16-2022
03:49 AM
|
0
|
5
|
2775
|
|
POST
|
Hi all, I am trying to hide empty field in Popup, i used ArcadeExpression: IIF (IsEmpty($feature.Location), "", "block"); and jQuery: $('table.esri-widget__table tr').each(function(){
if($(this).children('td:empty').length === $(this).children('td').length){
$(this).remove(); // or $(this).hide();
}
}); but none of them works. How can i hide fields "tr" in popup table? Any new idea? Thanks
... View more
03-16-2022
01:53 AM
|
0
|
7
|
2805
|
|
POST
|
Hi all, I still have CORS error when i try to add WMS layer from GeoServer. I followed this resources https://developers.arcgis.com/javascript/latest/proxies/, https://github.com/Esri/resource-proxy, but still can not get result. So i used code like this: urlUtils.addProxyRule({
urlPrefix: "http://nv1.reestri.gov.ge",
proxyUrl: "/proxy/java/proxy.php"
}); and get following results in console: GET http://localhost/proxy/java/proxy.php?http://nv1.reestri.gov.ge/geoserver/wms?SERVICE=WMS&REQUEST=GetCapabilities: under this i have this: HTTP Error 404.0 - Not Found. Next is: Uncaught (in promise) Object { name: "request:server", details: {…}, message: "Unable to load http://localhost/proxy/java/proxy.php?http://nv1.reestri.gov.ge/geoserver/wms?SERVICE=WMS&REQUEST=GetCapabilities status: 404" }; What can i do, or if it is possible to fix this?
... View more
03-09-2022
12:07 AM
|
0
|
0
|
1068
|
|
POST
|
Hi Again, So, i followed these documentation, but still got CORS error. When i set all correctly now it says that there are multiple headers.
... View more
03-08-2022
11:29 PM
|
0
|
0
|
7556
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 08-22-2022 11:57 PM | |
| 1 | 08-31-2022 12:41 AM | |
| 1 | 08-23-2022 02:49 AM | |
| 1 | 05-10-2022 05:12 AM | |
| 1 | 01-13-2022 10:03 AM |
| Online Status |
Offline
|
| Date Last Visited |
05-13-2025
03:20 AM
|