|
POST
|
This Stackoverflow question seems to cast doubt about it's availability. Even within Google's Maps API, it seems shielded from its users (tiled PNG overlays). Using a workaround might be outside the terms of use anyways.
... View more
05-04-2016
10:55 AM
|
1
|
2
|
4570
|
|
POST
|
Bjorn Svensson The first use I found in my apps is much like Tyrone's. I have an app where the users can alter the default symbology for a feature layer (fill color, outline color & thickness) and the redraw method is called after the user has made their alterations. I have another application that has a feature layer that is created client side and updated with new content from a service every 10 minutes. This is done by applying a new feature collection to the layer. After the feature collection is updated (layer.applyEdits), I call redraw. Maybe in this case, redraw isn't needed; I dunno.
... View more
05-04-2016
08:05 AM
|
0
|
1
|
4005
|
|
POST
|
The first thing you should do is eliminate ArcGIS Server has a possible issue. Go to the REST Services page for the service you're using and click the "View in ArcGIS Javascript" link (example below). If the features show up and everything looks good, you'll know that the service is working properly and the issue lies in your code.
... View more
05-03-2016
04:07 PM
|
1
|
1
|
951
|
|
POST
|
featureLayer.redraw() was removed and ESRI has no plans to add it to v4.0. What's ESRI's recommendation if you need this functionality moving forward?
... View more
05-03-2016
12:29 PM
|
1
|
5
|
4005
|
|
POST
|
I haven't done this but you might be able to use HTML 5's File API to determine the size of the file being submitted. I'm guessing you would do this evaluation in one of the AttachmentEditor's events and then cancel the event if the file is too big? Here's another link. Steve
... View more
04-25-2016
09:36 AM
|
0
|
0
|
667
|
|
POST
|
It might be. I would look into this page of the API documentation where it talks about changing the default text used for API items such as buttons, tooltips, etc. There might be a property related to the identify task. Actually, this thread might have your exact answer. Steve
... View more
04-20-2016
11:19 AM
|
1
|
1
|
1125
|
|
POST
|
What happens when you click on the Plus icon? I'm guessing that finally brings up the file open dialog to specify the image you want to use..
... View more
04-12-2016
12:08 PM
|
0
|
1
|
1483
|
|
POST
|
I think Adrian Welsh is right. Change this: function(Map, GraphicsLayer, Graphic, Point, SimpleMarkerSymbol) { to this: function(Map, Graphic, GraphicsLayer, Point, SimpleMarkerSymbol) {
... View more
04-05-2016
10:46 AM
|
1
|
0
|
2994
|
|
POST
|
Wait- are you saying that feature editing of 3D features won't be part of v4.0 or feature editing won't be available AT ALL at v4.0??
... View more
04-05-2016
08:12 AM
|
0
|
1
|
1965
|
|
POST
|
How about the mouse-drag event for the GraphicsLayer?..
... View more
04-04-2016
04:16 PM
|
2
|
0
|
3243
|
|
POST
|
Through some assistance from this forum, I did something similar. Here's that thread and solution. Steve
... View more
03-28-2016
10:10 AM
|
1
|
0
|
1935
|
|
POST
|
No, unfortunately, it's rare to find a sample that does EXACTLY what you want/need. Usually you need to piece together components of several different things (well, that's my experience). The way I'd attack this would be to incorporate a Dojo slider widget into your application first. This is a tutorial page on the Dojo site about using the slider. Unless you want to just give the slider a min/max value range upfront, you'll have to figure that out somehow. If you need to do this, use a queryTask on your layer, You might be able to use the statisticDefinition parameter of a QueryTask to help you do this. Knowing what your new min/max values should be, you alter the value using the attr method of the slider: theSlider.attr('minimun', theNewMin);
theSlider.attr('maximum', theNewMax); where theNewMin is your min value and theNewMax is your max value for the slider. The final piece is to actually filter the data once your user uses the slider. I've done something similar in one of my apps. I have a filteringSelect (combobox) full of date values. Once the user selects a date, a definition query is applied to a layer based on the date selected. select.on('change', function(evt) {
//Need to take into account the GMT time offset
var theDefExp = "eventDate = Date '" + new Date(evt + 28800000).toLocaleDateString("en-US") + "'";
repairLayer.setDefinitionExpression(theDefExp);
}); In the above, my filteringSelect widget's variable is "select" and I'm just tying into the change event of the widget. My featureLayer in this example is repairLayer. Hope that makes sense. Steve
... View more
03-23-2016
03:45 PM
|
0
|
0
|
3139
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | yesterday | |
| 1 | a week ago | |
| 2 | a week ago | |
| 1 | 2 weeks ago | |
| 1 | 2 weeks ago |