|
POST
|
Thanks Rudy Stricklan I'll bookmark it, for sure, and it's kinda funny because I ran across a site built upon this template a couple weeks ago (though I didn't know it at the time). The only "knock" I have against it is that it starts to look too "GIS-y" like a GeoCortex product, which is something I try to avoid in my webmaps. Anyways, thanks for that link! Steve
... View more
11-05-2015
07:55 AM
|
0
|
0
|
3019
|
|
POST
|
Having vented at all that, through trial & error I just discovered that adding parser.parse() finally made everything look the way it's supposed to.
... View more
11-03-2015
04:21 PM
|
0
|
0
|
3019
|
|
POST
|
Kelly Hutchins Thanks for the updated link to the previous APIs. That's one of the things I was trying to find to no avail. Yes- I am referring to the dojo layout widgets. It really shouldn't be that hard to develop this but I ALWAYS have issues when I do- JSFiddle As you can see, the left panel doesn't just take up the left side and the #&!^ map never expands to 100%. I don't understand why "you" (ESRI team, not you specifically) have decided that something like this is no longer needed as part of the samples collection. I know ESRI wants us all using WebApp Developer and AGOL/Portal but that's not always an option. Clearly I have issues rewriting this legacy demo into AMD style but you guys can bang this out in 2 minutes and we all benefit.
... View more
11-03-2015
04:15 PM
|
0
|
1
|
3019
|
|
POST
|
Yeah, I have that bookmarked but, as I mentioned, any samples with respect to laying out your app, were removed several API versions ago. I was looking for something akin to this which I guess is what I'll have to rely on now. In the good old days of documentation (crap- did I just type that?), you could search "two panel layout" or "three panel layout" and get what I'm referring to.
... View more
11-03-2015
02:48 PM
|
0
|
0
|
3019
|
|
POST
|
I f''ing give up. ESRI, of course, USED TO provide these in the API samples but they've long been removed. And my link to the previous API SDK downloads no longer works and I can't find an explicit link to the Javascript API as a product anywhere (go ahead, try for yourself). Anyone know of a link or a bundle of bare-bones HTML code for layout templates for new apps? You know, TOC left side w header/footer, TOC right size w header/footer, etc. I just want the HTML + CSS so I can quickly get started with an app and have the various blocks on the page play nice with each other. Thanks- Steve
... View more
11-03-2015
02:29 PM
|
0
|
8
|
5194
|
|
POST
|
I had no idea there was a setting. I've been following the Publishing additional services for printing tutorial to add different print sizes to my application so I only looked at the printTemplate object for option settings but didn't see anything. I'm not sure how you would intercept the process to tweak the legend dijit. Anyways, this selective legend + the actual look of what DOES get generated is pushing me towards just creating a legend in my print template and coverting it to graphics. One of my layers which has a transparency option won't match exactly but the rest of the legend will look exactly how I want. Two steps forward, one step back, eh?
... View more
10-30-2015
07:59 AM
|
0
|
0
|
2523
|
|
POST
|
I hope I'm doing something wrong but, yeah- if that's how it's designed to work, ugh.
... View more
10-29-2015
02:31 PM
|
0
|
0
|
2523
|
|
POST
|
I don't want to hijack this thread but I'm seeing the same behavior not only in Class Breaks but also a unique values renderer. Essentially, if a feature is not found in the current map extent, it's not included in the legend that's created with the Print widget. The first screenshot shows the MXD which is the origin of one of the published services. The second screenshot is a portion of the output PDF and you can see that the first two classes from the class breaks are missing (because there are no values within the map extent). I like the option of legends limited by what's visible but at times like this, I want to show the full symbology, be it a class breaks or unique values renderer (the TipPoint & TipLine layers have A,B,C,D,E,F values in the service but only C & E features are present within the current map extent). What gives?
... View more
10-29-2015
02:19 PM
|
0
|
0
|
2523
|
|
POST
|
I'm seeing the same two click behavior with my IE-11 install: 11.0.9600.180059 (Update Versions 11.0.24).
... View more
10-28-2015
10:19 AM
|
0
|
0
|
1185
|
|
POST
|
I think as a non-developer, there is no easy answer. The localStorage option probably is the easiest answer and the caveat mentioned is valid (clearing a person's browser cache/history would also wipe this information out). The other option would be a a database table for each user and use that to save/update user preferences and then read/import those settings at page load. I'm not sure how you extract a "user id" from any given user (maybe through credentials?..) but if you can overcome that, the rest could follow.
... View more
10-26-2015
03:16 PM
|
1
|
1
|
3640
|
|
POST
|
Can you filter by zoom level? I mean, I don't know quite how you would code this but something like only showing the full data detail when zoomed in and then something more generalized at smaller scales.
... View more
10-26-2015
01:28 PM
|
0
|
0
|
1467
|
|
POST
|
Maybe you have reasons for not using it but esri/tasks/query has a geometry option for evaluating intersects.
... View more
10-26-2015
01:24 PM
|
0
|
0
|
2055
|
|
POST
|
According to this site, conditional statements are no longer supported in IE 10 & 11 so that's out. If the Dojo method isn't working right, your fallback is simple object detection. In effect, you find some property that you no IE does not support and you test whether or not anything was returned by the call. Something like this.
... View more
10-21-2015
12:28 PM
|
0
|
3
|
1613
|
|
POST
|
I think there's one additional line that should be added to my JS snippit: document.getElementsByTagName( "head" )[0].appendChild(fileref);
... View more
10-21-2015
12:17 PM
|
0
|
5
|
1613
|
|
POST
|
Dojo has browser detection built it which you can read up on here. The other option is actually over on the HTML side of things in the header using conditional statements. Now, I'm not sure this still works- it may- but it's one way of doing it. For the Dojo side, something like this... require(["dojo/has", "dojo/_base/sniff"], function(has){
if(has("ie")){ // only IE
var fileref= document.createElement(" link ");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", "css/ie_style.css");
}
});
... View more
10-21-2015
10:28 AM
|
1
|
0
|
1613
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | Thursday | |
| 1 | Thursday | |
| 1 | 2 weeks ago | |
| 1 | 2 weeks ago | |
| 1 | 2 weeks ago |