|
POST
|
You can always digest one of the following KML based options located here: NWS KML Weather Data
... View more
10-08-2015
09:00 AM
|
1
|
4
|
1980
|
|
POST
|
Thanks, Kelly. Yes- It's very clunky but I think I got it to work in my application.
... View more
10-07-2015
10:32 AM
|
1
|
2
|
2000
|
|
POST
|
Although this was built for use with Web AppBuilder projects, this Print Plus widget is pretty nifty. Live demo.
... View more
10-07-2015
08:25 AM
|
1
|
1
|
1579
|
|
POST
|
Pinging ESRI about this. I can't log a bug with support thanks to my organization & they way ESRI has set up bug reporting. This is using v3.14 of the API. Kelly Hutchins
... View more
10-07-2015
08:09 AM
|
0
|
4
|
2000
|
|
POST
|
Bummer. You could always use some trigonometry and calculate the distance between two lat/long points to determine the closest facility to the current map extent but, like you said, 48k features is too many for this approach.
... View more
10-06-2015
04:02 PM
|
0
|
0
|
1588
|
|
POST
|
How about some sort of closest facility GP task based on your current (empty) map extent? Once you get the next closest feature, pan the map to it's map extent.
... View more
10-06-2015
08:55 AM
|
0
|
0
|
1588
|
|
POST
|
I didn't notice this until I had to split an app into an "editing" version and a "viewing" version. My editing app allows the user to add features and several of the attribute fields have coded domains to help standardize values. While editing using the Editor widget (and I suspect the same with the attribute inspector widget), the drop down box of possible values to chose from for any coded domain field displays the longer, descriptive label (the Description column in the screenshot) instead of the value that's actually stored in the attribute field. In the viewer app, however, the value that is returned to an infoWindow is the value that is stored in the attribute field (the code column in the screenshot). Is there any way to display the more descriptive label component of the coded domain or do I have to actually use that as the value to store in the attribute?
... View more
10-02-2015
02:43 PM
|
0
|
0
|
3128
|
|
POST
|
I'd just use the example that Ken Buja just posted. Just use his dojo/ready function code inside the click event of your "Yes- I agree" button on your splash screen.
... View more
10-02-2015
01:48 PM
|
0
|
1
|
3155
|
|
POST
|
You could also make the CSS for the overall container of the map and associated divs default to "display:none" and then change the CSS display property via JS if they "accept" the splash screen notice.
... View more
10-02-2015
01:29 PM
|
1
|
4
|
3155
|
|
POST
|
I am using a "local" geocoder with the search widget. Here's my code: var s = new Search({
map: app.map,
sources: [{
locator: new Locator(SERVERPATH + "/transportation/SPW_GDBA_Streets/GeocodeServer"),
singleLineFieldName: "Single Line Input",
name: "Snohomish County Geocoding Service",
localSearchOptions: {
minScale: 300000,
distance: 50000},
placeholder: "Search for Street / Address",
maxResults: 3,
maxSuggestions: 6,
enableSuggestions: false,
minCharacters: 0
}]
},"search");
s.startup(); Basically, just swap the URL to your GeocodeServer service. I had to search Geonet to get to this point but I suppose it's ultimately not that complicated. The sources parameters accepts an array of locators to search against. If you only want to use your own, localized geocode service, only specify that one. Steve
... View more
10-02-2015
11:19 AM
|
1
|
0
|
1943
|
|
POST
|
As a general statement, I tend to doubt it. Third party content that has been submitted for inclusion may be usable with the JS API (BPA transmission lines, for example) but I think most content requires using an ArcGIS Online account to access it. You may be able to study the network activity and ferret out the REST endpoint URL but I think you'll end up running into authentication requirements.
... View more
10-01-2015
03:59 PM
|
0
|
1
|
1558
|
|
POST
|
I've laid out the details of my issue over in the Javascript API space in this thread but here's the quick summary: I have two map services which have two date fields (startDate and endDate) which represent the beginning and ending date of a mapped event. I wanted to use a query definition on the layers so that events that have "expired" or occured in the past do not show up. My previously linked thread has the JS code which shows this but what I am experiencing is that this definition expression works in Chrome & Firefox but does NOT work in Internet Explorer. IE seems to be interjecting (or NOT removing single quotes) when it comes to the query that is passed on to AGS. I can paste the URL query from Chrome into IE and it will work but if I paste the query from IE into Chrome, it gives me the same 400 error (a malformed date expression). Are there any special considerations for date queries under IE? BTW, the back end SDE database is SQL Server 2012. Thanks! Steve
... View more
09-30-2015
10:19 AM
|
1
|
2
|
3331
|
|
POST
|
Yeah, I debated whether to post this question here or in the AGS forum. I think I'll try a post over there as well. Maybe someone actually from ESRI would chime in. Thanks for the suggestions, though!
... View more
09-30-2015
09:57 AM
|
0
|
1
|
3281
|
|
POST
|
That was a good suggestions. Pasting the Chrome request into IE yields successful results but pasting the IE request into Chrome returns the 400 error. IE is doing something to the request that is getting passed on.
... View more
09-30-2015
08:00 AM
|
0
|
0
|
3281
|
|
POST
|
One thing I will add is that I do notice a subtle difference in the request that is sent on. Chrome: http://<server>/rest/services/transportation/constructionClosures/MapServer/0/query?f=json&where=endDate%20%3E%3D%20date%20%279%2F28%2F2015%27&returnGeometry=true&... Internet Explorer: http://<server>/rest/services/transportation/constructionClosures/MapServer/0/query?f=json&where=endDate%20%3E%3D%20date%20'%E2%80%8E9%E2%80%8E%2F%E2%80%8E28%E2%80%8E%2F%E2%80%8E2015'&returnGeometry=true&... Internet Explorer is retaining the single quotes for the specifed date but Chrome seems to be removing it.
... View more
09-28-2015
03:39 PM
|
0
|
0
|
3281
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | Thursday | |
| 1 | Thursday | |
| 1 | 2 weeks ago | |
| 1 | 2 weeks ago | |
| 1 | 2 weeks ago |