|
POST
|
You could try that or re-project your shapefile to WGS 1984 Web Mercator (auxiliary sphere) within ArcGIS Desktop before you upload it.
... View more
02-16-2015
05:43 AM
|
0
|
2
|
1777
|
|
POST
|
Hey Urs, what code are you using to add the WMTS layer? Tim
... View more
02-16-2015
05:40 AM
|
0
|
2
|
1635
|
|
POST
|
Cheryl, This might help you: 40289 - Geodatabase attachments are not automatically included in the output of geoprocessing tools Tim
... View more
02-16-2015
05:35 AM
|
2
|
1
|
1066
|
|
POST
|
Hey Asterios, Are the polygons in ArcMap in a geodatabase by chance? Tim
... View more
02-16-2015
05:31 AM
|
0
|
4
|
1777
|
|
POST
|
Thanks Robert. I think I need your number on speed-dial!
... View more
02-13-2015
12:50 PM
|
1
|
0
|
2264
|
|
POST
|
Hey everybody, I am in the process of building a custom widget and have a problem when I want to add it to an app. Here is what happens. I click on the widgets tab, click on an empty widget space and then I choose my widget from the list. A box pops up, where normally would be settings of my widget, but I don't have any. This causes an error (it can't find the settings.js), I can click on OK and the widget will work, but I want to remove that error. Looking at the help file, you don't have to have settings. So my question is, what do I need in the settings folder, so that the error disappears? Does anybody have a basic settings folder? Thanks, Tim
... View more
02-13-2015
12:08 PM
|
0
|
6
|
6237
|
|
POST
|
Chris, this might to the trick? Map | API Reference | ArcGIS API for JavaScript map.reposition(); Tim
... View more
02-12-2015
01:14 PM
|
0
|
1
|
2684
|
|
POST
|
Hey Chris, Can you post your code or a fiddle? That might help! Tim
... View more
02-12-2015
12:30 PM
|
0
|
0
|
2684
|
|
POST
|
In these days siting a website is a possibility. This might help you create the citation Citation Machine: APA format citation generator for websites
... View more
02-12-2015
08:13 AM
|
1
|
3
|
6607
|
|
POST
|
There might be something weird going on when ArcGIS Online re-projects your data to fit to its coordinate system. Have you tried doing that yourself before you publish it? ArcGIS Online uses WGS 1984 Web Mercator (auxiliary sphere). Hope this helps! Tim
... View more
02-12-2015
05:43 AM
|
0
|
4
|
5148
|
|
POST
|
Robert works like a charm! What would I do if I have more than one button and text fields?
... View more
02-11-2015
12:09 PM
|
0
|
2
|
1920
|
|
POST
|
Thanks Robert, I get the following error: fail to open widget Demo. TypeError: Cannot read property 'on' of undefined Here is what I have in my widget.js define(['dojo/_base/declare', 'jimu/BaseWidget', 'dojo/dom', "dojo/on",'dojo/_base/lang'],
function(declare, BaseWidget, dom, on, lang) {
//To create a widget, you need to derive from BaseWidget.
return declare([BaseWidget], {
// DemoWidget code goes here
//please note that this property is be set by the framework when widget is loaded.
//templateString: template,
baseClass: 'jimu-widget-demo',
postCreate: function() {
this.inherited(arguments);
console.log('postCreate');
},
startup: function() {
this.inherited(arguments);
this.mapIdNode.innerHTML = 'map id:' + this.map.id;
console.log('startup');
},
onOpen: function(){
console.log('It is open, come on in!');
on(this.clear, 'click', lang.hitch(this, function(evt){
console.log("It is clear!")
}));
},
onClose: function(){
console.log('onClose');
var test = this;
},
onMinimize: function(){
console.log('onMinimize');
},
onMaximize: function(){
console.log('onMaximize');
},
onSignIn: function(credential){
/* jshint unused:false*/
console.log('onSignIn');
},
onSignOut: function(){
console.log('onSignOut');
}
});
}); And here is what I have in my widget.html: <div>
<button id="clear" data-dojo-type="dijit/form/Button" type="button" data-dojo-attach-point="button">Clear All</button>
</div> Any ideas what I did wrong? Tim
... View more
02-11-2015
12:01 PM
|
0
|
4
|
1920
|
|
POST
|
Hey everybody, If I create a textbox or a button in my widget.html file, how can I access these in my widget.js file? For example if I create a button in my widget.html file with the id="TestButton", how would I write a button click event in my widget.js file? Thanks! Tim
... View more
02-11-2015
11:37 AM
|
0
|
6
|
6408
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 07-06-2015 06:58 AM | |
| 1 | 05-04-2016 07:27 AM | |
| 1 | 07-06-2017 08:12 AM | |
| 1 | 10-26-2015 11:51 AM | |
| 1 | 12-12-2014 12:05 PM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:23 AM
|