|
POST
|
Man- this is a blast from the past. My memory is fuzzy about this (especially since I also upgraded this to AMD from legacy) but I think the only thing I needed to do was remove this line from my original header: <html lang="en">
... View more
07-31-2015
09:04 AM
|
3
|
1
|
869
|
|
POST
|
Just wanted to chime in on a tidbit previously mentioned. At the conference, ESRI did recommend placing the installs of Server and Portal on different servers but they did also note that this is not possible if you are using Server for Workgroups. In other words, if you are using an Enterprise version of Server, you can (and should) do this. Otherwise, they must be installed on the same machine.
... View more
07-27-2015
09:54 AM
|
1
|
1
|
2989
|
|
POST
|
One more random observation. I think this was my 18th UC and one take away for me is that this whole push from desktop to web and apps has created an environment where most people can no longer design and produce a good paper map. There were many bad maps in the gallery. I'm officially old. Now get off my lawn.
... View more
07-24-2015
06:25 PM
|
8
|
1
|
2252
|
|
POST
|
That's because there really isn't much new this year. ESRI's focus is on web mapping and getting more people to accept and use their web based tools and technologies (use ArcGIS Online and spend money on credits). The Road Ahead workshop for desktop was 65-70 minutes about ArcGIS Pro (Rulers and guides are coming! 2003 is pretty excited) and 5-10 minutes about Arcmap. From my perspective, ESRI's product family is very fragmented with most products experiencing functional overlap. If ESRI knows that they're trying to accomplish, I don't think they're doing a great job at communicating what that is. But, in summary: ArcGIS Online, ArcGIS Pro, ArcEarth, 3D, Webapp Builder, AppStudio for ArcGIS, Portal, Premium Content and Analysis. Random tidbit- if you have a Home Use license, it will now include all products, not just desktop.
... View more
07-24-2015
06:21 PM
|
1
|
1
|
2252
|
|
POST
|
Am I missing something? Can you not add a kmlLayer in the 4.0 beta? I don't see KMLLayer as a layer type in the API reference.
... View more
07-17-2015
08:29 AM
|
0
|
2
|
2372
|
|
POST
|
sonofa- Thanks, Tim. Pretty embarrassing that I missed that, given the short list of requires. Doh! Ken Buja Thanks for the note about connect. I did not know that. I'm still using it elsewhere in my converted app so I'll go back in and swap those over to On. Thanks guys!
... View more
07-16-2015
09:50 AM
|
0
|
1
|
1621
|
|
POST
|
So I'm neck deep in migrating a legacy app to AMD style and I've run into this once or twice but here's the most recent example. In my legacy app, this was a seperate JS file which simply opens a Dojo dialog containing some help/instructional content about the app and had a button to open a PDF help document. Nothing earth shattering here. I've converted it to an AMD module and it (seems) to load fine: define ([
"dojo/_base/array",
"dojo/_base/connect",
"dojo/_base/declare",
"dojo/_base/sniff",
"dojo/has",
"dojox/widget/Dialog",
"dijit/form/Button",
"dijit/place",
"dojo/domReady!"
], function (
array, connect, declare, has, Dialog, Button, place
) {
return declare(null,{
showHelp: function() {
var htmlFragment = '<some html formatted content>';
// Create the help dialog
var dialogBox = new Dialog({
id: "helpDlg",
title: "About my app",
content: htmlFragment,
style: "width:960px;height:585px;background:#FFFFD4",
autofocus: !has("ie"), // NOTE: turning focus ON in IE causes errors when reopening the dialog
refocus: !has("ie")
});
var btn = new Button({ label: "Close Help", style: "float:right;padding:10px 25px 10px 0px;font-weight:bold" });
dialogBox.containerNode.appendChild(btn.domNode);
connect.connect(btn, "onClick", function(){
dialogBox.destroy();
});
var btn2 = new Button({ label: "Open PDF User Guide", style: "float:left;padding:10px 0px 10px 25px;font-weight:bold" });
dialogBox.containerNode.appendChild(btn2.domNode);
connect.connect(btn2, "onClick", function(){
window.open("http://some.pdf", 'resizable,scrollbars');
});
// Display the dialog
dialogBox.show();
}
});
}); When I click the button on my HTML page that fires off showHelp, I get "Uncaught TypeError: Cannot read property 'appendChild' of undefined." When I pause my code to examine the dialog object, it CLEARLY does not match what the API specifies it should: I've tried "dijit/Dialog" and "dojox/widget/Dialog" but it's always the same result. The dojo version loaded is 1.10.x (I'm referencing ESRI's CDN URL for the JS API and dojo, BTW). The easy, short term answer is to just continue to use dijit.Dialog but I want to know WHY I'm not seeing the proper dijit/Dialog that I should be seeing. Any ideas? Steve
... View more
07-16-2015
09:26 AM
|
0
|
4
|
4457
|
|
POST
|
You could add an event listener for either the oninput or onchange event for each of the address related input fields and try to geocode them in the event function. If you don't get satisfactory results back, notify the user that the address entered appears to be invalid.
... View more
07-15-2015
09:03 AM
|
2
|
1
|
3209
|
|
POST
|
Visibility is spelled wrong: document.getElementById("btnRelatedSigns").style.visiblity
... View more
07-07-2015
02:23 PM
|
3
|
3
|
1804
|
|
POST
|
There have been book signings in the UC Store during the conference as well. Dr Cynthia Brewer comes to mind when her first cartography book via ESRI Press came out a few years back.
... View more
07-07-2015
10:39 AM
|
0
|
0
|
1977
|
|
POST
|
I don't think the lag is significant enough to go through that. It noticeable to me because I'm the developer and I know what it was like before I increased the number of records. I don't think a new user will notice anything. I opened the app in a different browser than what I've been steadily developing with and the app loaded in 3.31 seconds. The QueryTask with the 5k records took 571ms. I'm happy with performance so far.
... View more
07-02-2015
10:25 AM
|
0
|
0
|
2040
|
|
POST
|
Chris Sergent no- I'm not using it. I'm just using the standard dojo FilteringSelect. As far as I can tell, autocomplete for it is responsive even with 5,000 records under the hood. As I mentioned previously, any "lag" occurs during initial load when the data store is getting created.
... View more
07-02-2015
08:42 AM
|
0
|
2
|
2040
|
|
POST
|
As it turns out, 5,000 records isn't that bad. The app does seems to load a little slower (not huge but enough to notice) but the FilteringSelect works pretty responsive. I do like your suggestion of a minimum number of characters before querying, though. Might keep that in the back pocket if this other method doesn't end up working out.
... View more
07-01-2015
12:52 PM
|
0
|
0
|
2040
|
|
POST
|
I kinda have an idea about how to do this but I wanted to throw it out there in case there's a method I haven't thought of. In my app, I want to have a FilteringSelect listbox so that users can start typing the name of a road within my county. The dataset of roads has close to 40,000 features so that's obviously way too many records for the FilteringSelect. If I run a frequency based on the street name attribute field, I'm down to 5,000+ unique values. My thoughts were to create the frequency table on street names, publish that in a service along with setting the returnMaxRecords to just above the maximum number of records in the table, and then setting the FilteringSelect data store to all the records when the app loads. Is that the best way to do this? The only other thing I can think of is tapping into the keypress event of the FilteringSelect box so that everytime a key is pressed, the street feature service is queried for "like" records (i.e. "NAME like 'Main*'") and update the data store for the FilteringSelect. Something tells me that this won't be that responsive from a user perspective, though. Steve
... View more
07-01-2015
09:57 AM
|
0
|
7
|
4833
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | Thursday | |
| 1 | Thursday | |
| 1 | a week ago | |
| 1 | 2 weeks ago | |
| 1 | 2 weeks ago |