|
POST
|
It's not directly (officially) supported in Chrome or Firefox. You can read about some hackarounds here.
... View more
04-07-2015
02:25 PM
|
0
|
0
|
1862
|
|
POST
|
I think your best bet is to add an event listener for the click event of your button: on(dom.byId('buttonExit'), 'click', function() {
exitApplication();
}); Since you're using a Dojo button, you could also do the same thing using dijit.byId as well: on(dijit.byId('buttonExit'), 'click', function() {
exitApplication();
});
... View more
04-07-2015
12:08 PM
|
0
|
0
|
1862
|
|
POST
|
You can always try another REST data service and see if that has better performance. The USGS's National Map has several REST services you could draw upon. States and counties can be found in this particular service: http://services.nationalmap.gov/arcgis/rest/services/govunits/MapServer
... View more
04-03-2015
08:39 AM
|
2
|
1
|
2625
|
|
POST
|
More than likely, the issue lies with the specified order of widgets in your code: require([
"esri/dijit/BasemapToggle",
"esri/map",
"esri/layers/ArcGISDynamicMapServiceLayer",
"esri/layers/ImageParameters",
"dojo/dom",
"dojo/on",
"dojo/query",
"dojo/domReady!"
],
function (Map, ArcGISDynamicMapServiceLayer, ImageParameters, BasemapToggle, dom, on, query) {..... Change it to this and see what happens: require([
"esri/map",
"esri/layers/ArcGISDynamicMapServiceLayer",
"esri/layers/ImageParameters",
"esri/dijit/BasemapToggle",
"dojo/dom",
"dojo/on",
"dojo/query",
"dojo/domReady!"
],
function (Map, ArcGISDynamicMapServiceLayer, ImageParameters, BasemapToggle, dom, on, query) { In the function() declaration, basemapToggle must be in the same position specified as part of the reuire([..]) statement.
... View more
04-01-2015
03:47 PM
|
2
|
1
|
1581
|
|
POST
|
Couldn't you just make your label layer visible at the very beginning of your print process (click event of your print button) and then turn it back off using the printTask's "complete" event?
... View more
03-26-2015
02:23 PM
|
1
|
3
|
2220
|
|
POST
|
One of the JS team members tweeted out a link to the slides for the Road Ahead session from the recent Developers Conference: https://ycabon.github.io/ds2015-arcgis-api-for-javascript-the-road-ahead/#/
... View more
03-23-2015
12:27 PM
|
2
|
1
|
3326
|
|
POST
|
How about adding some simple HTML buttons in a DIV located above your attribute inspector widget and then calling the inspector's next and previous methods in the onClick event for those HTML buttons? Might be the easiest solution instead of trying to hack the widget. Steve
... View more
03-11-2015
04:13 PM
|
0
|
1
|
1993
|
|
POST
|
The renderer is a property of the featureLayer so: var theRenderer = theLayer.renderer;
... View more
03-11-2015
04:06 PM
|
1
|
12
|
5676
|
|
POST
|
I'm afraid you won't get any sort of confirmation by your deadline. The map gallery submissions start March 23. The good news is that if you are already registered, you can basically assure yourself of showing a map in the gallery, especially if you submit early. The map gallery is NOT like a paper presentation so it's first come, first served. In alllllllllll the years that I've attended, they've never run out of panels in the gallery (they usually add ESRI "fluff" maps to fill the unused boards).
... View more
03-11-2015
07:57 AM
|
0
|
0
|
1075
|
|
POST
|
Very cool to have operations like buffer on the client side, thank you! I'm also interested in the nearestVertices method, although I would have liked to have seen a simple "along" method to return a location a specified distance from the start/end of a line. NearestVertices sounds similar but I think there is a difference between the two concepts.
... View more
03-09-2015
08:31 AM
|
0
|
0
|
2016
|
|
POST
|
I've only developed a single web app so far but... Your app lives and dies based on dependencies, and those dependencies are usually out of your control. In my organization, I'm free to develop using an internal instance of AGS but, if the app is to be public facing, it requires a formal project initiation with our IT (and the code base is handed off to them for implementation on the other side of the firewall). During development and a silent "live" beta period of 10 months, my app worked largely flawlessly. Just 2 months after turning live, the app went south and spent far more time not working than working. I largely blame the issues on a.) outdated version of ArcGIS Server (10.1), b.) possibly inefficient AGS Server setup, and c.) whatever the hell that IT people usually do on a routine basis that has unintended far reaching effects. I anticipated several situations that would result in an app that did not work or load properly but it seemed like many of the culprits were the result of something else (hardware failure, SDE connections changing due to upgrades, etc). I've found it extremely difficult to be proactive about application uptime. Services seem to go stale or stall too quickly and there's no GOOD way to get alerted to this before you're contacted and told that your app has been dead for days. Again, I think our problems might lie in the installation and setup of AGS in our organization. I kind of want us to contact Technical Support and get a 3rd party "audit" of our setup to ensure we have done things properly. We're FINALLY upgrading AGS to 10.3 so I'm hopeful that this will help. Outside of instability, I knew upfront that I would need to create a "mobile friendly" version of our application. I've done that and I'm happy with that but it does add another whole new base of code to maintain. If you need to fix some sort of flaw or add an enhancement, you have to maintain two sets of code.
... View more
03-09-2015
08:19 AM
|
0
|
0
|
928
|
|
POST
|
Blake T I have switched my code base over to using the da module and it runs successfully. Can you point me to a code sample that illustrates using the "with" statement?
... View more
02-20-2015
02:10 PM
|
0
|
2
|
3398
|
|
POST
|
...and here's where things probably get messy. We have two connection possibilities, depending on if the user is simply just viewing data or if they are "editors" of data in the SDE. Here's the screenshot of the connection as an editor: The other connection (view only) would appear as WIN_USER@[email protected]:
... View more
02-20-2015
10:44 AM
|
0
|
1
|
1313
|
|
POST
|
James Crandall Honestly, I don't know. This just seemed like a reasonable approach to me at the time. I'm not completely sure about what you're suggesting. Are you talking about simply importing the table into SDE everytime the task scheduler runs? I kinda thought about that but since the table is also being consumed in a map service, I wondered if deleting it would cause issues (albeit it would only be deleted for a fraction of time).
... View more
02-20-2015
10:30 AM
|
0
|
1
|
1313
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 12 hours ago | |
| 1 | yesterday | |
| 1 | yesterday | |
| 1 | yesterday | |
| 1 | Wednesday |