|
POST
|
Indeed! Great find Corey. This is a major change that will affect many users who decide to update to 3.11. The updated SDK (and What's New? page) will highlight all major changes to the API. It's coming soon!
... View more
10-01-2014
10:40 AM
|
0
|
5
|
1036
|
|
POST
|
Using position relative is fine but you didn't position its container (mapContainer) so your position:relative doesn't mean anything. You need to add rules to parent elements if you want to use position:relative. Also, in the console: TypeError: dom.byId(...) is null dom.byId("map").style.height = availHeight + "px"; There is no dom element with the id of map. You use "mapDiv". There's a map class though. On second look, the following snippet doesn't do anything at all because you are assigning this to a dom node with an ID of map, not a class of map. #map { position:relative; width: 100%; height: 100%; }
... View more
10-01-2014
09:46 AM
|
1
|
0
|
1017
|
|
POST
|
It will be fixed in the upcoming 3.12 3.11 release (this week or next). I just double checked and it is working in the new version for IE10.
... View more
10-01-2014
09:42 AM
|
0
|
7
|
1995
|
|
POST
|
Use CSS: .esriAttributeInspector .atiTextAreaField { font-family: whatever-font-you-want; }
... View more
09-26-2014
12:59 PM
|
0
|
1
|
809
|
|
POST
|
My advice is to create a smaller sample of the drag and drop, without all of your extra application code. When you get it to work on a smaller scale, and understand *how* it works, it should be easier to implement in your main application. That TypeError is very clear in describing an eventing issue. Copy and pasting large chunks of code and expecting it to work is not recommended or feasible in an already-large application.
... View more
09-26-2014
12:49 PM
|
0
|
0
|
667
|
|
POST
|
What does your CSS look like? What javascript-specific fixes have you tried so far? I've seen a few threads about this over at the DOJO community site.
... View more
09-24-2014
03:14 PM
|
0
|
0
|
663
|
|
POST
|
It's been a while since I've used jQuery but according to the documentation, you would want to hook up your callback functions to the select event emitted by the autocomplete widget. It looks like the event is named 'autocompleteselect' so that should be all you need. Autocomplete Widget | jQuery UI API Documentation
... View more
09-23-2014
11:58 AM
|
0
|
4
|
2728
|
|
POST
|
There are many ways to accomplish what you are trying to do, several of them highlighted in our documentation with complete samples and tutorials. If you haven't read through our documentation, I highly suggest doing so. If you don't want to use the infoTemplate defined in your FeatureService, you can create an infoTemplate client-side in your application. The infoTemplate class also has a setContent() method. Sample: Format info window content | ArcGIS API for JavaScript SDK Reference: infotemplate-amd | API Reference | ArcGIS API for JavaScript
... View more
09-23-2014
11:32 AM
|
0
|
1
|
2086
|
|
POST
|
Hi Alex, It's hard to tell what is causing your issue without seeing the code in action. Have you seen this sample about query tasks?: Query data without a map | ArcGIS API for JavaScript If that doesn't help, could you generate a working (public) jsfiddle that showcases the first problem only (remove ALL other irrelevant code, please). Thanks!
... View more
09-23-2014
10:40 AM
|
0
|
6
|
2728
|
|
POST
|
Ryan, the version you are using came out in March 2013, and the first stable release of IE10 came a month before that. You may want to try upgrading to a newer version of the API.
... View more
09-23-2014
10:28 AM
|
0
|
0
|
638
|
|
POST
|
I need to see more of your code, and preferably in action. Can you post a complete sample using jsfiddle? Thanks!
... View more
09-23-2014
10:25 AM
|
0
|
0
|
389
|
|
POST
|
Hi Sarah, Have you tried using CSS to define the height of your popup content? The following works in the above sandbox code: .atiAttributes{ height:300px; }
... View more
09-22-2014
03:07 PM
|
0
|
1
|
930
|
|
POST
|
No worries! I'll take another look later today when I free up a bit and let you know what I find. In my opinion, I think the undoManager needs a splice function that doesn't reset the stack. This may be something that we end up implementing in the future
... View more
09-19-2014
12:17 PM
|
0
|
1
|
1756
|
|
POST
|
Hey Tim! I had a few minutes to check out the logic in undoManager and you are right that the add() function calls this.clearRedo() after. However, this is expected and not the cause of your issue. You changed up the order of operations I suggested in my previous post. remove() add() undo() Remove uses splice for the historyStack. add() will add your graphic back onto the front of the stack, and undo() should step back to the appropriate position. You are using add, undo, remove and add remove undo, in those orders respectively. Logically, this will break the code, as you are seeing. I also ran your application against a newer internal version of the API, which uses a newer DOJO, and found an issue with the following:
registry.forEach(function (d) {
// d is a reference to a dijit
// could be a layout container or a button
if (d.declaredClass === "dijit.form.Button") {
buttonclick = d.on("click", activateTool);
}
});
You might want to change the above to this to avoid having to do it later. The reason for this is Registry is an object, not an array, and at certain points the forEach function might not be scoped.
array.forEach(registry.toArray(), function (d) {
// d is a reference to a dijit
// could be a layout container or a button
if (d.declaredClass === "dijit.form.Button") {
buttonclick = d.on("click", activateTool);
}
});
... View more
09-19-2014
11:28 AM
|
1
|
3
|
1756
|
|
POST
|
Unfortunately, it appears the object returned by the Draw widget is not a true Circle object, but a Polygon object. Therefore, the circle specific properties are not available. Bummer! We can still work with this though. Since you know the currently selected draw tool is the circle tool, you can save this as an attribute on the graphic itself when the graphic is created. Something like: graphic.attributes.shape = "circle"; circle-amd | API Reference | ArcGIS API for JavaScript
... View more
09-18-2014
01:56 PM
|
1
|
1
|
2257
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 08-26-2014 09:56 AM | |
| 1 | 09-18-2014 11:50 AM | |
| 1 | 09-19-2014 11:28 AM | |
| 1 | 07-09-2014 01:43 PM | |
| 1 | 07-09-2014 02:05 PM |
| Online Status |
Offline
|
| Date Last Visited |
08-14-2024
05:31 PM
|