POST
|
I had already upvoted the Idea, but I will also try to add myself to the enhancement request. It just seems crazy to have this $2000+ tablet and not be able to use it. Thanks.
... View more
12-19-2018
07:36 AM
|
2
|
0
|
1103
|
POST
|
I just want to chime in here to ask if any progress was made with using a stylus in Pro? I'm trying to use a Wacom Cintiq 24" digitizer display and it's impossible in ArcGIS Pro, unless I am missing a setting. Basically, it acts like every tool is a pan tool. So whenever you use the pen, it pans the map. I'm not ruling out the Wacom drivers as a culprit, as they are terrible on Windows 10, although it did work pretty good in ArcMap.
... View more
12-19-2018
06:53 AM
|
2
|
2
|
1103
|
DOC
|
George, It's just the About widget. And it's poorly formatted (for right now).
... View more
10-22-2018
11:55 AM
|
0
|
0
|
3951
|
DOC
|
Robert, Thanks for your response to my question. Changing from normalizePanel to openPanel worked perfectly. It wasn't a huge issue as it was, but not having to close out the other panels when a user clicks on things on the map, makes it work more like our users expect from Google Maps, so I appreciate the tip.
... View more
10-22-2018
11:54 AM
|
0
|
0
|
3951
|
DOC
|
Robert, This widget is awesome, as are all of your contributions and I appreciate everything you do. And I hate to bother you with a question, but I am not sure what is going on, or if this is expected behavior. I'm using WAB 2.8 and I am using the Pop Up Panel in the header controller. I'm having trouble with the Pop Up Panel getting hidden behind other panels, and not responding to clicks. I have a site where you can take a look if you really want to, but here is my general situation: The site loads with no layers turned on, and only the Pop Up Panel enabled and showing on the right side: With the Pop Up Panel turned on, I turn on the Layers panel using the Layers button in the header controller Enable the Buildings layer (because it has pop-ups configured and enabled) and zoom in far enough to enable the buildings layer on the map. I have left the Layers Panel turned on. Click on a building, on the map. The Pop Up Panel appears, and shows the information for that particular building. (So far, so good). When I click on another building on the map, the Pop Up Panel closes and the Layers Panel comes back on. I can continue to click on buildings, and the Pop Up Panel never appears again, unless I turn off the Layers Panel which appears to be hiding the Pop Up Panel. Do you have any ideas of what I need to set in order to give priority to the Pop Up Panel, if that is feasible? Maybe it is expected behavior, but I feel like most of my users are never going to remember to X out the layers panel, or the basemap gallery, etc so that the Pop Up Panel works. I try to tell users to always hit the Pop Up Panel icon (I call it Information Results on my maps) but it just seems like it should pop up all the time. Any advice you may have would be greatly appreciate it. Thank you.
... View more
10-21-2018
06:08 PM
|
0
|
0
|
3951
|
POST
|
I want this to work, but it never does. In ArcMap (or even in ArcGIS Pro) I have a group layer, with my two layers in that group. I upload the service, and in ArcGIS Online Content, it shows up as one service. But when you add that service to a map, it loads the individual layers separately, and not in a group. How were you able to get it to work?
... View more
07-30-2018
12:12 PM
|
0
|
1
|
1414
|
IDEA
|
This would be a huge improvement. Almost all of our needs are met through ArcGIS Online except we need to be able to reference our own addressing data, as it is being updated and corrected far more quickly than any public geocoding services we have access to.
... View more
06-14-2018
09:31 AM
|
5
|
1
|
2350
|
POST
|
If I run Share As Web Layer in ArcGIS Pro 2.1.2, and choose vector tile as my layer type, the resulting hosted vector tile layer gets successfully created in ArcGIS Online, but it appears empty. The selected scale range is correct, and you can zoom to the layer but it is as if the symbology is completely transparent. I analyzed the layer, and there were no errors reported during the process. If I create the vector tile layer by using the Create Vector Tile Package, then Share Package, then publish the layer that works as expected. I would really rather use the Share Map as Web Layer tool instead of the Create Vector Tile Package tool which requires several more steps. Is there something I am missing? I am testing this on an extremely simple polygon layer with no labels and no complicated symbology. Thanks.
... View more
06-07-2018
10:10 AM
|
0
|
1
|
565
|
DOC
|
Robert, Thank you. That last code revision worked perfectly.
... View more
06-06-2018
12:07 PM
|
0
|
0
|
4127
|
DOC
|
While I appreciate the quick response, I'm sorry to say that now neither of the tools are working. http://wab-test-toggle-layer.s3-website-us-east-1.amazonaws.com/ Here is my widget.js: ///////////////////////////////////////////////////////////////////////////
// Copyright © 2017 Robert Scheitlin. All Rights Reserved.
///////////////////////////////////////////////////////////////////////////
define([
'dojo/_base/declare',
'dojo/_base/lang',
'dojo/_base/array',
'jimu/BaseWidget',
'jimu/LayerInfos/LayerInfos',
'jimu/WidgetManager',
'dojo/query',
'dojo/dom-class',
'dojo/dom',
'dijit/registry',
'dojo/_base/html'
],
function(
declare,
lang,
array,
BaseWidget,
LayerInfos,
WidgetManager,
query,
domClass,
dom,
registry,
html
) {
var clazz = declare([BaseWidget], {
name: 'LayerToggleButton',
baseClass: 'widget-layertogglebutton',
isToggling: false,
operLayerInfos: null,
toggleLayerIds: null,
parentContainer: null,
originalTitle: null,
startup: function() {
this.inherited(arguments);
this.layerStructure = LayerStructure.getInstance();
this.setToggleLayer();
var toggleBtnArr = query("div[data-widget-name='LayerToggleButton']");
toggleBtnArr.forEach(lang.hitch(this, function(node){
var parentWid = html.getAttr(node, 'widgetId');
var chkTitle;
if(!parentWid){
var parentSid = html.getAttr(node, 'settingId');
if(parentSid === this.id){
this.parentContainer = node;
chkTitle = html.getAttr(node, 'title');
this.originalTitle = chkTitle.replace(/(\: Off)|(\: On)/,'');
}
}else{
var widg = registry.byId(parentWid);
if(widg && widg.widget && widg.widget.config === this.config){
this.parentContainer = node;
chkTitle = html.getAttr(node, 'title');
this.originalTitle = chkTitle.replace(/(\: Off)|(\: On)/,'');
}
}
}));
},
/*
startup: function() {
this.inherited(arguments);
this.operLayerInfos = LayerInfos.getInstanceSync();
this.setToggleLayer();
var toggleBtnArr = query("div[data-widget-name='LayerToggleButton']");
toggleBtnArr.forEach(lang.hitch(this, function(node){
var parentWid = html.getAttr(node, 'widgetId');
var widg = registry.byId(parentWid);
if(widg.widget && widg.widget.config === this.config){
this.parentContainer = node;
var chkTitle = html.getAttr(node, 'title');
this.originalTitle = chkTitle.replace(/(\: Off)|(\: On)/,'');
}
}));
},
*/
setToggleLayer: function() {
this.toggleLayerIds = [];
Object.getOwnPropertyNames(this.config.layerOptions).forEach(lang.hitch(this, function(val) {
if(this.config.layerOptions[val].display){
this.toggleLayerIds.push(val);
}
}));
},
onOpen: function() {
this.setToggleLayer();
var lObjs = [];
array.map(this.toggleLayerIds, lang.hitch(this, function(id){
lObjs.push(this.operLayerInfos.getLayerInfoById(id));
}));
if (!this.isToggling) {
this.isToggling = true;
array.map(lObjs, lang.hitch(this, function(lObj){
this.toggleLayer(lObj);
}));
setTimeout(lang.hitch(this, function() {
this.isToggling = false;
WidgetManager.getInstance().closeWidget(this);
if(lObjs[0]._visible){
domClass.add(this.parentContainer, "jimu-state-selected");
}else{
domClass.remove(this.parentContainer, "jimu-state-selected");
}
}), 300);
}
},
toggleLayer: function(lObj) {
var onOff = (lObj._visible) ? 'On' : 'Off';
html.setAttr(this.parentContainer, 'title', this.originalTitle + ': ' + onOff);
lObj.setTopLayerVisible(!lObj._visible);
}
});
return clazz;
});
... View more
06-01-2018
12:27 PM
|
0
|
0
|
4127
|
DOC
|
I set up a simple map just for testing, that has had no other customizations: ArcGIS Web Application This is the error I get when I click on the layer toggle in the header controller. There is no error when I click on the layer toggle in the placeholder. WidgetManager.js?wab_dv=2.8:536 fail to startup widget LayerToggleButton. TypeError: Cannot read property 'widget' of null at Object.<anonymous> (http://wab-test-toggle-layer.s3-website-us-east-1.amazonaws.com/widgets/LayerToggleButton/Widget.js?wab_dv=2.8:48:19) at https://js.arcgis.com/3.24/init.js:63:337 at forEach (https://js.arcgis.com/3.24/init.js:71:19) at u.forEach (https://js.arcgis.com/3.24/init.js:222:365) at Object.startup (http://wab-test-toggle-layer.s3-website-us-east-1.amazonaws.com/widgets/LayerToggleButton/Widget.js?wab_dv=2.8:45:22) at Object.advice (https://js.arcgis.com/3.24/init.js:119:313) at Object.c [as startup] (https://js.arcgis.com/3.24/init.js:119:103) at Object.openWidget (http://wab-test-toggle-layer.s3-website-us-east-1.amazonaws.com/jimu.js/WidgetManager.js?wab_dv=2.8:534:18) at Object.getWidgetMarginBox (http://wab-test-toggle-layer.s3-website-us-east-1.amazonaws.com/jimu.js/WidgetManager.js?wab_dv=2.8:258:12) at Object.getOffPanelWidgetPosition (http://wab-test-toggle-layer.s3-website-us-east-1.amazonaws.com/jimu.js/OnScreenWidgetIcon.js?wab_dv=2.8:163:37) It's not a huge issue at the moment, but it would be nice to have the ability to use the widget in either place. Again, thanks for all you do.
... View more
06-01-2018
07:07 AM
|
0
|
0
|
4127
|
DOC
|
Richard, This widget looks great. I am using WAB 2.8. Similar to another commenter above, I can get it to work perfectly in the widget placeholder (under the search bar), in the Foldable theme. But it will not work in the header controller. I can place the widget there, and configure which layers I want on/off, but clicking the widget icon in the header controller only shows it changing color to show that it is selected or deselected. None of the layers on the map turn on or off. Again, the widget placed in the placeholder works perfectly on the same map. Again, this is in the Foldable theme, on WAB 2.8. Any insight would be appreciated. I'm fairly new at working with custom widgets, but I've checked all the things I know of to check. Thanks again for your good work, Andy
... View more
05-31-2018
09:26 AM
|
0
|
0
|
4127
|
POST
|
I'm running into this same issue, and I am trying to edit the mapserver.json file. What exactly are we supposed to edit in the mapserver.json file?
... View more
03-26-2018
09:49 AM
|
0
|
1
|
749
|
POST
|
I was having a terrible time with Pro hanging up and crashing and just being excruciatingly slow, even on fairly basic 2D maps just panning around and zooming. I used the frame rate display (Shift + E) and the Diagnostic Monitor (Ctl + Alt + M) and found out that I was having major "hangs" and it was using Direct3D. So I switched to using OpenGL in preferences, and it has made a huge difference. It was basically unusable before and now it is not too bad. There are still spots where it is slower than I'd like, but overall it is at least as useable as ArcMap for most day to day things. I don't know why it made a difference, as I am only working on 2D maps and you wouldn't think the GPU would matter, but in my case it definitely made a big difference. I'm on a laptop which has a basic Intel graphics card and also an Nvidia card, and depending on what you are doing, it uses whichever card is best for power vs performance. Maybe when I was on Direct3D it wasn't even using the Nvidia card, and switching it to OpenGL forced it to use that graphics card (?). I don't understand it, but it worked for me. (For now, anyway...)
... View more
03-15-2018
08:26 AM
|
8
|
0
|
1392
|
POST
|
For layers that aren't going to see much querying, I like to combine a bunch of things on a background layer. In my case, I use a vector tile layer and it shows roads, buildings, driveways, addresses, recreation areas, parks, campgrounds, water, dumpsters, etc, along with all the labeling for those items. For most of my users, they don't click on many items for information anyway, so the visual aspect of it works well for them, and it's fast and you can reduce some of the layers you need. The downside is that updating it is a more complex issue, particularly since you can't overwrite the tile layers like you can with feature services.
... View more
01-23-2018
11:23 AM
|
1
|
0
|
1234
|
Title | Kudos | Posted |
---|---|---|
2 | 05-10-2023 01:18 PM | |
1 | 06-16-2023 07:57 AM | |
1 | 09-17-2023 07:29 PM | |
1 | 07-29-2023 07:18 AM | |
1 | 01-24-2023 05:52 AM |
Online Status |
Offline
|
Date Last Visited |
03-12-2024
01:57 PM
|