|
POST
|
Still looking for some insight on this issue. Thanks! --Dean
... View more
08-12-2019
07:32 AM
|
0
|
9
|
1956
|
|
POST
|
Bump! Hopefully this doesn't fall into the GEONET black hole..
... View more
08-06-2019
05:25 AM
|
0
|
0
|
2900
|
|
POST
|
Another bump on this question. I've tried the few things Noah mentioned but to no avail. Is this a print service issue that's used in 10.4 server?
... View more
07-29-2019
05:44 AM
|
0
|
0
|
2900
|
|
POST
|
Noah, The print widget that I'm using (I'm utilizing the print widget from webappbuilder) Won't take the url that you mentioned when I put it in the config for "serviceUrl". Any ideas on that? I did add the textsymbols straight to the map using: this.map.graphics.add(textFeatureGraphic); But still not showing on the print. It may be the print service in 10.4 has a bug in it.. Not sure how I can test that other then upgrading the arcgis server we have on-premise.
... View more
07-23-2019
12:09 PM
|
0
|
0
|
2900
|
|
POST
|
Hi Noah, To answer your questions: 1) We're using arcgis server 10.4.1 for all of our services, including the print service. 2) Yes I'm adding the textsymbols as graphics to a featurelayer thru applyEdits(). The textsymbols are on the map as displayed, just not in the prints. The rub with all of this is I'm building the feature layers off of a featurecollection that uses the attributes that I make, not the arcgis server. Maybe thats the issue but I'm not 100%. There's really not much I can do about that because I'm pulling the attribute data from a third party sql server on premise, and not attributes from arcgis. Hopefully that makes sense.. let me know if i have to explain that different. -Dean
... View more
07-23-2019
06:48 AM
|
0
|
2
|
2899
|
|
POST
|
Thanks for the tip. I'll look into the labeling part of it. But, what if I only have a text symbol? Those are the things that aren't printing. I can take out the other graphic features and just leave the textsymbol and it doesn't show up in the print. P.S. I didn't add this before, and I should have, but I'm using the 3.x api, not the 4.x..
... View more
07-19-2019
05:07 AM
|
0
|
4
|
2899
|
|
POST
|
Bumping this question.... Just checking to see if I should word this any different maybe? Still not functioning right.
... View more
07-18-2019
07:28 AM
|
0
|
0
|
2899
|
|
POST
|
I've seen a lot of the textsymbol questions in the forums here and have tried every one of them. My issue is the textsymbol doesn't show up at all on the print. It shows on the map as built. Here's the code as to how I'm putting this together. I also tried putting this layer together by itself (to take the fact there are multiple graphics layers out of the scenario) and still getting the same issues. Here's my method: _buildRatioViewerGraphics: function(ratioViewerData){ let features = []; let textFeatures = []; arrayUtils.forEach(ratioViewerData, lang.hitch(this, function(ratioFeature){ let polySymbol = new SimpleFillSymbol( SimpleFillSymbol.STYLE_SOLID, new SimpleLineSymbol( SimpleLineSymbol.STYLE_SOLID, new Color(this._ratioColorPicker(ratioFeature.attributes.ratio)), 0.4 ), new Color(this._ratioColorPicker(ratioFeature.attributes.ratio)) ); let featureGraphic = new Graphic(ratioFeature); featureGraphic.setSymbol(polySymbol); features.push(featureGraphic); let textColor = new Color(); textColor.setColor([0, 0, 0, 1]); let textFont = new Font(); textFont.setSize("12pt"); textFont.setWeight(Font.WEIGHT_BOLD); textFont.setFamily("Arial"); let textSymbol = new TextSymbol() .setText(this._formatRoutingNumberLabel(ratioFeature.attributes.routingNumber)) .setFont(textFont) .setColor(textColor) .setAlign(Font.ALIGN_MIDDLE) .setAngle(0) .setHaloColor(new Color([255, 255, 255, 0.3])) .setHaloSize(1); textSymbol.horizontalAlignment = "center"; textSymbol.verticalAlignment = "center"; let textFeatureGraphic = new Graphic(ratioFeature); textFeatureGraphic.setSymbol(textSymbol); textFeatures.push(textFeatureGraphic); })); this.featureLayer.applyEdits(features, null, null); this.textFeatureLayer.applyEdits(textFeatures, null, null); return features; }
... View more
07-03-2019
06:11 AM
|
0
|
19
|
5235
|
|
POST
|
I'll give it a go around and see what I come up with. Thanks Robert..
... View more
06-25-2019
10:54 AM
|
0
|
0
|
1166
|
|
POST
|
Hey Robert, Thanks for moving the question for me. I appreciate that.. To answer your two questions: 1) Correct, custom widget using QueryTasks 2) Yes I have it returning the geometry. I was hoping not to have to finagle a map click to display the popup. I figured there was a way to call a specific popup based on the search result (whether it is geometry or otherwise). My reasoning for this is my custom search tool could search up to 20 different layers... as well as a small part of it (using the DrawBox) sending back results searching up to all of these results. The rub with this is Each layer has some of the same data, some different pieces of data. I wanted to show a list of results that are normalized for all layers, (like ID and description) then when someone clicks on that result item display the popup out of the layer it came out of. Hopefully this makes sense. I can attempt to use the programmatic map click as you mentioned.. I'll give it a run and let you know... Unless you have other thoughts..
... View more
06-25-2019
10:34 AM
|
0
|
2
|
1166
|
|
POST
|
Well I'm putting the code in a custom WAB app. I can refilter the question under the WAB app if that helps..
... View more
06-25-2019
08:56 AM
|
0
|
4
|
1166
|
|
POST
|
I put together a search widget, and I'm trying to get it to show the embedded webmap popup when I click my search result. Robert's ESearch does this but I'm not seeing where it shows the embedded webmap popup that I already configured in the webmap using arcgis portal. Any direction would be wonderful. Thanks! Dean
... View more
06-25-2019
06:51 AM
|
0
|
6
|
1301
|
|
POST
|
What threw me in the description of the SPATIAL_REL_CONTAINS, it says "Part or all of a feature from feature class 1...". So I just ended up using the intersects relationship and just adding a negative buffer of a foot to the geometry I was using. It seems to work ok now. Thanks for clearing that up for me though, Robert. I think ESRI needs to update the description of SPATIAL_REL_CONTAINS. --Dean
... View more
05-23-2019
11:30 AM
|
0
|
0
|
1879
|
|
POST
|
Got this worked out. Just as a heads up. In this situation, if you set your proxy up to sit behind a specific user, and you set just the webmap object in portal to only organization and use a different user then what the proxy is using, then you'll get the login page when accessing that specific webmap. Works like charm.
... View more
05-23-2019
07:42 AM
|
1
|
0
|
1026
|
|
POST
|
Good morning! I'm trying to get this spatial query right, and as per the subject above, whats the difference between SPATIAL_REL_CONTAINS or SPATIAL_REL_INTERSECTS? If spatial_rel_contains is for one polygon that's completely contained in another polygon, why does the description read "Part or all of a feature from feature class 1 is contained within a feature from feature class 2." ? Here's why I ask this.... I have a parcel geometry. I'm trying to find out what survey area its in using the survey area geometry. Well, when I use intersects, I'm getting 4 different survey areas. It should only be showing one survey area that its in. Here's the rub. When I use contains instead of intersects, it doesn't find ANY SURVEY AREAS. Isn't contains supposed to be able to allow for partial contains? Here's how I'm putting my function together (I know I have the contains commented out. So right now its using intersects and not contains): _fetchVMSData: function(){ let vmsQuery = new Query(); vmsQuery.geometry = features[0].geometry; //vmsQuery.spatialRelationship = Query.SPATIAL_REL_CONTAINS; vmsQuery.outFields = ["VMS", "SEC_NUM", "TOWNSHIP", "RANGE"]; let vmsQueryTask = new QueryTask("https:// service where the survey geometries are"); return vmsQueryTask.execute(vmsQuery); }
... View more
05-23-2019
07:39 AM
|
0
|
2
|
2061
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 07-14-2025 08:02 AM | |
| 1 | 07-02-2025 08:04 AM | |
| 1 | 05-23-2019 07:42 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-06-2025
05:03 AM
|