|
POST
|
I am learning how to access US Census data through Census API and make the data display on web application as a map. Here is their website: Developers Is there any instruction / sample codes that I can study? I guess my question is: how to get information without using map service url? Since ESRI JavaScript API always goes to create a map using map service first, and how to access online data without a map service? Is JavaScript API the right tool to do this in web map application? Thanks!
... View more
05-16-2016
01:48 PM
|
0
|
5
|
9970
|
|
POST
|
When I use 2 different publishData functions inside startup () of Widget A, I want to send out the message: ‘ABCD’. See codes below: startup: function() { this.inherited(arguments); this.publishData({ message: 'ABCD' }); this.publishData({ message: 'XYZ' }); } // start up ends here Then I set up the onReceiveData function in Layer List widget as the following; I want to receive this signal 'ABCD' from Widget A and display it (I don’t want XYZ to be passed since it will be used for another function). See codes below: onReceiveData: function (name, widgetId, data, historyData) { if (name === 'Widget A'&& data.hasOwnProperty(‘ABCD')) { alert("The Layer List Widget received the signal ABCD"); this._clearLayers(); this.showLayers(); } //if ends here )} But I never see any alert pop up window coming out. Why cann’t my onReceiveData function in LayerList Widget receive this message ‘ABCD’ from Widget A? Many thanks!
... View more
05-12-2016
02:58 PM
|
0
|
2
|
2697
|
|
POST
|
Yes, ESRI also said it may be against the basic rules. Thank you very much!
... View more
05-10-2016
08:58 PM
|
0
|
0
|
992
|
|
POST
|
Once the drawing widget is open, even without doing anything, a layer will be added to the operational list in the Layer List widget. But I don’t want this layer to add if a user does nothing; I only want this result layer added when a user draws something in the widget. Can we adjust something here? I found a function that should control this, called _pushAddOperation: function(graphics){ ….} in line 844 at the widget.js But have no clue how to change it. Thanks!
... View more
05-05-2016
08:22 AM
|
0
|
2
|
2374
|
|
POST
|
I need to remove a field from the Attribute Table, I have unchecked the field from Web Map, query widget, and attribute table widget itself, but the attribute table still read info from map service. Also I changed the field alias from these places, it does not display correct text and format I changed. Is this a bug in ESRI's Attribute table? Do we have any solution on it? Thanks!
... View more
04-13-2016
10:26 AM
|
0
|
0
|
1577
|
|
DOC
|
When I use 'between expression', if I want control the input value to be less than 100. When users input a value more than that, a popup window or message can popup to let users know that he input a wrong value. Is this possible? It seems the html file is dynamic, I can not locate the input field. Thank you!
... View more
04-07-2016
12:11 PM
|
0
|
0
|
9361
|
|
DOC
|
Hi, Robert, When set up a query such as HouseP is at least xxx, when I set it as 'Unique', and select a value say 0 as the default, and also check 'Ask for values' and 'Value is required to be entered to enable search' . After that, when I come to the eSearch platform, the default value display on the screen is not 0, it is always other number. If I set HousP is at most XXX, the default value is also different from I original set up, it is always 1001. Is there any method to make sure the number I set up always display on the screen or let the default input area always empty. Thanks!
... View more
04-07-2016
07:19 AM
|
0
|
0
|
9361
|
|
DOC
|
Hi, Robert, When I set up "between relationship" using eSearch, it seems it does not allow me to set the mini value as 0. If I input 0 and 10000, the expression will be like: "Household_Pop BETWEEN null AND 10000". It has to be a value more than 0. This failed the query. Is there any method to adjust this? Thanks!
... View more
04-06-2016
11:45 AM
|
0
|
0
|
9361
|
|
POST
|
In LayerList Widget, when a map service is like XXXX/XXX/MapServer/0, there are two check boxes displaying, and users have to check the box twice to turn a this layer on. When map service is like XXXX/MapServer, there is only one checkbox in LayerList Widget. Is there anway we can always use one checkbox to control the layer (XXXXX/0)? Thanks!
... View more
04-06-2016
07:04 AM
|
0
|
1
|
2954
|
|
POST
|
I will keep working on it. Thanks a lot for your advise!
... View more
04-05-2016
10:01 AM
|
0
|
0
|
1435
|
|
POST
|
Hi, Robert, Does the following codes look OK to you? I inserted it to Swipe widget js file, but the alert statement does not show up. Why it does not send out anything? Thanks! _onPublishClick: function() { alert("Sending out message"); this.publishData({ message: '' }); },
... View more
04-04-2016
12:41 PM
|
0
|
0
|
1435
|
|
POST
|
I work something out. But it seems I have to open layer list widget first, otherwise the swipe widget does not send anything to LayerWidget. Can I make the layer visible without open the LayerList Widget? Thanks!
... View more
04-04-2016
10:39 AM
|
0
|
2
|
2436
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 09-01-2015 07:06 AM | |
| 1 | 07-20-2015 07:17 AM | |
| 3 | 07-14-2015 04:07 PM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:24 AM
|