|
POST
|
Nicolas, I think you are asking for a way to add more fields to the popup. If so, you need to change two sections of code. You need to look at the service and add more outfields for the ones you want to add. outFields: ["NAME", "POP2000", "POP2007", "POP00_SQMI", "POP07_SQMI"] and you then need to add the corresponding fields to this section. southCarolinaCounties.on("mouse-over", function(evt){
var t = "<b>${NAME}</b><hr><b>2000 Population: </b>${POP2000:NumberFormat}<br>"
+ "<b>2000 Population per Sq. Mi.: </b>${POP00_SQMI:NumberFormat}<br>"
+ "<b>2007 Population: </b>${POP2007:NumberFormat}<br>"
+ "<b>2007 Population per Sq. Mi.: </b>${POP07_SQMI:NumberFormat}"; Can you post the code you have changed so we can see what it looks like?
... View more
06-05-2015
08:04 AM
|
0
|
2
|
1401
|
|
POST
|
Robert, I copied your code into this demo3 and the filter does not seem to work. The console log does not give any errors either.
... View more
06-05-2015
07:57 AM
|
0
|
5
|
2089
|
|
POST
|
Thanks! I don't know how long it will take me to "package" it. My boss does not want me to spend more time on writing the setting files because I can configure it for anyone who needs the app here. So I am not sure if that part will ever get done... I can post the code so others can use it in a few weeks. They will just have to configure it themselves. We (Stan McShinsky and I) am still working out some parts and improving on it.
... View more
06-04-2015
02:22 PM
|
2
|
2
|
3733
|
|
POST
|
I have started my own widget. Here is a current version demo3
... View more
06-04-2015
02:05 PM
|
1
|
4
|
3733
|
|
POST
|
Stan, Any input is welcome! A way to select certain hrs of the day such as 2pm-4am but let the user decide. I guess that would just be a time slider I just don't know how one would be able select overnight times. I had not noticed that there was a time next to the date. I will fix it. The Time in the time field is the right time.
... View more
06-04-2015
01:09 PM
|
0
|
1
|
2089
|
|
POST
|
Robert, This is perfect because I can easily add more! I now have 4. One issue I am having is that each drop down has to be "touched" for the filters to start working. Here is a demo of my problem. demo3
... View more
06-04-2015
12:18 PM
|
0
|
1
|
1327
|
|
POST
|
I thought of another way that does work: NOT Time BETWEEN '03:00:00' AND '21:00' Thank you both for your input.
... View more
06-04-2015
10:47 AM
|
1
|
0
|
1748
|
|
POST
|
thejus and Chris, Neither of these returns results. I am using this in a definitionexpression. They both work for times that are within 24 hrs. Such as 6am-8pm The OR statement works but for some reason that messes up the rest of the definitionexpression
... View more
06-04-2015
10:22 AM
|
0
|
1
|
1748
|
|
POST
|
Peggy, This app that I made does this City of Ashland Cemetery The app pulls from 2 layers a cemetery and a mausoleum layer
... View more
06-04-2015
07:40 AM
|
1
|
4
|
1300
|
|
POST
|
Stan McShinsky, You work wonders! Here is the next version: Demo3 Any Ideas on a time selector? I am having issues with time selections that go into a new day. Ex. 9pm-2am p.s. did you get a widget that works for you in your original question?
... View more
06-04-2015
07:13 AM
|
1
|
3
|
4750
|
|
POST
|
Danel, I know this is late to the conversation but WAB - Date range picker talks about definition expression
... View more
06-04-2015
06:32 AM
|
0
|
0
|
624
|
|
POST
|
I am using JavaScript. I am looking for a way to write: Time >= '21:00'AND Time <= '23:59:59' OR Time >= '00:00:01' AND Time <= '02:00' Without an OR statement. What I really need is time (9pm-2am).
... View more
06-03-2015
08:46 AM
|
0
|
5
|
4880
|
|
POST
|
Michael, Try:Specify LODs (levels of detail) | ArcGIS API for JavaScript or: Set visible scales | ArcGIS API for JavaScript
... View more
06-03-2015
08:36 AM
|
1
|
0
|
1389
|
|
POST
|
Stan, Here is the next draft of the widget: demo2 The popup can now be configured, Multiple filters can be added easier, number of visible records displayed. As I posted elsewhere my boss does not want me to spend my time writing the setting files for the widget. So it will take a while before it gets done.
... View more
06-02-2015
11:21 AM
|
1
|
6
|
4750
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 08-28-2025 01:53 PM | |
| 1 | 08-24-2022 09:40 AM | |
| 1 | 07-19-2018 04:41 PM | |
| 1 | 04-05-2024 03:12 PM | |
| 1 | 07-04-2024 11:42 AM |