Comments (22)
you beat me too it. It is not working for me either
from locallayer.
This issue will be fixed in the next release
from locallayer.
Thank you Robert. One other note on the pop-up config. In the Custom pop-up config window, is there a way to add
when a user adds a hard return?from locallayer.
Currently just type <br>. But that is something I will look at.
from locallayer.
Thank you
From: Robert J Scheitlin [mailto:[email protected]]
Sent: Monday, February 02, 2015 3:34 PM
To: cmndrbensisko/LocalLayerWidget
Cc: Rathvon, Joe
Subject: Re: [LocalLayerWidget] Configure Pop-up: Insert Link and Image Buttons (#7)
This issue will be fixed in the next release
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/7#issuecomment-72532102.
from locallayer.
Hi Robert, I'm still having issues w/ the Insert Link and Insert Image buttons. Also, the hard return is just being added to the first line. See attached image. To make sure I reinstalled WAB Dev and loaded it up with LocalLayer 1.3 and it didn't make a difference. Let me know if you need me to do any additional testing.
Thank you sir,
Bill
from locallayer.
William, Can you verify that you copied the the new version of the widget to your stemapp widgets folder and the widget folder of any app that you have already built and are attempting to use the Local Layer widget in. You can check that you actually using the new version by opening the manifest.json and check the version number in that file. If you replaced the widget in the stemapp but not in your built apps widget directory then your built app will be using the old version still. Another why right off you can tell that you are using the 1.3 vs the 1.2 is there will be a Add Tiled Layer option in the widget.
from locallayer.
I'll verify this morning and get back to you. Question....since wab dev runs in a web browser, should a clear my cache/history between updates or changes in the code? I remember seeing the Add Tile Layer option, but I didn't test. Maybe browser caching was the issue?
from locallayer.
Hi Robert, I'm still seeing the same result. It might be good if someone else tested as well. Here are my steps.
- Cleared my browsers history/cache
- Started w/ a new instance of wab dev
- Re-installed LocalLayer 1.3 in wab dev
- Tested in Chrome and IE 10
from locallayer.
Bill,
OK, I have read your comment closer now. "Also, the hard return is just being added to the first line" the <br> that you are seeing in the first line is likely one that you manually added in the text. The widget converts the TeaxtArea dijits \n (hard breaks) behind the scenes into <br>, you will not see this in the popup. When you say the insert image and hyperlink do not work can you go into more specific detail?
from locallayer.
In the example above, I'm not adding the
in the first line. It is automatically being added when I hit return.....so the updates you made in 1.3 seem to be working only for the first line of text. The Insert Link and Insert Image buttons do nothing for me when clicked. I've now tested on two different machines with the same result.
from locallayer.
Bill,
you are saying that when you click the button you do not get a popup at all? Can you hit F12 key and tell me what the console is saying?
💡 I would love to hear from someone else if they are seeing this as thus far I can not reproduce what you are seeing.
There is nothing in the code that would insert the <br> in the text window, so I don't understand what you are seeing concerning the first line...
from locallayer.
I'm not getting a pop-up at all.
from locallayer.
Bill, are you clicking the popup edit button before you have entered a url for the layer and it gets a little green check mark beside the url? Do you see a list of fields in the popups Key Value tab?
from locallayer.
Nope. I'm entering the url and getting the green check mark and the service loads fine within the map. I think we really need to find someone else to test, I don't want to waste your time if it's an issue w/ my setup.
from locallayer.
Bill, I can get the same exact error and the buttons not doing anything, but only if the url for the layer has not been entered and/or verified before I click the popup edit button (pencil).
from locallayer.
Bill,
- What layer type are you trying?
- Are you adding a new layer or are you editing an existing?
- Do you see anything different if you are adding a new layer versus editing and existing?
from locallayer.
I am still having issues with the insert link and image buttons also. Since I only had a test map in WAB builder any way I got rid of everything and started new. New install of web app builder, new download of Locallayer widget. New map.
Results
-
Added Rest service as tiled service, got green check, clicked configure popup on sublayer, clicked customized, clicked insert link button -> nothing happened, clicked add image -> nothing happened. Opened developer tools. [cid:[email protected]]
-
Tried same steps adding as dynamic service ( even though it is a tiled service) same result.
From: Robert J Scheitlin [mailto:[email protected]]
Sent: Thursday, February 05, 2015 11:15 AM
To: cmndrbensisko/LocalLayer
Cc: Rathvon, Joe
Subject: Re: [LocalLayer] Configure Pop-up: Insert Link and Image Buttons (#7)
Bill,
- What layer type are you trying?
- Are you adding a new layer or are you editing an existing?
- Do you see anything different if you are adding a new layer versus editing and existing?
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/7#issuecomment-73073856.
from locallayer.
Thank you for testing WashGIS.
Robert, I've got to get a deliverable out this afternoon so I won't be able to continue testing until this evening. Thanks again for your help.
from locallayer.
Thanks, guys I can now see the issue and am reopening the bug
from locallayer.
So I played around with adding multiple lines in the popup. I wish I could export my chrome dev log (if you know how let me know) here is a screen shot of the logs. [cid:[email protected]]
I did a series something like this
-
Add dynamic layer to map
-
Click ok
-
Open config back up
-
Open popup config on sublayer
-
Add text to custom tab (I didn’t add any html tags just used the return key on the keyboard)
-
Click ok on popup window
-
Click ok on layer config and close widget config
-
Clicked on map and popup displayed just as I wanted – only added two lines and forgot that I wanted to test with more than two lines
-
Opened back up to popup config
- Decided to work from empty popup so deleted everything from custom
- Ok out and click on map for popup
- Still displays fields I added to the custom popup
- Reopend popup config
- Popup config shows fields checked on (I didn’t check anything)
- Removed checked fields
- Ok out and click on map for popup
- Empty. Good!
- Reopend popoup config
- Add text to custom tab (I didn’t add any html tags just used the return key on the keyboard) (this time four lines)
- Ok out and click on map for popup
- Displayed as expected
- Reopend popup config
- “widget” reformatted an added
for the first return - Clicked ok to close popup config
- Reopend popup config and next return has been replace with
It was something like that. Hope it helps and was not too hard to follow.
From: Robert J Scheitlin [mailto:[email protected]]
Sent: Thursday, February 05, 2015 9:56 AM
To: cmndrbensisko/LocalLayer
Cc: Rathvon, Joe
Subject: Re: [LocalLayer] Configure Pop-up: Insert Link and Image Buttons (#7)
Bill,
you are saying that when you click the button you do not get a popup at all? Can you hit F12 key and tell me what the console is saying?
[https://assets-cdn.github.com/images/icons/emoji/unicode/1f4a1.png]I would love to hear from someone else if they are seeing this as thus far I can not reproduce what you are seeing.
There is nothing in the code that would insert the
in the text window, so I don't understand what you are seeing concerning the first line...
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/7#issuecomment-73058877.
from locallayer.
WashGIS,
Those details are extremely helpful in diagnosing the issues I have in the GUI. Thanks
from locallayer.
Related Issues (20)
- WAB LocalLayer error HOT 2
- Investigate adding support for WMS/WFS/WMTS layers
- Local Layer Issues HOT 1
- popup window select-all checkbox
- Custom styling for Feature Layers
- Is it possible to add layers at run-time? HOT 2
- Enhancement - allow the creation of group layers within Local Layer Widget HOT 1
- Local Layer Widget and WAB 2.0 HOT 2
- Dynamic layer scale-dependent visibility not shown in Layer List widget HOT 1
- Ability to enable popups through the layer configuration file HOT 2
- Possible bug in toggling lowest ranked Layer List layers HOT 2
- Issue with printing in Web AppBuilder 2.1
- LDAP Alternate for Edit Tracking HOT 1
- Local Layer Widget window not closing or responding HOT 1
- Does this work with v2.3 WAB? HOT 6
- Does this work with WAB 2.4
- Problem with marker querystring parameter when 2.5 dev app includes LocalLayer widget HOT 1
- Local Layer Map Service Opacity for each Layer HOT 3
- WAB - Data Aggregation widget error
- Does the widget work with WAB Dev 2.18+ and ArcGIS Server 10.8.1?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from locallayer.