|
POST
|
Yes- I am referring to the app that's available in iTunes/Google Play store. I think three years ago, it was a dedicated app for that year's UC but now it's morphed into the more generic "Events" app.
... View more
07-23-2014
07:45 AM
|
0
|
0
|
2122
|
|
POST
|
Well, the old agenda planners allowed you to search by track. industry, etc so it was easier than using this year's attempt. What I used to do was search for keywords, copy abstracts + room info into a Word file, organize by date/time blocks and print it out for the conference. I am well versed in the "old school" method of conference planning. The creation of an app a few years ago was a huge step forward. Why it has to get continually changed, however, is beyond me. Oh- one more thing missing from this year's pocket agenda- daily times for the map gallery, exhibit hall, etc. The plenary session also seemed "sparse" at best.
... View more
07-21-2014
03:36 PM
|
1
|
2
|
2122
|
|
POST
|
NO- there is not (at least for free). This year, ESRI kept quiet that the technical workshop presentations, which were provided to all conference attendees via DVD after the conference, were no longer being provided. If you wanted to obtain them, you would have to purchase them through a third party. There was a "discounted" conference rate of $300 which jumped up to $500. Again, this USED to be included with your registration costs but no longer. The website for the third party is: https://www.esrionline.com/
... View more
07-21-2014
03:14 PM
|
0
|
0
|
1433
|
|
POST
|
This year's agenda failed spectacularly. The printed pocket agenda was completely missing any workshop/presentation that was located downstairs in ESRI-land (this was not the case last year and in previous years). The ESRI Events app was inconsistent between OS versions (iOS *would* add a workshop to your calender but the Android version would not add them on my tablet). The plain web agenda planner was also lacking the ability to add sessions to your calender. In previous years, you could add them to your Outlook calender, ICal, etc. Not this year. If it's not broke, fix it- just like the forums.
... View more
07-21-2014
03:07 PM
|
4
|
5
|
2122
|
|
POST
|
Finally getting around to porting a VBA based toolset to an addin using .NET. On a dialog, I include a button for my users to quickly change their active tool to ESRI's Route Identify tool. Under VBA, this was referenced as arcid.Lr_Route_Identify and the UID was/is "{6C3CC7D2-0EA4-43A0-88C3-911FEDCBF268}". I'm trying to do the same thing on the .NET side but that UID isn't listed in the documentation. The tool still exists so I'm not sure what to do here. My little .NET code is like this: Private Sub cmdRteIdentify_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles cmdRteIdentify.Click Try 'Changes the current tool to the Route Identify Tool Dim application = My.ArcMap.Application Dim pUID As New UID pUID.Value = "esriArcMapUI.SelectTool" application.CurrentTool = application.Document.CommandBars.Find(pUID) Catch ex As Exception globalErrorHandler(ex) End Try End Sub Should I just use the "{...}" value in my routine and just ignore the fact that I can't find the appropriate "esriArcMapUI.x" equivalent? I like using the latter since it's a bit more reader friendly for understanding the code later on down the line. Thanks! Steve
... View more
06-06-2014
10:00 AM
|
0
|
2
|
1299
|
|
POST
|
Since your app is an internal application, it's really hard for us on the outside to troubleshoot what you're seeing. Your description makes me think there's a "cart in front of the horse" situation whereby part of your code is trying to use an object before it's returned from a query. In other words, "e" might be null because the code is accessing it before it gets populated. I've been tripped up by this type of situation before and it's frustrating to remedy. I tried pulling out your dependencies on the code and from what limited things I can do, I'm not experiencing an error like you posted. Line 205 also doesn't seem to make sense in the code I have in front of me. Where is that? Is that in the addGraphic function we just added a post or two ago?
... View more
06-03-2014
03:10 PM
|
0
|
0
|
1141
|
|
POST
|
Does it give you a line number when it errors? It looks like you only have one instance of an "e" variable in the "draw-complete" event handler. A type error is an error that happens when the variable has a value that is different than what should normally be present. For example, you buy a product with assembly instructions but it only comes with instructions in Spanish. Code specific examples are passing a numeric value when something expects text, a function expects a polyline as input and you pass it a point, etc. In this case, e should have some sort of value but for whatever reason, it is null (or empty). First things first- make a backup of your project / HTML file before proceeding. You've gotten to a certain point so if things get screwed up, you want a recent spot to start again. Back up? Good. Here's something to try: let's tweak your initSelectionToolbar function. First, modify the function like this: function initSelectionToolbar() {
map.graphics.clear();
selectionToolbar = new Draw(map);
selectionToolbar.on("draw-end", addGraphic);
} Next, add a NEW function to your project named addGraphic: function addGraphic(e) {
selectionToolbar.deactivate();
var symbol3 = new SimpleFillSymbol(
"solid",
new SimpleLineSymbol("dash", new Color([255, 0, 0]), 2),
new Color([255, 255, 0, 0.25])
);
var graphic = new Graphic(e.geometry, symbol3);
map.graphics.add(graphic);
extractMethod = "extractByPoly";
} Most ESRI samples tend to shy away from using inline functions within event handlers and usually make a call to some other function within the project. I'm wondering if that's the issue here... Steve
... View more
06-03-2014
01:28 PM
|
0
|
0
|
3658
|
|
POST
|
UI Events = User Interface events. What we're saying is that the value for the variable extractMethod should only be set as a result of an action taken by a user using your web app. The value should only be set/modified if the user a.) draws a polygon, b.) selects a county from the county combo box list, or c.) selects a unit from the unit combo box list. All three of these actions are basically UI events. Owen states "declare this variable once" and that's what I was suggesting my moving it way up in your code to the very top, before the Require() stuff. Provided you have incorporated what Owen last posted in his jsbin example, you should DELETE the following lines that were in your original code posted: var extractMethod = "extractByPoly";
var extractMethod = "extractByCounty";
var extractMethod = "extractByUnit"; Remember earlier in this thread when I posted this code snippet? var gp, map, toc, dynaLayer1, query, queryTask;
var symbol, infoTemplate, extractMethod;
var AOI, graphic, clipFeatureSet, clipFeature; The variable is declared as global and ready to use (you don't necessarily need to assign a value to declare a variable). Hope this clears up some of the confusion! Steve
... View more
06-03-2014
09:41 AM
|
0
|
0
|
3658
|
|
POST
|
@Alex- I'm glad Jeff's fresh eyes was able to figure out what I was missing. @Owen- what you posted looks like it's doing what I was originally suggesting. I think you've got the right solution. Steve
... View more
06-02-2014
06:16 PM
|
0
|
0
|
3658
|
|
POST
|
hi steve, i've attached a zip file of both legacy and AMD versions of 3 different applications that are a little more complicated than I used for my blog. hope you find reviewing them helpful. Thanks, John, for posting that. A few comments- Your ZIP file contains three samples but only one (ed_multipleAttrInspector) is actually legacy and AMD. Most likely a copy/paste error but the other two samples are both AMD despite what the file name says. As for the one sample that does include both, it's helpful but still simplistic and pared down. I'm thinking something more along the lines of the JavaScript Viewer or Finder application template. One of my apps uses the Highchart JS library for charting, another library for date/time manipulation, and another for just general JS related functions. They all have their own Javascript source files. How do I incorporate these into AMD style code? That's what I mean when I say that the official ESRI samples are on the simplistic side. Steve
... View more
05-30-2014
02:30 PM
|
0
|
0
|
690
|
|
POST
|
hi michael, first, i recommend checking out this blog post. I know this is ESRI's default response and I will admit that the blog post is helpful. But let's be honest- it's the equivalent to a Hello, World! programming example. I understand the root of what's presented in that blog post but I get completely lost when it comes to applying that to my legacy apps which have 1000s of lines of code spread across multiple JS files. What *I* would find helpful would be an example of a basic app (but just a tad more robust than any single JS API ESRI sample) that's written in legacy AND AMD format. At least with that, I can have both versions open and study the code side by side to truly understand how to migrate my code to AMD. Steve
... View more
05-30-2014
09:54 AM
|
0
|
0
|
2562
|
|
POST
|
I can think of a pretty kludgy way of doing this but I don't know if this will cause more problems for you than it solves. So here's the deal: Your map would live on your web page as an Iframe. Within the page load JS for your Iframed map, you evaluate the URL for the IFrame to see if any parameters were passed along with the URL (e.g. "http://www.mymap.org/index.html?bridgeNumber=200"). If the code senses a parameter, you then perform your code to zoom to your feature & display the infoWindow. If there's no parameter passed, just load the map normally. Whenever you want to zoom to a different feature, just change the URL for the IFrame and reload it. I've done this successfully in Microsoft Access where I wanted a map on my form to zoom to a location as the user changes records in the database. Steve
... View more
05-29-2014
05:24 PM
|
0
|
0
|
1405
|
|
POST
|
Can you refresh the code in your jsbin link with what you now have? I don't think that having the combo boxes created on the HTML side instead of the JS side should matter. Something else must be going on. This is probably a non-factor but I would change your opening <style> HTML tag at the top to this: [HTML]<style type="text/css">[/HTML]
... View more
05-28-2014
02:25 PM
|
0
|
0
|
3043
|
|
POST
|
Ok, I *think* this is it. 😄 Substitute onChange for Change: on(dom.byId("sel_county"), "onChange", function () {
extractMethod = "extractByCounty";
console.log("You are selecting a county!");
});
on(dom.byId("sel_unit"), "onChange", function () {
extractMethod = "extractByUnit";
console.log("You are selecting a unit!");
});
... View more
05-28-2014
01:51 PM
|
0
|
0
|
3043
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 3 weeks ago | |
| 2 | 3 weeks ago | |
| 2 | 05-21-2026 01:51 PM | |
| 1 | 03-12-2026 01:43 PM | |
| 1 | 03-12-2026 08:41 AM |