POST
|
In LocalMaps 2.3.1, when you click on the More Information link (the small 'i' icon on the gallery page), a Javascript error is thrown if the map includes a vector tile layer. Here's an example page. https://maps.kapiticoast.govt.nz/LocalMaps/Gallery/metadata/b9fcce17601a40a5b850acabfb2ac6a1 The error is: [LocalMaps Error] TypeError: Cannot read properties of undefined (reading 'toLowerCase') In this case it is our Contours layer on the Flood Extents map that is breaking things. If I remove this layer from the map then this page displays correctly. I believe that this is a bug. Can it be fixed please? I've included screenshots of the broken page and also of the page working when I temporarily removed the Contours layer from the map. Thanks, Keith
... View more
02-23-2023
12:04 PM
|
0
|
1
|
487
|
IDEA
|
@DavidMcCorkindale1 Thanks very much. Just tested it on 10.9.1 and works just as you say.
... View more
12-07-2022
12:02 PM
|
0
|
0
|
770
|
DOC
|
Hi @RobertScheitlin__GISP > Not that I am aware of. The code changes get applied to a core application component, so the only way is with this change made in WAB Dev. I've managed to create a moveable popup using a widget after all. 🙂 Here's the widget.js code: define(['dojo/_base/declare', 'jimu/BaseWidget', 'dojo/dnd/Moveable', 'dojo/dom-class', 'dojo/query'], function(declare, BaseWidget, Moveable, domClass, query) { return declare([BaseWidget], { baseClass: 'jimu-widget-draggablepopup', startup: function() { this.inherited(arguments); var map = this.map var handle = query(".title", map.infoWindow.domNode)[0]; var dnd = new Moveable(map.infoWindow.domNode, { handle: handle }); } }); }); And here's the 'properties' property from manifest.json: "properties": { "inPanel":false, "hasLocale": false, "hasStyle":true, "hasConfig":false, "hasUIFile":false, "hasSettingPage":false, "hasSettingUIFile":false, "hasSettingLocale":false, "hasSettingStyle":false, "isController":false, "keepConfigAfterMapSwitched":true, "hasVersionManager":false, "supportMultiInstance":false } The widget should be set to Open automatically when the app starts, otherwise the user will have to click it before the popups are draggable. As my apps already had a header controller (those that appear at the top right of the foldable app) widget that is opened automatically, I put the widget into one of the 5 'on map' widget slots and made it open automatically there. I wasn't using any of these 5 slots before. I also added some CSS so that the widget doesn't appear at all on the screen - it doesn't need to appear as all it does is run some Javascript when the widget starts automatically which allows the popups to move. This CSS goes into css/style.css div.jimu-widget-onscreen-icon[title="Draggable Popup"] { display: none !important; } .esriPopupWrapper .title { cursor: move; } .esriPopup .hidden { display: none !important; } Posting this in case this helps others. I found it useful as I now don't have to use the Developer edition of Web App Builder just so I can have a draggable Popup. You can also download the DraggablePopup widget from https://bit.ly/3JAgWYD.
... View more
03-22-2022
02:54 PM
|
0
|
0
|
3061
|
DOC
|
Hi Robert First, thanks for this widget (and all your other widgets too). Much appreciated. I'm using WAB (not developer edition) and my users often complain that they can't drag popup windows out of the way of what they're looking at on a map. I may well add your PopupPanel widget to solve this problem. I would like to allow them to drag the popups however. I came across this ESRI post https://support.esri.com/en/technical-article/000015175 about how to allow draggable popup windows. I've got this working on WAB Developer edition, but I'd rather keep with the built-in WAB if possible. Do you know if it'd be possible to put the draggable code from this article into a widget? That way I could then enable the widget by default and then the popups are draggable. I'm a developer but not that familiar with widgets, but if you point me in the right direction I could probably take it from there. Thanks!
... View more
03-15-2022
03:42 PM
|
0
|
0
|
3153
|
IDEA
|
Currently on 10.8.1, Enterprise Sites allows users to use Layout Builder to add a Gallery into a site's page. The user can only click on the 'Explore' button to go to the item, whereas it'd be great if the user could click anywhere on the tile (including the image). I feel this would be much more intuitive. I've added a screenshot to show what I mean. Currently the user can only click on 'A' (the 'Open' button), but I think the user should be able to click on 'B' to go to the item (in my case, an app). Thanks!
... View more
04-17-2021
12:17 AM
|
2
|
0
|
521
|
IDEA
|
Currently on 10.8.1, Enterprise Sites allows users to use Layout Builder to add a Gallery into a site's page. When a user clicks on one of the gallery items, it opens the link but 'within' the Site rather than outside of the Site. i.e. the URL of the gallery item is (1) https://<portalURL>/apps/sites/#/<site-name>/app/<site-id> rather than (2) https://<portalURL>/apps/webappviewer/index.html?id=<site-id> URL (1) means that the linked app opens in an iframe within the site page (and I get a vertical scrollbar as a result), whereas URL (2) would open the app using its native URL. It'd be great to have the option of opening gallery items using their native URL rather than being embedded within the Site.
... View more
04-17-2021
12:06 AM
|
9
|
6
|
1191
|
POST
|
I've found that installing the ODBC driver does work, but is MUCH slower than the native SQL driver used to be.
... View more
02-17-2020
01:13 PM
|
0
|
0
|
3499
|
IDEA
|
I'd like to be able to change the width of the docked popup box on the right hand side of the screen from 350px to 750px for one particular map. It'd be great if there was a Custom CSS text box on the admin page for each map (the page where you choose the widgets etc) which would enable you to change this width and also let you configure how many other features appear in the app. I've seen a similar Custom CSS box in the ESRI Minimalist web app (see image below). I'm using Localmaps 2.2.
... View more
02-13-2020
06:58 PM
|
2
|
1
|
127
|
POST
|
I've an ArcGIS Enterprise Portal Site and want to set up Google Analytics tracking on it. I've gone to Settings > Site Editor > Settings and added the Google Analytics tracking code and saved my changes, but when I view the HTML source of the Site, there's no Google Analytics code there. Is this a known bug? I'm using ArcGIS Enterprise 10.7.1.
... View more
12-16-2019
04:49 PM
|
1
|
1
|
930
|
POST
|
I'm also having this problem. Works in the Map Documents as a local script but not as a GP Service. Did you ever find a solution to it? I'm using ArcGIS Server 10.7.1.
... View more
12-05-2019
04:40 PM
|
0
|
1
|
695
|
Title | Kudos | Posted |
---|---|---|
1 | 12-16-2019 04:49 PM | |
2 | 04-17-2021 12:17 AM | |
9 | 04-17-2021 12:06 AM | |
2 | 02-13-2020 06:58 PM |
Online Status |
Offline
|
Date Last Visited |
01-18-2024
02:29 PM
|