POST
|
Hi, I mean how do we do it for this example: Client-side projection | ArcGIS API for JavaScript 4.8 -Akshay
... View more
09-26-2018
10:32 PM
|
0
|
7
|
3447
|
POST
|
Hi, We need to add a street map in the below code for reprojection on the globe. I trust this is graphic which has been added. But is there any way where we can add street map or topo map as well and still use the reprojection? Client-side projection | ArcGIS API for JavaScript 4.8 Thanks in advance!
... View more
09-26-2018
06:03 AM
|
0
|
9
|
3552
|
POST
|
Hi, I have developed a custom print template. There we have some textbox elements. We pass some values on the fly to it. But these textboxes tends to shift in the pdf and are not aligned properly. The whole layout becomes distorted. Is there any way to fix this issue. Thanks in advance!
... View more
08-30-2018
06:06 AM
|
0
|
0
|
487
|
POST
|
ArcGIS Server 10.5. Based on your comments on many threads, I could found out the main cause. It was because of some text in the custom text element which it was not able to read, I don't know why, but the moment I removed them it started working. Thanks, Robert.
... View more
07-01-2018
07:37 PM
|
0
|
0
|
1115
|
POST
|
Hi, I have ArcGIS 10.5 version of ArcGIS and 2.8 version of WAB. I have followed all the steps below but still, I can't find my custom text element option in the advanced button of the print widget. This seems to be very annoying. Can you please help me with this. Printing Popups from Web Application Any help will be appreciated.
... View more
07-01-2018
06:16 AM
|
0
|
2
|
1115
|
POST
|
Maybe I failed to explain my issue correctly. Anyway solved it by simply changing the config value. I was just stressed out today. Thanks Called the below function: showLayers: function () { debugger // summary: // create a LayerListView module used to draw layers list in browser. this.layerListView = new LayerListView({ operLayerInfos: this.operLayerInfos, layerListWidget: this, config: this.config }).placeAt(this.layerListBody); },
... View more
05-18-2018
07:36 AM
|
0
|
1
|
2101
|
POST
|
This is what I'm doing. I really don't want all the layers in the layerlist as there are 200 of them. I just want the one which I programmatically open. var layers = this.map.getLayersVisibleAtScale(this.map.getScale()); array.forEach(layers, lang.hitch(this, function (layer) { if (layer.name == evt.currentTarget.title) { if (evt.currentTarget.checked == true) { layer.setVisibility(true); } else { layer.setVisibility(false); } } })); SO basically when the layer.setVisibility(true); ....It should come in the layerlist widget also.
... View more
05-18-2018
06:51 AM
|
0
|
4
|
2101
|
POST
|
I have developed an application where we turn on the layer visibility programmatically. These layers are on a web map. Now in the layer list widget, I don't want to show all the layers, I just want to show which I have turned on programmatically. The problem is when I configure layerlist, by default I don't add any layers in there. But now when I make the portal layer visibility true, it does not come up in layerlist widget automatically. How can I achieve this? Thanks in advance! Roberts Custom WAB Widgets any suggestions?
... View more
05-18-2018
04:44 AM
|
0
|
7
|
2833
|
POST
|
Hi, I have made a model builder tool. I need to save the logs of this tool in a log file on my D drive of system. Any idea how it can be automated ? Secondly can I call some other windows schedule event once the model is executed ? Any help or insights will be much appreciated. - Akshay
... View more
02-14-2018
05:32 AM
|
0
|
1
|
1219
|
POST
|
I found the issue, something was wrong with the way I put server name and port.
... View more
02-14-2018
05:28 AM
|
0
|
0
|
658
|
POST
|
I'm trying to run a script from ArcGIS Server Administration toolkit. I'm trying to Start or stop the service and I'm getting the error below. Any idea why this is happening ? Running script StopStartService... {u'status': u'error', u'code': 500, u'messages': [u'java.lang.ArrayIndexOutOfBoundsException']}
... View more
02-08-2018
02:09 AM
|
0
|
2
|
846
|
POST
|
Hi, I don't know what wrong I'm doing here. I'm trying to implement smart mapping renderer on web app builder. I have just copy pasted the code from sample itself still it is giving me an error. Error: smartMapping.createClassedColorRenderer: unable to find suitable style scheme. Can someone please help me with the issue. define([
'dojo/_base/declare',
'jimu/BaseWidget',
"dojo/query",
"dojo/_base/lang",
'dojo/_base/array',
"dojox/form/RangeSlider",
"dijit/form/VerticalRule",
"dijit/form/VerticalSlider",
"dijit/form/VerticalRuleLabels",
"dojo/dom-construct",
"dojo/dom",
"dojo/on",
"dojox/widget/ColorPicker",
"dijit/form/DropDownButton",
"dijit/ColorPalette",
"dijit/layout/BorderContainer",
"dijit/layout/ContentPane",
"esri/renderers/SimpleRenderer",
"esri/symbols/SimpleMarkerSymbol",
"esri/Color",
"esri/renderers/DotDensityRenderer",
"esri/renderers/ScaleDependentRenderer",
"esri/dijit/Legend",
"esri/renderers/smartMapping",
"esri/dijit/ClassedColorSlider",
"esri/layers/FeatureLayer",
],
function (
declare,
BaseWidget,
query,
lang,
array,
RangeSlider,
VerticalRule,
VerticalSlider,
VerticalRuleLabels,
domConstruct,
dom,
on,
ColorPicker,
DropDownButton,
ColorPalette,
BorderContainer,
ContentPane,
SimpleRenderer,
SimpleMarkerSymbol,
Color,
DotDensityRenderer,
ScaleDependentRenderer,
Legend,
smartMapping,
ClassedColorSlider,
FeatureLayer
) {
.................
var outFields = ["POP2007", "POP07_SQMI", "WHITE", "BLACK", "AMERI_ES", "ASIAN", "HAWN_PI", "OTHER", "MULT_RACE", "HISPANIC", "STATE_NAME", "NAME"];
var layer1 = new FeatureLayer("//sampleserver6.arcgisonline.com/arcgis/rest/services/Census/MapServer/2", {
"id": "Washington",
"mode": FeatureLayer.MODE_SNAPSHOT,
"outFields": outFields,
"opacity": 0.8
});
//only working with Washington state
layer1.setDefinitionExpression("STATE_NAME='Washington'");
this.map.addLayer(layer1);
layer1.on("load", lang.hitch(this, function () {
smartMapping.createClassedColorRenderer({
layer: layer1,
field: "POP2007",
basemap: this.map.getBasemap(),
classificationMethod: "quantile"
}).then(function (response) {
layer1.setRenderer(response.renderer);
layer1.redraw();
// createLegend(this.map, layer1, field);
});
}));
... View more
02-05-2018
08:46 AM
|
0
|
4
|
1093
|
Title | Kudos | Posted |
---|---|---|
1 | 02-01-2018 06:19 PM | |
1 | 08-03-2022 10:17 PM | |
1 | 01-11-2018 07:40 AM | |
1 | 01-11-2018 06:12 AM | |
1 | 08-28-2017 02:59 AM |
Online Status |
Offline
|
Date Last Visited |
06-26-2023
01:44 PM
|