|
POST
|
I don't get into ArcMap as much and I never have published a print service. Could you outline the steps that I need to do to make this work? Your example does what I want my app to do; I'm just not sure how to put it together.
... View more
02-24-2015
07:22 AM
|
0
|
3
|
4078
|
|
POST
|
Thanks. I added the information to my notes for future reference. I've been reading the API Reference along with the examples lately or posters questions. It's helped out a lot. It makes a difference when I am trying to figure what functionality different items have.
... View more
02-23-2015
02:55 PM
|
0
|
0
|
2308
|
|
POST
|
Kelly Hutchins Okay, so the final item; would the .esriMeasurementPane be included in the query to ensure that the .esriButton(s) are within that class, so other buttons in other controls are not affected?
... View more
02-23-2015
02:48 PM
|
0
|
2
|
2308
|
|
POST
|
Always happy when I get to help someone on here. I receive a lot of help myself. Glad it helped.
... View more
02-23-2015
12:59 PM
|
0
|
0
|
2600
|
|
POST
|
Kelly, Just wanted to make sure I understand this. I have a project that I will need to add this functionality into later. In this line; query(".esriMeasurementButtonPane .esriButton").on("click", function(c){ Is it correct to say that you are querying the classes of .esriMeasurementButtonPane .esriButton as a listener for a click event after which you evaluate the tool which if it has that method, could be any tool? If it were a different tool, how do I know which classes I want to query? Is it always the pane and the button? Last, what purpose does the c have in the function; it's an argument, but it does not appear to be used. Is it needed?
... View more
02-23-2015
12:21 PM
|
0
|
4
|
2308
|
|
POST
|
There are three buttons already in the widget. The first one has the following ID: widgetid="dijit_form_ToggleButton_0 You could disable the identify based on the click event of each of these buttons, the first of the three being - dijit_form_ToggleButton_0. If the esriButtonChecked class exists, disable identify, otherwise enable identify. Here is an example on how to evaluate class name: HTML DOM className Property The reason I said to evaluate class of esriButtonChecked is that, that class appeared when I clicked on dijit_form_ToggleButton_0 and then disappeared when I deselected it. This method would allow you to avoid adding buttons.
... View more
02-23-2015
10:10 AM
|
0
|
0
|
2308
|
|
POST
|
You could use top and left, to position the pop-up, but if there is no container, it will move it based on the entire web page. Sounds like you just want to move it a little further away, so I would add a container around the popup and then set the top and left position in then and make sure you have the pop-up set to absolute. That's a guess, but worth a try. You could also take a look at the pop-up's positioning and move it as it may already be defined on position within a container already. If it is, that will make it easy, just change the numbers, probably top and left until they are where you want them to be. I am not sure what leader length is, but CSS does have a length property. As long as it is unique ID, you can change it in CSS. So I would go about finding the leader ID and search for the length; it could be set to auto, but you can change it pixels or px in CSS. If you get stuck, and it's public, you may want to post a link to your site or if it's one page, post to JS Bin - Collaborative JavaScript Debugging
... View more
02-23-2015
07:39 AM
|
1
|
9
|
4952
|
|
POST
|
Are you familiar with running the Developer tools in Google Chrome? If so, you could right click and inspect the element. In the right hand pane, you can see the properties of the element including the styles for resizing. Look for the element ID. It's not always what you think it is, as the size may be in a container, but you can hover your mouse over different elements in the code to know which elements are affected and then examine the element's CSS in the pane. You could then edit the .css file by searching for that element and modify it's CSS or you could override it with your own CSS file. That's what I have done in the JavaScript API.
... View more
02-23-2015
07:08 AM
|
3
|
11
|
4952
|
|
POST
|
Your best bet may be to re-post the question here: Web AppBuilder for ArcGIS or here: Web AppBuilder Custom Widgets They are both good groups for Web App Builder questions.
... View more
02-23-2015
06:56 AM
|
1
|
15
|
4952
|
|
POST
|
I want it to display in the single printout map to make it simple for the user like in the following image and with a border around it so it's easier to see. The overview is in the upper right hand corner here.
... View more
02-23-2015
06:48 AM
|
0
|
6
|
4078
|
|
POST
|
You could create two buttons, possibly make the measurement tool inactive when the popup is active to remove conflict. Create two buttons with text of your choice with the following names: Button 1: enablePopup Button 2: disablePopup In your JavaScript, add the following: on(dom.byId("enablePopup"), "click", function () {
document.getElementById("enablePopup").style.visibility = 'hidden';
document.getElementById("disablePopup").style.visibility = 'visible';
document.getElementById("measurementDiv").style.visibility = 'hidden';
map.setWindowOnClick(true);
});
on(dom.byId("disablePopup"), "click", function () {
document.getElementById("enablePopup").style.visibility = 'visible';
document.getElementById("disablePopup").style.visibility = 'hidden';
document.getElementById("measurementDiv").style.visibility = 'show';
map.setWindowOnClick(true);
}); The enable popup button hides the measurement tool and allows you to use the infoWindow. The disable popup button shows the measurement tool and disables the popup I still would like it confirmed from Kelly Hutchins to make sure this is right, but it seems logical.
... View more
02-20-2015
01:39 PM
|
1
|
0
|
2902
|
|
POST
|
Have you considered using Esri ArcGIS Runtime SDK? You can embed ArcGIS into desktop apps: ArcGIS Runtime SDKs There is a per seat license for the software and you develop in Visual Studio where you add the components to develop.
... View more
02-20-2015
12:30 PM
|
0
|
1
|
1027
|
|
POST
|
I had an application where the infoWindow and the editor widget conflicted. It's appears to be similar to your issue. Check out my post on how I resolved the conflict. You may need to destroy your measurement tool and bring it back and possibly create button to start identifying features: Adding an Editor to the Template
... View more
02-20-2015
11:44 AM
|
0
|
0
|
1474
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 02-26-2015 12:31 PM | |
| 1 | 06-24-2015 06:06 AM | |
| 1 | 07-15-2015 12:34 PM | |
| 1 | 05-21-2015 02:27 PM | |
| 1 | 05-19-2015 11:52 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:23 AM
|