|
POST
|
Denis, Nice solution to handle this (love the diagram - that's awesome). I have reported this as a bug and ESRI is looking into the issue. I'll see what comes from that, but if no solution I may try your approach. Another thing I'm noticing is that you don't get this behavior with webmaps. So, it might be possible to modify an app to use a webmap with the desired feature layers in it, and avoid the bug that way. Thanks
... View more
03-14-2019
10:45 AM
|
0
|
3
|
1659
|
|
POST
|
I'm experiencing the same issue. My map has points representing permits. In some cases they are stacked, with several in the exact same location. If the user clicks or taps at the center of the point symbol, they get all of the features returned. However, if they click less carefully, toward the edge, they get only the top feature returned. It's not too big a deal on desktop or laptop, but with phones or tablets it's really easy to fat finger it. In that case a user would never know there are multiple permits there. Using 4.9 version of api. Here is my test app - Building Bellevue. See the image below which indicates a location with several permits. You can reproduce this behavior by clicking toward the edge. At first it seemed random, but eventually, I saw that its the precision of clicking or tapping. Really weird. Dennis - did you figure out a solution? Is this a known bug? Work-arounds?
... View more
03-07-2019
03:40 PM
|
1
|
5
|
1659
|
|
POST
|
Hi, I think I have found a bug with 4.10 version of the api. For popups, if multiple features are returned, a paging interface is shown in the popup with arrows to go to the next or previous feature. Works fine for most cases. But if you specify a function to return the content, there seems to be a bug. The initial graphic displayed is good, but additional graphics, only have the OID and display name fields (for attributes object). All other fields are not included as properties, and thus cannot be shown in the popup for any additional records. This also seems like a good time to ask if there is a list of known bugs? That would be useful, for troubleshooting issues and also determining if I need to report a bug or if it has already been reported. As mentioned, this is found with 4.10 version. When I rolled back to 4.9 version, it works fine. Here are code snippets: // Create a FeatureLayer - note, all fields returned
var featureLayer = new FeatureLayer({
url: app.permitsFeatureLayer,
outFields: ["*"]
});
//specify the template for the fl popup
featureLayer.popupTemplate = template;
/specify the function to create generate the template
var template = popup.getPopupContent();
//and here is how the function is called (separate module)
mo.getPopupContent = function () {
var popupTemplate = {
title: '<strong>{ProjectName}<strong>',
content: lang.hitch(this, function (info) {
detailsDiv.innerHTML = <ul class="attr-list"><li>Address: <strong>' + info.graphic.attributes.Address + '</strong></li>' +
.....
return detailsDiv;
}
return popupTemplate;
}
And logging the 'info' parameter - below is first feature, and 2nd image is the second feature returned after paging...
... View more
03-04-2019
02:18 PM
|
0
|
2
|
1066
|
|
POST
|
Ok, thanks. I had already submitted bug report - did not realize it was already reported. Any ideas on work-around in the meantime? I'm thinking I can try to detect for IE, and then switch the docking to one of the positions that works in IE like upper left or upper right. That said, if there is a css way to deal with this, I'd prefer that. Also, just to add a bit to this, I have found that the problem with the popup being shifted to the right can be fixed by overriding the css for the popup main container class. It is displaying as block by default. I put the following in my style file: .esri-popup__main-container {
position: relative!important;
} FYI - this also fixes a related issue with how popups are displayed in iPads. Also shifted to right for dock positions of bottom-center and bottom-right. the overflow issue is harder to deal with...
... View more
02-13-2019
02:27 PM
|
0
|
2
|
2629
|
|
POST
|
Robert, thanks for the reply. You are using Internet Explorer to preview this right? I'm still seeing buggieness with the sample you provided. I added some more content to the popup but changed nothing else. Here are screenshots of what I'm seeing: top-center and top-right work as expected top-center - positioned correctly, but does not handle overflowing content - no scrollbar bottom-center - same as top, but also shifted to right bottom-right - shifted almost entirely off the map to the right bottom-left - positioned correct, but no scrollbar this is with IE 11. Thanks
... View more
02-13-2019
11:32 AM
|
0
|
1
|
2629
|
|
POST
|
Hi, I'm finding there is a bug or several bugs with IE brower when configuring popups to use the docking positions (using 4.10). I created a simple demo app, and specified created the mapView like this: app.mapView = new MapView({
container: "viewDiv",
map: map,
center: app.center,
popup: {
dockEnabled: true,
dockOptions: {
// Disables the dock button from the popup
buttonEnabled: false,
// Ignore the default sizes that trigger responsive docking
breakpoint: false,
position: "bottom-center"
},
collapseEnabled: false
},
zoom: app.zoom
}); This causes the popup to default to the specified dock position. It works fine in chrome and other browsers, but in IE, most of the dock positions cause a bug. Below is the screenshot for bottom-center: Other positions have similar issues, including content overflowing popup container, and for bottom dock positions, the position is shifted to the right (bottom-center and bottom-right). I have been messing around with css to fix the issue but not much luck so far. I'm attaching a word doc with images of the different doc positions.... I'll report this as a bug, but if anyone has thoughts about how to work-around this in the meantime, great. I'd prefer for my app to specify bottom-center. Thanks
... View more
02-12-2019
04:12 PM
|
0
|
7
|
2893
|
|
POST
|
Hi. Working with 4.10 api, I'd like to have a widget render in a popup. The popup would be an accordion like interactive interface. I have modified the popup style so it is large enough to contain the widget, but not sure the best way to create the widget inside the popup. Typically, you would add the widget to an app like below, but that div does not exist in the interface. Rather it would need to be created dynamically when the popup content is created. var widget = new myWidget({
container: "myWidgetDiv"
}); I know the popup content can be generated via a function. Seems that would be the way to handle this but having trouble wrapping my head around how exactly to go about it. Any suggestions would be appreciated. Thanks
... View more
01-30-2019
08:42 AM
|
0
|
2
|
1178
|
|
POST
|
Hi Kelly, Thanks for the reply. I get this, but I'd like to emphasize that this is a poor user experience. There are lots of configurations I can do on a layer: filter the data, hide or show the legend, disable or enable editing, add or remove labels, enable or disable popups, etc... all of these can be reversed, except for style changes. This should be similar to the other configuration changes, meaning there should be an option to clear the style. Further, I may put a lot of time and effort into configuring a layer. The popup alone could have numerous fields which need formatting, aliases, perhaps hyperlinks, arcade statements, charts, etc.... Why make users throw all that away and start over just to get rid of a style they don't like?
... View more
12-12-2018
08:44 AM
|
3
|
2
|
3825
|
|
POST
|
Hi Kelly, I can't share it unfortunately, as the test version is internal only. In my case, I have a custom Web AppBuilder app developed with dev edition and hosted locally. The symbology is defined in the webmap, based on an attribute, with values of either 'Yes' or 'No'. So there are 2 possible symbols. I have extended the 'Edit' widget with some custom functionality, but generally it works like the OOB version. When they open the edit widget, or from a popup dropdown menu, click 'Edit Feature', the symbology reverts back to the map service symbology and stays like that as long as the edit widget is open. You can actually see this behavior in a webmap though. Just add a simple feature service or feature layer to a webmap and change the style. In the webmap, when you click the edit button, you'll see the symbols change back to the service symbology. It's pretty confusing for end users. Thanks
... View more
12-12-2018
08:31 AM
|
0
|
0
|
3622
|
|
POST
|
I tried this and it does work. We use GeoJobe Admin tools, which has tools to export and import item json, so I was able to export the webmap json, edit it by removing the drawinginfo portion and re-import it. As expected, the webmap symbology was removed and the default service symbology displays. Thanks. That's a good work-around, but not very user friendly. I guess I'll put in enhancement request to have this built into the interface.
... View more
12-12-2018
08:02 AM
|
0
|
0
|
3825
|
|
POST
|
No. I have not created an item in AGOL for the feature layer. I just added it by pasting the url (add > add from web). I have only added it once. I want to go back to using the symbology that was defined in arcmap, which is a particular symbol not available in AGOL. Note that this is not a hosted service. I'm serving it from our on-prem instance of ArcGIS Server. Looking at my screenshot above, the blue icon was selected in the webmap. Its showing for all locations. I need a way to turn that symbol off so that the map service symbol shows again.
... View more
12-11-2018
03:27 PM
|
0
|
0
|
3825
|
|
POST
|
Thanks for the reply Katie. It is already set to 'Show Location Only'. I have specified a new symbol for the location. When you pick 'show location only', you can still change the symbol, which I have done. Now I can't undo it or switch back to not using that symbol defined in the webmap. Thoughts?
... View more
12-11-2018
02:53 PM
|
0
|
2
|
3825
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | yesterday | |
| 1 | 3 weeks ago | |
| 6 | 11-19-2024 08:40 AM | |
| 1 | 11-19-2024 08:56 AM | |
| 5 | 08-09-2024 08:55 AM |
| Online Status |
Offline
|
| Date Last Visited |
yesterday
|