|
POST
|
What's the workaround for now? Is there a URL parameter, etc?
... View more
07-09-2019
07:50 AM
|
0
|
0
|
5098
|
|
POST
|
Does the classic story maps not have this footer? I think it makes the story maps look cheap. I'm already paying for the service and don't need the logo everywhere I look. I want to totally hide it
... View more
07-08-2019
02:26 PM
|
2
|
1
|
5098
|
|
POST
|
Looking for advice on how to turn off the Story Map watermark at the bottom of the page. Thanks
... View more
07-05-2019
09:57 AM
|
0
|
17
|
8930
|
|
POST
|
Finbar Gillen were you able to get the local perspective customized to do what you initially mentioned?
... View more
07-03-2019
10:37 AM
|
0
|
0
|
2553
|
|
POST
|
Hi, Have explored the possibility of the local perspective app but I want to know somethings about the search pin: 1. Can it be changed to invisible? 2. Can the search be just based on the map window instead of the pin location? Any ideas Kelly Hutchins and Kelly Gerrow and Ismael Chivite Thanks
... View more
07-03-2019
09:57 AM
|
0
|
0
|
497
|
|
POST
|
I would try creating a new AGOL connection. Does this happen for any other survey?
... View more
06-27-2019
02:17 PM
|
0
|
6
|
3063
|
|
IDEA
|
Tried out AuGeo and it is a very promising application. My idea is to push this application from ESRI labs to a full ESRI product. Some improvements should include the ability to show line data and linking to other ESRI mobile apps
... View more
06-27-2019
10:59 AM
|
4
|
2
|
929
|
|
IDEA
|
Tried out AuGeo and it is a very promising application. My idea is to push this application from ESRI labs to a full ESRI product. Some improvements should include the ability to show line data and linking to other ESRI mobile apps
... View more
06-27-2019
10:59 AM
|
3
|
2
|
1337
|
|
BLOG
|
I'm trying to visualize my line data in augmented reality. How can I do this with this app? Will I have to code anything? Why are there lines shown in the video AuGeo Quick Tutorial - YouTube Thanks
... View more
06-27-2019
08:59 AM
|
0
|
0
|
3173
|
|
POST
|
Built a survey and have been using it flawlessly for quite some time. I have many different users logging in and submitting surveys without issue until.... There is one user that has been accessing my survey via the web form and successfully submitting data. But on this survey I have a webhook attached which triggers an email to go out. But when this one user (who access the survey from their own WIFI connection) the data submits but it doesn't trip the webhook to run. For some reason it appears something is blockign the webhook from running when on their network. I have tried running the survey on my own laptop on their network and I get the same issue...the webhook isnt triggered. Any ideas on the cause of this?
... View more
06-20-2019
12:14 PM
|
0
|
3
|
1633
|
|
POST
|
Its the toggle based off Robert's Code. I'll attach my WAB code from the widget.js file. Hopefully this helps define([
'dojo/_base/declare',
'dojo/_base/lang',
'dojo/_base/array',
'jimu/BaseWidget',
'jimu/LayerStructure',
'jimu/WidgetManager',
'dojo/query',
'dojo/dom-class',
'dojo/dom',
'dijit/registry',
'dojo/_base/html',
'dojo/topic'
],
function(
declare,
lang,
array,
BaseWidget,
LayerStructure,
WidgetManager,
query,
domClass,
dom,
registry,
html
) {
var clazz = declare([BaseWidget], {
name: 'LayerToggleButton',
baseClass: 'widget-layertogglebutton',
isToggling: false,
layerStructure: null,
toggleLayerIds: null,
parentContainer: null,
originalTitle: null,
isExclusive: false,
zoomToLayer: false,
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)/,'');
}
}
}));
},
setToggleLayer: function() {
this.toggleLayerIds = [];
Object.getOwnPropertyNames(this.config.layerOptions).forEach(lang.hitch(this, function(val) {
if(!this.config.hasOwnProperty("zoomTo")){
this.zoomToLayer = false;
}else{
if(this.config.zoomTo){
this.zoomToLayer = true;
}
}
if(!this.config.hasOwnProperty("isExclusive")){
this.isExclusive = false;
}else{
if(this.config.isExclusive){
this.isExclusive = true;
}
}
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){
var lyrNode = this.layerStructure.getNodeById(id);
//lyrNode.on('toggle-change', this.setCheckedState(lyrNode));
lObjs.push(lyrNode);
}));
if (!this.isToggling) {
this.isToggling = true;
this.toggleLayer(lObjs);
setTimeout(lang.hitch(this, function() {
this.isToggling = false;
WidgetManager.getInstance().closeWidget(this);
if(lObjs[0].isToggledOn()){
domClass.add(this.parentContainer, "jimu-state-selected");
}else{
domClass.remove(this.parentContainer, "jimu-state-selected");
}
}), 300);
}
},
setCheckedState: function(evt){
console.info(evt);
if(evt._layerInfo && evt._layerInfo.layerObject && !evt._layerInfo._visible){
this.map.setExtent(evt._layerInfo.layerObject.fullExtent);
topic.publish('toggleChanged', evt._layerInfo._visible, evt);
}
},
toggleLayer: function(lObjs) {
if(!lObjs[0].isToggledOn() && this.isExclusive){
this.layerStructure.traversal(lang.hitch(this, function(layerNode) {
layerNode.hide();
}));
}
var onOff;
array.map(lObjs, lang.hitch(this, function(lObj, index){
onOff = (lObj.isToggledOn()) ? 'On' : 'Off';
if(this.parentContainer && this.originalTitle){
html.setAttr(this.parentContainer, 'title', this.originalTitle + ': ' + onOff);
}
if(onOff === 'Off' && index === 0 && lObj._layerInfo && lObj._layerInfo.layerObject && lObj._layerInfo.layerObject.fullExtent){
if(this.zoomToLayer){
this.map.setExtent(lObj._layerInfo.layerObject.fullExtent.expand(1.2));
}
topic.publish('toggleChanged', lObj._layerInfo._visible, lObj);
}
lObj.toggle();
if(!lObj.isVisible() && lObj.isToggledOn()){
lObj.show();
}
}));
}
});
return clazz;
});
... View more
06-10-2019
11:44 AM
|
0
|
1
|
2051
|
|
POST
|
All I have is a layer toggle widget that I want to bring over. Any ideas on how to recreate this?
... View more
06-10-2019
10:40 AM
|
0
|
3
|
2051
|
|
POST
|
Hi, Is there a tool or predefined workflow to move a custom widget from Web app builder to my JS API app? Thanks, Joe
... View more
06-10-2019
08:35 AM
|
0
|
5
|
2266
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 10-31-2018 08:24 AM | |
| 3 | 12-18-2018 09:23 AM | |
| 1 | 12-02-2019 07:53 AM | |
| 1 | 04-24-2020 11:11 AM | |
| 1 | 08-14-2019 02:25 PM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:25 AM
|