POST
|
Robert, Perfect! This helped tremendously. I did remove my hard coded line that I posted above since that does override the settings in the Advanced settings. Thank you again for your help!
... View more
10-04-2017
08:07 AM
|
0
|
1
|
1565
|
POST
|
Hello. Does anyone know how to over-ride the print widget Advanced Settings that are set by default? I figured out how to add in the following code in the print.js file located at: <appName>\Widgets\Print\Print.js to change the print height and width, but the default settings still show up. My Custom Code: ESRI Default Code: The default settings are not much bigger than post card settings. Any help is appreciated
... View more
10-04-2017
06:57 AM
|
0
|
6
|
2618
|
IDEA
|
This functionality is a must if people are using mobile. I strong suggest that ESRI allow for specifying a click tolerance for a popup. It is not user friendly to keep taping on a point until the popup with info appears. I had to use the identify parameters option in our regular JavaScript apps, but for the WAB, this should strongly be considered. What is a feasible work around right now?
... View more
10-04-2017
06:41 AM
|
0
|
0
|
1355
|
IDEA
|
This functionality is a must if people are using mobile. I strong suggest that ESRI allow for specifying a click tolerance for a popup. It is not user friendly to keep taping on a point until the popup with info appears. I had to use the identify parameters option in our regular JavaScript apps, but for the WAB, this should strongly be considered. What is a feasible work around right now?
... View more
10-04-2017
06:41 AM
|
0
|
0
|
1409
|
POST
|
There is an easier way to do this I found. Here is the code: // Map - Measurement Widget measurement = new Measurement({ map: map, defaultAreaUnit: Units.SQUARE_FEET, defaultLengthUnit: Units.FEET }, dom.byId("measurementDiv")); measurement.startup(); // Handle Click Events Between Popup and Measurement Tool measurement.on("tool-change", toolname) function toolname(evt) { if (evt.toolName) { map.setInfoWindowOnClick(false); } else { map.setInfoWindowOnClick(true); } }
... View more
10-04-2017
06:38 AM
|
0
|
1
|
1380
|
POST
|
Robert, As always, thank your for the feedback. What classes do I need to include? esri/lang? I will certainly give this a shot. Thank you much!
... View more
09-08-2017
12:33 PM
|
0
|
1
|
1380
|
POST
|
The event is firing. I put a console log statement inside the function and it was returning back the statement following the click. This is a tricky one without adding some buttons. The popup needs to be on by default, but when the "area", "distance", or "location" buttons are clicked, the InfoTemplate needs to be disabled. When the draw is completed for any of these tools, the InfoTemplate needs to be re-enabled again. I thought that was what the functions would do in the code snippet above?
... View more
09-08-2017
11:42 AM
|
0
|
3
|
1380
|
POST
|
Thank you for the idea, but when I tried the following logic, it still does not work as desired. // Map - Measurement Widget measurement = new Measurement({ map: map, defaultAreaUnit: Units.SQUARE_FEET, defaultLengthUnit: Units.FEET }, dom.byId("measurementDiv")); measurement.startup(); measurement.on('measure-start', disableInfoTemplate); measurement.on('measure-end', enableInfoTemplate); function disableInfoTemplate() { map.setInfoWindowOnClick(false) } function enableInfoTemplate() { map.setInfoWindowOnClick(true) }
... View more
09-08-2017
11:20 AM
|
0
|
5
|
1380
|
POST
|
I have a simple application where I am adding in a measure widget and I have a couple of InfoTemplates configured. How can I simply disconnect the infoTemplate from popping up while I am in draw mode with the measurement widget. The two tools are conflicting with eachother. I have tried using a couple of functions and setting map.setInfoWindowOnClick(false); while the tool is in draw then setting it back to map.setInfoWindowOnClick(true); but I cannot seem to get it to work. I checked the API reference, but cannot get it to work. Here are a couple blocks of code, one for the measurement widget and the other for the info template: // Map - Measurement Widget measurement = new Measurement({ map: map, defaultAreaUnit: Units.SQUARE_FEET, defaultLengthUnit: Units.FEET }, dom.byId("measurementDiv")); measurement.startup(); When the widget is activated, I need the popup to disconnect or map.setInfoWindowOnClick(false); // Planimetrics - Building Footprints (0) var bfInfoTemplate = new PopupTemplate({ title: "Building Footprint", fieldInfos: [{ fieldName: "SHAPE.area", label: "Square Footage:", format: { "places": 0, "digitSeparator": true }, visible: true }] }); I am wanting to achieve this without having to add in a button and set up event listeners. Any ideas?
... View more
09-08-2017
10:22 AM
|
0
|
9
|
1727
|
POST
|
Robert, here you go: Extension MIME Type .wsv application/octet-stream
... View more
04-25-2017
12:24 PM
|
2
|
0
|
1872
|
POST
|
Robert, you were correct again. Thank you much for the valuable knowledge. We added the MIME into IIS and check it out:
... View more
04-25-2017
12:05 PM
|
0
|
2
|
1872
|
POST
|
Robert, as always, thank you much for your feedback and suggestions. I will add the mime type to IIS. Also, I did check the referencing for the .wsv file and it is there. Here is a screenshot below:
... View more
04-25-2017
06:42 AM
|
0
|
2
|
1872
|
POST
|
I have recently installed the JavaScript API version 3.20 and version 4.3 on my server. All applications are working, but I am still getting warnings and errors in console mode: Here they are for the 3.20 version: Getting a deprecation warning. Here they are for the 4.3 version: I checked the references for these errors and all folders and files are on the machine. Applications are working, but how can I get these issue to clear out of console mode (Google Chrome)? I do not have these issues when referencing the API's through ESRI. Any ideas? Anyone else have the same errors? Thank you! Ian
... View more
04-24-2017
12:03 PM
|
0
|
8
|
2773
|
POST
|
I figured it out, I basically concerted the ! to an ASCI code and it worked. Here is my syntax: # ! Screening arcpy.SelectLayerByAttribute_management(CISAddressSDEFL, "NEW_SELECTION", "NEIGHBOUR LIKE '%!%'") explanationPointChar = chr(33) arcpy.CalculateField_management(CISAddressSDEFL, "NEIGHBOUR", "!NEIGHBOUR!.replace(explanationPointChar, \"\")", "PYTHON", "")
... View more
04-03-2017
02:51 PM
|
2
|
0
|
553
|
Title | Kudos | Posted |
---|---|---|
1 | 04-01-2022 05:53 AM | |
1 | 09-18-2018 06:17 AM | |
1 | 06-19-2018 10:31 AM | |
1 | 05-15-2018 10:42 AM | |
1 | 10-14-2015 03:59 PM |
Online Status |
Offline
|
Date Last Visited |
04-04-2022
06:43 AM
|