|
POST
|
Thank you Liz! I had been looking through the CSS, but had not found that option.
... View more
07-17-2019
08:29 AM
|
0
|
0
|
1412
|
|
POST
|
I'm using the layerlist with a legend sample. Within the legend, I would like the symbology to always be visible, instead of the 'No Legend' verbiage appearing when the layer is turned off. If that's not possible, I need to be able to change the 'No Legend' verbiage. Any guidance on how to make this happen would be appreciated! Ashley
... View more
07-16-2019
12:38 PM
|
0
|
3
|
1636
|
|
POST
|
Egge-Jan, That worked beautifully! Thank you! Ashley
... View more
07-16-2019
05:46 AM
|
1
|
0
|
1866
|
|
POST
|
I have two layers in my file that are scale dependent. How can I force the layerlist widget to only show that layer when the user is zoomed in to the point that the layer is visible and able to be turned on and off? I'm sure I'm missing something simple... I'm using the Javascript 4.12 API. Thanks in advance! Ashley
... View more
07-15-2019
11:38 AM
|
0
|
3
|
2138
|
|
POST
|
Thanks Robert! I had tried adding the listMode under the add statement, but I'm not sure that I had tried it above it in that same format.
... View more
06-18-2019
05:26 AM
|
0
|
0
|
2985
|
|
POST
|
It's been a while since I've used the JavaScript API, so I'm fairly rusty. I'm in the process of updating several of our maps to the newest API and making the layout more mobile-friendly. I am using the LayerList with Legend sample code. I'd like to hide two of my three layers from the LayerList. They essentially make up my basemap. Here's my layerlist code currently: var layerList = new LayerList({
view: view,
container: document.createElement ("div"),
listItemCreatedFunction: function(event) {
const item = event.item;
if (item.layer.type != "group") {
// don't show legend twice
item.panel = {
content: "legend",
open: true
};
}
}
});
var llExpand = new Expand({
view: view,
content: layerList.domNode,
expandIconClass: "esri-icon-layer-list"
});
view.ui.add(llExpand, "top-right");
}); And my layers: // Add state feature layer
var stateLayer = new FeatureLayer({
url: "http://myURL/States/MapServer/0",
});
mapMain.add(stateLayer);
// Add counties feature layer
var countiesLayer = new FeatureLayer({
url: "http://myURL/AlabamaCounties/MapServer/0",
});
mapMain.add(countiesLayer);
// Add WFF districts feature layer
var WFFdistrictsLayer = new FeatureLayer({
url: "http://myURL/WFFDistricts/MapServer/0",
title: "Wildlife and Freshwater Fisheries Districts"
});
mapMain.add(WFFdistrictsLayer); I'd like to remove the stateLayer and countiesLayer from the layerlist. I believe using listMode will be my best option. I've followed the info in the thread, https://community.esri.com/thread/232289-remove-layers-from-the-layerwidget , with limited success. I've been able to hide one layer, but not both. Any suggestions on how to best hide multiple layers? Thanks in advance for your time! Ashley
... View more
06-17-2019
01:32 PM
|
0
|
2
|
3396
|
|
POST
|
It's been a couple of years since I've done much work with the JavaScript API. I'm beginning the process to update several of our maps to the newest version of the API and to make them more mobile-friendly. I'm working with the Layer list with a legend sample and would like to hide two out of my three layers. It looks like the easiest way to do this would be to use listMode. I've tried a few different things and can successfully get only one of the two layers to hide. Here's my layer list code currently: var layerList = new LayerList({
view: view,
container: document.createElement ("div"),
listItemCreatedFunction: function(event) {
const item = event.item;
if (item.layer.type != "group") {
// don't show legend twice
item.panel = {
content: "legend",
open: true
};
}
}
});
var llExpand = new Expand({
view: view,
content: layerList.domNode,
expandIconClass: "esri-icon-layer-list"
});
view.ui.add(llExpand, "top-right");
}); I've tried this option - https://community.esri.com/thread/232289-remove-layers-from-the-layerwidget - with little to no success. Any help would be appreciated. Thanks! Ashley
... View more
06-17-2019
01:25 PM
|
0
|
2
|
1219
|
|
POST
|
Kelly, Here's a link to the web map: https://aldcnr.maps.arcgis.com/home/webmap/viewer.html?webmap=30b14a7156394121b9d36caa3aae447c. My server is version 10.5.1. Ashley
... View more
10-24-2017
10:07 AM
|
0
|
0
|
674
|
|
POST
|
I am hosting a feature service on my internal server. I have added it into a map in AGOL and can add, update, and delete features. So everything with the service itself is working fine. However, when I open the editor to add features, my features are coded with numbers instead of the labels I have placed on the service. Checking my service, it shows each feature named, such as Vandalism, Rock Slide, etc. My attribute table in AGOL shows the same text. But when adding I get numbers, such as 1, 2, 3,.... My question is, how do I get the text to display when editing? I had played around with this particular map months ago and didn't have this issue, so I'm guessing something has changed. Though I'm not sure where. Any help is greatly appreciated! Ashley
... View more
10-13-2017
07:57 AM
|
0
|
2
|
802
|
|
POST
|
I tried your suggestion about sharing it and that worked. Thanks Stephen!
... View more
05-26-2017
11:11 AM
|
0
|
0
|
1056
|
|
POST
|
Hi Stephen, I should have thought about including the link, sorry about that. Here it is: https://aldcnr.maps.arcgis.com/apps/MapJournal/index.html?appid=f90b93473d5047928800d1e0b83b0aaa
... View more
05-26-2017
10:45 AM
|
0
|
1
|
1056
|
|
POST
|
I am using the Map Journal layout for my Story Map. It is finished with a thumbnail, summary, tags, etc. When I share the story map from the My Stories page, the thumbnail does not display, though the summary does. I have used the Facebook developer tool mentioned in other threads and fetched a new scrape multiple times, with no luck. All of the open graph tags are showing the info they should, but the share never includes the thumbnail image. This is happening when I use the share options from the My Stories page, or when I copy and past the story map link into Facebook. I have downloaded the template for the Map Journal and have it hosted on my server. When I share that link, the thumbnail does pull in, but I don't know if that is because I have added the direct link to the photo on Flickr or not. Any ideas how to solve this problem when sharing from My Stories? I have others in my organization having the same issue, so I would like to find the fix for this issue.
... View more
05-26-2017
07:44 AM
|
0
|
3
|
1615
|
|
POST
|
I am having this same issue. I am using the Map Journal option. I have used the Facebook developer tool mentioned and fetched a new scrape multiple times, with no luck. All of the open graph tags are showing the info they should, but the share never includes the thumbnail image. This is happening when I use the share options from the My Stories page, or when I copy and past the organization link into Facebook. I have downloaded the template for the Map Journal and have it hosted on my server. When I share that link, the thumbnail does pull in, but I don't know if that is because I have added the direct link to the photo on Flickr or not. Any ideas how to solve this problem when sharing from My Stories?
... View more
05-26-2017
07:31 AM
|
0
|
0
|
1910
|
|
POST
|
Katie, Thanks for the information. Right now, the feature service I am using is from my Server, and I'd prefer to keep that setup if at all possible. I have the editing permissions set up the way I want, it's just that the popup isn't working in the way I expected/hoped. Ashley
... View more
01-04-2017
01:33 PM
|
0
|
0
|
570
|
|
POST
|
I have a feature service created that is set for the public to make new features in. I want the public at large to only see a popup showing 2 of 6 fields (feature pop-up), but I want anyone editing to see and be able to input data into all 6 fields (editing pop-up). This doesn't seem to be an option with the way pop-ups are currently set up, as unchecking display affects what is visible to the editor. Is there a workaround available? Thanks in advance. Ashley
... View more
01-04-2017
11:58 AM
|
0
|
2
|
934
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 10-30-2025 01:35 PM | |
| 1 | 08-31-2023 01:21 PM | |
| 1 | 02-04-2025 06:23 AM | |
| 1 | 08-21-2023 01:28 PM | |
| 1 | 03-04-2024 01:50 PM |
| Online Status |
Offline
|
| Date Last Visited |
a week ago
|