|
POST
|
David Coley THANK YOU! That's the golden ticket. Why hasn't this made it into the documentation?....
... View more
05-19-2016
01:47 PM
|
0
|
1
|
1220
|
|
POST
|
So, awhile back, I posted this thread about changing the label associated with a layer checkbox in the LayerList widget. The solution posted in that thread (setting id: "some layer name") does not seem to work using the 3.16 API version of the layerList widget. code snippet: // Initialize and set up the LayerList
layerWidget = new LayerList({
map: app.map,
showLegend: true,
showOpacitySlider: true,
showSubLayers: false,
layers: [
{layer:wsdotBridgeLayer,
visibility:true,
id:"WSDOT Bridges"
},
{layer: KingCoBridgeLayer,
visibility:true,
id:"King County Bridges"
},
{layer:priorityRoadsLayer,
visibility:true,
id:"Priority Roads"
}
]},"layerList");
layerWidget.startup(); Result at load: Has anybody encountered this and found a solution? Steve
... View more
05-19-2016
11:24 AM
|
0
|
13
|
10381
|
|
POST
|
Hah, that's funny because in another thread about 4.0 I brought up the fact that either featureLayer.redraw or featureLayer.refresh was no longer present (and not listed under "coming soon"). ESRI's response was that the API "should" be smart enough to redraw/refresh once things change. I wonder if that's the same case here. (And later in my other thread it was mentioned that redraw/refresh would return in a later API version)
... View more
05-16-2016
03:04 PM
|
0
|
0
|
4061
|
|
POST
|
Unless I'm reading it wrong, it looks like it's graphic.setAttribute under the 4.0 API graphic.setAttribute("geometry",aGeom);
... View more
05-16-2016
02:23 PM
|
0
|
2
|
4061
|
|
POST
|
Obviously, using the API will yield the best and "truest" result. If you must use the 4.0 API, I think you're only other option to pursue will be the HTML 5 concept of canvas printing. You'll also find some discussion of this topic here in this forum but it's hit or miss depending on what you have on your map (graphics and labels seem to be the most difficult elements for it to capture). I haven't messed with canvas printing, though.
... View more
05-16-2016
09:20 AM
|
1
|
1
|
2434
|
|
POST
|
The functionality matrix says that it's "coming soon" like the dozens of other things missing from the initial release.
... View more
05-16-2016
08:46 AM
|
1
|
3
|
2434
|
|
POST
|
At this point, there are so many holes in the 4.0 release that I'm unlikely to migrate any apps to it for the foreseeable future. When I originally started developing with the JS API, I used the method you described (setting content via layer.onClick event). I stopped doing this for some reason and now I'm worried that there was some reason I did which now proves to be an issue in a 4.x world moving forward. Oh well. ESRI giveth and ESRI taketh away.
... View more
05-13-2016
12:07 PM
|
0
|
0
|
3283
|
|
POST
|
If this is true, I'm a sad panda. I use formatting functions for all my infoWindows. For the most part, I use these functions to format the content into HTML table formats so that field names (or more user friendly substitute names) align consistently with each other and field values. I also manipulate the results returned to create additional content for the infoWindows. Here's an example where I create a graph using the Highcharts JS library: I couldn't replicate when I needed using the Dojo Chart widgets so I had to switch to using Highcharts. Here's another example from a different application: In this example, I'm creating a formatted HTML table on the left hand side and creating a pie chart using Google's charting API on the right. Steve
... View more
05-13-2016
11:22 AM
|
1
|
2
|
3283
|
|
POST
|
You may also need to register the data with ArcGIS Server in order for the published services to see it.
... View more
05-11-2016
02:48 PM
|
0
|
1
|
1428
|
|
POST
|
Are the images stored in SDE or a network based file location? If a network location, the MXD you published from must use UNC file paths instead of network drive letters in order to "see" the data once published. Steve
... View more
05-11-2016
02:44 PM
|
0
|
0
|
1428
|
|
POST
|
The extent example was the quickest thing I could think of that would illustrate that idea. Something else would be like aborting an apply edits command (which, I know, isn't yet in Version 4). Unlike what I was asking about, it sounds like accessors are geared towards "events" that you want to have happen then, no?
... View more
05-09-2016
03:14 PM
|
0
|
0
|
4431
|
|
POST
|
What about if you want to cancel the given event you're "listening" to? For example, prevent zooming in/out beyond a certain level or extent, etc..
... View more
05-09-2016
02:50 PM
|
0
|
2
|
4431
|
|
POST
|
Assuming the presentation material was submitted to ESRI (this is/was never a requirement), you would find it on the ESRI Proceedings CD that was mailed to attendees after the conference. What specifically were you looking for? I have the CDs going back to 1999. And now I feel old. Steve
... View more
05-09-2016
09:52 AM
|
0
|
0
|
571
|
|
POST
|
Not knowing how big an area you're interested in, maybe you can work backwards? Take a road layer dataset and assume that everything inside represents Street View coverage. Now delete roads (or portions of roads) that do not have coverage. Not great but, once completed, it's not likely to change so you'd be good to go.
... View more
05-04-2016
12:34 PM
|
1
|
0
|
4570
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 5 hours ago | |
| 1 | yesterday | |
| 1 | a week ago | |
| 2 | a week ago | |
| 1 | 2 weeks ago |