DOC
|
Hi, Robert, Thanks for your wonderful widget! It really helps me a lot! I would like to add the searching results of eSearch to the LayerList Widget every time after we finish one search (even for the same searching layer). Currently, for each searching layer the eSearch widget will provide only one operational layers in LayerList Widget and only one attribute table tab (in AttributeTable Widget). Can we have as many operational layers as we start a new search each time, and each searching result can have a separate attribute table (same as current ESRI’ s search widget)? Now the eSearch widget clears the previous search results and update the new search results to the Layer List every time when users start a searching for one searching layer (I understand this is actually a big improvement). Are there any codes to change to get the above effect? Thanks!
... View more
05-31-2016
07:48 AM
|
1
|
0
|
2685
|
POST
|
In the Situation Awareness widget, the summary features can be checked on to display summary Features (at the bottom of the picture). My question is: is there any method to adjust the transparency of the summary features from the source code? Thanks!
... View more
05-02-2016
07:26 AM
|
0
|
2
|
1498
|
POST
|
I am creating a simple widget with the same function as the following link: http://developers.arcgis.com/javascript/sandbox/sandbox.html?sample=query_nomap I just want to open this widget, click one button to do the query, and display the query results inside the widget pane (I will use a different url later). Here are my codes for widget.js and widget.html. I am confused why my codes are not working. My question is how to make the results display in the widget.html or widget pane? Why the JS API codes are not working in the return declare () method? Any hints are very helpful. BTW, I don't have setting files or manifest json files. Thanks! widget.js as the following: define(['dojo/_base/declare', 'dojo/_base/array', 'jimu/BaseWidget','dojo/dom', 'dojo/on',
'esri/tasks/query', 'esri/tasks/QueryTask', 'dojo/domReady!'],
function(declare, array, BaseWidget,dom, on, Query, QueryTask) {
return declare([BaseWidget], {
baseClass: 'jimu-widget-widgetb',
var queryTask = new QueryTask("https://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/5");
var query = new Query();
query.returnGeometry = false;
query.outFields = [
"SQMI", "STATE_NAME", "STATE_FIPS", "SUB_REGION", "STATE_ABBR",
"POP2000", "POP2007", "POP00_SQMI", "POP07_SQMI", "HOUSEHOLDS",
"MALES", "FEMALES", "WHITE", "BLACK", "AMERI_ES", "ASIAN", "OTHER",
"HISPANIC", "AGE_UNDER5", "AGE_5_17", "AGE_18_21", "AGE_22_29",
"AGE_30_39", "AGE_40_49", "AGE_50_64", "AGE_65_UP"
];
on(dom.byId("execute"), "click", execute);
function execute () {
query.text = dom.byId("stateName").value;
queryTask.execute(query, showResults);
}
function showResults (results) {
var resultItems = [];
var resultCount = results.features.length;
for (var i = 0; i < resultCount; i++) {
var featureAttributes = results.features.attributes;
for (var attr in featureAttributes) {
resultItems.push("<b>" + attr + ":</b> " + featureAttributes[attr] + "<br>");
}
resultItems.push("<br>");
}
dom.byId("info").innerHTML = resultItems.join("");
});
}); widget.html <div> <input type="text" id="stateName" value="California"> <input id="execute" type="button" value="Get Details"> <br /> <div id="info" style="padding:5px; margin:5px; background-color:#eee;"> </div> </div>
... View more
04-19-2016
01:24 PM
|
0
|
2
|
2308
|
POST
|
In Launch Pad theme, I created a widget group (as the following folder icon). After it is open, when users is hovering over the icon, text (e.g. ‘Census Tract’ pops up). I would like to make the text of pop-up text darker and bold, and bigger. I am changing the code from theme - LaunchpadTheme -- widgets --AnchorBarController – css –style.css and codes like below: .jimu-anchorbar-more-pupup .jimu-anchorbar-iconitem .icon-item.dockable{ margin-top: 0; font-weight: bold; } But it does not do the change. Is there anything can work? Thanks!
... View more
04-14-2016
07:51 AM
|
0
|
1
|
2345
|
POST
|
Thank you very much! I have marked the reply as correct answer.
... View more
04-12-2016
03:09 PM
|
0
|
0
|
377
|
POST
|
I would like to change the icon of the widget group: need to change the folder icon to the query icon. But the Develop Edition does not provide any options for that. Can I change it from the source code somewhere? Thanks a lot!
... View more
04-12-2016
03:08 PM
|
0
|
6
|
3492
|
POST
|
I mean click on the folder icon, it display/pop up 2 widget icons (widget A and widget B), then click on one of them, it can open one widget at one time. Thanks a lot!
... View more
04-12-2016
09:56 AM
|
0
|
2
|
377
|
POST
|
I am using the LaunchPad Developer Edition to develop an app, I would like to create a folder icon, and click on it, it can pop up several different widgets, then I can select on it and open each one I want as following pic: Is there any method I can realize this effect? Thanks!
... View more
04-12-2016
09:40 AM
|
0
|
4
|
2584
|
POST
|
This helps a lot! Thanks! https://community.esri.com/message/594187#comment-594187
... View more
04-11-2016
11:30 AM
|
1
|
0
|
407
|
POST
|
Yes, Launch Pad. Sorry! The name is going to be a very long one, like 5-7 words, not confirmed yet.
... View more
04-11-2016
11:02 AM
|
0
|
1
|
407
|
POST
|
I need to adjust the black frame width (as the following) to make it longer so that our title text can fully display? Is this possible? I have checked the theme folder and css, but did not get anything. Thanks for your help!
... View more
04-11-2016
10:09 AM
|
0
|
4
|
2356
|
POST
|
There is an important layer that we set up a password which only allows internal users to access. When we use Web AppBuilder (Developer Edition) to add this layer to our web app, it never displays although the password is correct. But when the web app is set up with regular Web AppBuilder (in AGO Account), the layer can display without any problem after inputting password. Why does this happen? Thanks!
... View more
02-09-2016
03:53 PM
|
0
|
1
|
1680
|
POST
|
I would like to create a widget to do this: once it is closed, it will uncheck all the current CHECKED layers in the Layer List Widget (ESRI’s Widget). I am working inside the onClose: function(). What I was thinking is forEach(myLayers in LayerInfos){ … }, but then have no clue where to start. Do I have to communicate with the Layer List Widget? Any hint will be greatly helpful. Thanks!
... View more
02-01-2016
12:12 PM
|
0
|
2
|
2977
|
Title | Kudos | Posted |
---|---|---|
1 | 04-11-2016 11:30 AM | |
1 | 05-31-2016 07:48 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:25 AM
|