|
POST
|
Hi Kathleen Crombez 1. You shouldn't have to worry about that if you use the following. 2. I just tried this on my web app. You can refer to this page to allow the user to use keyboard keys to move the mouse pointer: Use Mouse Keys to move the mouse pointer It also tells you what the equivalent key is for the various mouse events. If you use something different than Windows 7, just perform a search on Use Mouser Keys to move the mouse pointer [your operating system] Now when you move your pointer over the map, to get navigation back, you need to press the left ALT + left shift + NUM LOCK This will allow for regular map navigation which can be found here: Map navigation | Guide | ArcGIS API for JavaScript When you need to go back to the mouse, press press the left ALT + left shift + NUM LOCK and it will be in mouse mode again. I can't say I tried the following, but I thought that key combination would be annoying; I tried to look up hotkeys. You can try this out(untested) - Turn Any Action Into a Keyboard Shortcut: A Beginner's Guide to AutoHotkey or something else to simplify the combination. One more thing about this, make sure that your pointer under Set up Mouse Keys has a pointer speed of Top speed and the Acceleration is fast. I find that it does not appear to work if you don't do this. 3. The zoom slider buttons should be an element, so you should be able to inspect the element and the use the tabIndex. 4. Since the image should use an image source you should be able to concatenate your alt tag in JavaScript with whatever produces the image. You may need to check that out in the Development tools in your browser. 5. That one I'm not sure about. Can you give an example or share your code on something like JS Bin - Collaborative JavaScript Debugging to provide a basic example of what is not working for this one. I have used multiple widgets in my apps, so I may just need a visual to understand this one. Hope this helps.
... View more
06-25-2015
01:02 PM
|
1
|
0
|
1792
|
|
DOC
|
I'm going to the UC too. I wonder how many other Devs here will. There will be a DevMeetup and Lightning talks there. Wouldn't mind seeing people from here in person.
... View more
06-24-2015
02:19 PM
|
2
|
0
|
6237
|
|
POST
|
Do you think a map pages widget could be created? And what about a print map with overview displaying on the printout?
... View more
06-24-2015
07:21 AM
|
0
|
1
|
1243
|
|
POST
|
I shared this in the ArcGIS API for JavaScript Space. More people that know about your topic will see it.
... View more
06-24-2015
06:06 AM
|
1
|
0
|
1585
|
|
POST
|
Good call. I added the variable reset on form opening.
... View more
06-23-2015
02:35 PM
|
0
|
0
|
354
|
|
POST
|
That worked well. Here is my final code for anyone that may have a similar question for both previous and next buttons: // Cycle through sign information with the previous button
on(dom.byId("btnSupportPrevious"),"click",function(){
console.log("Previous Works");
var query = new esriQuery();
var queryTask = new QueryTask(config.signLayerUrl);
query.returnGeometry = false;
query.outFields = ["*"];
query.where = "SUPPORTID = " + dom.byId("supportId").value;
queryTask.execute(query, function (results) {
ii--;
// Attempting to know how many signs are in my results
// Use gettArray.html to get array values
var resultItems = [];
var resultCount = results.features.length;
if (ii > -1) {
console.log("Results start now!");
console.log(results);
var featureAttributes = results.features[ii].attributes.GLOBALID;
for (var attr in featureAttributes) {
console.log("Attribute: " + featureAttributes);
}
} else {
console.log("This is where you will get the support information");
//document.getElementById("btnSupportNext").disabled = true;
}
})
});
var ii;
// Cycle through sign information with the next button
on(dom.byId("btnSupportNext"),"click",function(){
console.log("Next Works");
var query = new esriQuery();
var queryTask = new QueryTask(config.signLayerUrl);
query.returnGeometry = false;
query.outFields = ["*"];
query.where = "SUPPORTID = " + dom.byId("supportId").value;
queryTask.execute(query, function (results) {
ii++;
// Attempting to know how many signs are in my results
// Use gettArray.html to get array values
var resultItems = [];
var resultCount = results.features.length;
if (ii < resultCount) {
console.log("Results start now!");
console.log(results);
var featureAttributes = results.features[ii].attributes.GLOBALID;
for (var attr in featureAttributes) {
console.log("Attribute: " + featureAttributes);
}
} else {
console.log("This is where you will get the support information");
//document.getElementById("btnSupportNext").disabled = true;
}
})
});
on(dom.byId("btnSignPrevious"),"click",function(){
console.log("Previous Works");
});
on(dom.byId("btnSignNext"), "click", function () {
console.log("Next Works");
}); And I updated my application on Github: csergent45/streetSigns at aad189ff1daba057c241f38038f172d045c5bf63 · GitHub
... View more
06-23-2015
02:34 PM
|
0
|
0
|
1950
|
|
POST
|
I know. I want it to increment by one with each click. I believe I may need to set my values before the click event as there appears to be nothing from stopping the loop. It just appears to run completely with each click.
... View more
06-23-2015
01:00 PM
|
0
|
4
|
1950
|
|
POST
|
That actually gives me all of the attributes and I need one a at a time.
... View more
06-23-2015
10:00 AM
|
0
|
6
|
1950
|
|
POST
|
Simple is good, but I am trying to get the following. I have an array of two as seen below. For each item in the array, I need to fill in a form, so I only want one item in the array but I need the features.itemInArray.attributes and then the value of ATTACHLOC, ATTACHNUM, ATTACHTYPE and so on for the first button click. The value for ATTACHLOC in the following picture would be Main Pole. And then I would click on the button again and then I want to populate the values from the second item in the array, but for each attributes item value. Does this help?
... View more
06-23-2015
09:55 AM
|
0
|
1
|
1950
|
|
POST
|
Here is a code sample that I have that acquires an array of values: JS Bin - Collaborative JavaScript Debugging There are signs that display the following. I need to get the objectID from the first sign, and then the installed value and then signId and so on. Then I would go to the next item in the array on button click. How would I do that? OBJECTID: 9263 INSTALLED: null SIGNID: 1169 FACING: S VISIBILITY: Good CONDITION_: Good SUPPORTID: 691 TEXT: COLOR1: DELINEATOR: None ILLUM: None OFFSET: null MOUNTHT: null BACKING: Aluminum WIDTH: null HEIGHT: null TXTSIZE: null NUMSIZE: null COMMENTS: TWOSIDED: Y ATTACHTYPE: Bolts ATTACHNUM: null ATTACHLOC: Main pole SITEOBS: Clear SIGNSHAPE: COLOR2: MUTCD: R1-1 (Stop Sign) GLOBALID: {34E39E75-F785-4272-8F2E-7A13349817F0} OBJECTID: 9264 INSTALLED: null SIGNID: 1168 FACING: E VISIBILITY: Good CONDITION_: Good SUPPORTID: 691 TEXT: COLOR1: DELINEATOR: None ILLUM: None OFFSET: null MOUNTHT: null BACKING: Aluminum WIDTH: null HEIGHT: null TXTSIZE: null NUMSIZE: null COMMENTS: TWOSIDED: Y ATTACHTYPE: Other ATTACHNUM: null ATTACHLOC: Main pole SITEOBS: Clear SIGNSHAPE: COLOR2: MUTCD: D3-1 (Street sign) - Street Name & Parking Signs GLOBALID: {C8253B28-2EEA-43B2-BFB0-2F1658741E45} OBJECTID: 9265 INSTALLED: null SIGNID: 1167 FACING: N VISIBILITY: Good CONDITION_: Good SUPPORTID: 691 TEXT: COLOR1: DELINEATOR: None ILLUM: None OFFSET: null MOUNTHT: null BACKING: Aluminum WIDTH: null HEIGHT: null TXTSIZE: null NUMSIZE: null COMMENTS: TWOSIDED: Y ATTACHTYPE: Other ATTACHNUM: null ATTACHLOC: Main pole SITEOBS: Clear SIGNSHAPE: COLOR2: MUTCD: D3-1 (Street sign) - Street Name & Parking Signs GLOBALID: {75AE4A49-7A0E-48B0-A6DD-4FB318BFFC27} OBJECTID: 22205 INSTALLED: null SIGNID: 1169 FACING: S VISIBILITY: Good CONDITION_: Good SUPPORTID: 691 TEXT: COLOR1: DELINEATOR: None ILLUM: None OFFSET: null MOUNTHT: null BACKING: Aluminum WIDTH: null HEIGHT: null TXTSIZE: null NUMSIZE: null COMMENTS: TWOSIDED: Y ATTACHTYPE: Bolts ATTACHNUM: null ATTACHLOC: Main pole SITEOBS: Clear SIGNSHAPE: COLOR2: MUTCD: R1-1 (Stop Sign) GLOBALID: {D0188C14-D518-42BE-B36E-CCEDB4474BD3} I have managed to get the first letter of an attribute to increment however: on(dom.byId("btnSupportNext"),"click",function(){
console.log("Next Works");
var query = new esriQuery();
var queryTask = new QueryTask(config.signLayerUrl);
query.returnGeometry = false;
query.outFields = ["*"];
query.where = "SUPPORTID = " + dom.byId("supportId").value;
queryTask.execute(query, function (results) {
// Attempting to know how many signs are in my results
// Use gettArray.html to get array values
console.log("Results start now!");
console.log(results);
var resultItems = [];
var resultCount = results.features.length;
for (var i = 0; i < resultCount; i++) {
var featureAttributes = results.features.attributes.ATTACHLOC;
for (var attr in featureAttributes) {
console.log("Attribute: " + featureAttributes[attr]);
}
}
})
});
... View more
06-22-2015
02:27 PM
|
0
|
11
|
5210
|
|
POST
|
Based on Esri's feature service here: Layer: Wildfire Response Points (ID: 0) It looks like you may need to set the labels for the unique values.
... View more
06-22-2015
01:09 PM
|
0
|
0
|
922
|
|
POST
|
I update a map every month that displays where recycle bins need to be dropped off. I then have to position and update the map pages to ensure that there is a map page for all recycle bins in a given area. Is there anyway to use draw features and editing to do this and make the map page numbered as well on print?
... View more
06-19-2015
02:47 PM
|
0
|
0
|
3251
|
|
POST
|
You may want to consider sharing here: Esri Arcgis Ideas | Ideas Submission Portal Ideas are voted on and with enough support are sometimes implemented.
... View more
06-18-2015
11:15 AM
|
0
|
0
|
426
|
|
POST
|
According to this, the Flex API 2.x was retired June 1, 2014: http://downloads.esri.com/support/product%20life%20cycle/online_gis/ArcGISWebMappingAPIs_PLC.pdf You would probably need to download Flex API 3.x. But keep in mind that Flex will be completely be retired as June 1, 2016. If possible you may want to consider migrating your application to the Esri JavaScript API. or for template based apps, you could try the Web AppBuilder for ArcGIS which uses ArcGIS Online. I also found an article for Migrating and Converting from 2.5 to 3.0 in Flex: Migrating from 2.5 to 3.0—ArcGIS API for Flex | ArcGIS for Developers If you need to keep it Flex, this might be the way to go for you.
... View more
06-17-2015
02:43 PM
|
1
|
3
|
905
|
|
POST
|
Here is an example of how one person did it: ArcGIS JS API: Convert ESRI Date Type into String - Geographic Information Systems Stack Exchange
... View more
06-17-2015
02:34 PM
|
0
|
1
|
855
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 02-26-2015 12:31 PM | |
| 1 | 06-24-2015 06:06 AM | |
| 1 | 07-15-2015 12:34 PM | |
| 1 | 05-21-2015 02:27 PM | |
| 1 | 05-19-2015 11:52 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:23 AM
|