POST
|
does the services which are running already will affect by this update? Thanks
... View more
02-12-2019
12:20 PM
|
0
|
1
|
683
|
POST
|
Hi I got the below message in chrome browser, how to resolve it The connection used to load resources from https://maps.xyz123.com used TLS 1.0 or TLS 1.1, which are deprecated and will be disabled in the future. Once disabled, users will be prevented from loading these resources. The server should enable TLS 1.2 or later. See https://www.chromestatus.com/feature/5654791610957824 for more information. Any suggestions Thanks
... View more
02-12-2019
09:11 AM
|
0
|
3
|
974
|
POST
|
I tried with var polygon = new Polygon(new SpatialReference({ wkid: 4326 })); polygon.addRing([[-180, -90], [-180, 90], [180, 90], [180, -90], [-180, -90]]); let boolean = polygon.contains(amspoint); how to create a ring of my selected method or else can I pass layer directly
... View more
02-04-2019
06:41 AM
|
0
|
0
|
859
|
POST
|
Hi in my case i have some graphic points and i'm looking for filtering points based on geometry for example assigning color to graphic points if point is inside los angeles then green color else red color no idea how to validate point geometry with area Any suggestions? Thanks
... View more
02-01-2019
09:50 AM
|
0
|
2
|
945
|
POST
|
I have the below url with headers and the fields I need to use https://aaa.bbbb.co/last\
-H "Authorization: last <token>" \
-H "App-Version: 5.0.0" \
-H "Content-Type: application/json" I'm not sure, how to put this is in javascript and get data Any suggestions Thanks Malla
... View more
01-22-2019
10:06 AM
|
0
|
1
|
1104
|
POST
|
Robert, fhlayer.definitionExpression = "FH =" + FH; tried "=" and "!=" both are not working
... View more
01-11-2019
12:05 PM
|
0
|
1
|
713
|
POST
|
var evt = window.event || arguments.callee.caller.arguments[0]; tried this, but not working //event.view.selctedfeature.visibility = "hidden"; //event.view.selctedfeature.style.visibility= "hidden"; //var xyz = new esri.Graphic(pointselected.geometry, null, pointselected.attributes); //xyz.visible = false; Any suggestions Thanks
... View more
01-11-2019
10:00 AM
|
0
|
3
|
793
|
POST
|
Robert, made some code changes and two layer click events have different contents, used popup.show in layer click event Example layer image, when user clicks on 1181 it should load content1 and content2 templates when user clicks on place where there is no point, only content2 loads in infowindow
... View more
01-07-2019
08:37 AM
|
0
|
1
|
1583
|
POST
|
i have two on layer click events. scenario is two show two infotemplates when on layer1 is clicked when on "A" layer is clicked "B" layer is not fired initially when i click on "B" layer it is working(area code details information) now code related to "B" is registered after clicking on it, initially on page load evt it was not registered i guess Again if i click on "A" layer now both events works(initially it doesn't) Any suggestions Thanks <!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no">
<title>Non graphic info window</title>
<link rel="stylesheet" href="https://js.arcgis.com/3.27/esri/css/esri.css">
<style>
html, body, #map{
height: 100%;
margin: 0;
padding: 0;
}
</style>
<script src="https://js.arcgis.com/3.27/"></script>
<script>
var map;
require([
"esri/map","esri/dijit/PopupTemplate", "esri/layers/FeatureLayer","esri/InfoTemplate","esri/dijit/Popup",
"dojo/domReady!"
], function(
Map,PopupTemplate,FeatureLayer,InfoTemplate,PopupMobile
){
var service1 = "http://bbb.aaaaa.com/arcgis03/rest/services/aaaa/bbbb/FeatureServer/0";
var service2 = "http://bbb.aaaaa.com/arcgis03/rest/services/sbc/Territorry/MapServer/2";
var popup = new PopupMobile(null, dojo.create("div"));
var Ginfotemplate = InfoTemplate;
map = new Map("map", {
basemap: "topo",
infoWindow: popup,
center: [-87.6298, 41.8781],
zoom: 13
});
var popupTemplate = new PopupTemplate({
content: content1
});
var popupTemplate2 = new PopupTemplate({
content: content2
});
var layer1 = new FeatureLayer(service1, {
mode: FeatureLayer.MODE_AUTO,
infoTemplate: popupTemplate,
outFields: ["*"],
"opacity": 0.9
});
var Glayer1 = layer1;
var layer2 = new FeatureLayer(service2, {
mode: FeatureLayer.MODE_SNAPSHOT,
infoTemplate: popupTemplate2,
outFields: ["*"],
"opacity": 0.5
});
var Glayer2 = layer2;
map.addLayers([layer2,layer1]);
layer1.on("click", function (evt) {
var idProperty = layer1.objectIdField,
feature,
featureId,
query;
if (evt.graphic && evt.graphic.attributes && evt.graphic.attributes[idProperty]) {
feature = evt.graphic,
featureId = feature.attributes[idProperty];
Glayer1.infoTemplate = new Ginfotemplate("Title1" , content1);
popup.show(evt.mapPoint);
}
});
layer2.on("click", function (evt) {
var idProperty2 = layer2.objectIdField,
feature,
featureId,
query;
if (evt.graphic && evt.graphic.attributes && evt.graphic.attributes[idProperty2]) {
feature = evt.graphic,
featureId = feature.attributes[idProperty2];
Glayer2.infoTemplate = new Ginfotemplate("Title2", content2);
popup.show(evt.mapPoint);
}
});
});
</script>
</head>
<body>
<script>
var content1 = "<table class='table'><tr><td>Field1</td><td>${Field1}</td></tr>" +
"</table>";
var content2 = "<table class='table'><tr><td>Teritory</td><td><strong>${Field2}</strong></td></tr>" +
"</table>";
</script>
<div id="map"></div>
</body>
</html>
... View more
01-07-2019
07:38 AM
|
0
|
3
|
1996
|
POST
|
Robert, Deployed in iis, when url is called same certification error and layers are missing on map
... View more
12-19-2018
07:35 AM
|
0
|
1
|
1112
|
POST
|
yes, looks like ssl is the problem but it has validity. but other applications are working good with http or https both.. but my current application is encountering issues with this calls.. Any idea regarding this type of issues? Thanks
... View more
12-18-2018
12:17 PM
|
1
|
1
|
1112
|
Title | Kudos | Posted |
---|---|---|
1 | 04-22-2019 06:52 AM | |
1 | 08-27-2018 09:37 AM | |
1 | 08-20-2019 01:12 PM | |
1 | 12-18-2018 12:17 PM | |
1 | 03-28-2019 08:22 AM |
Online Status |
Offline
|
Date Last Visited |
01-11-2024
09:04 PM
|