POST
|
My services are relatively simple, and I control them, so I went back into Pro, changed all of my label fonts to get rid of tahoma, and re-published the services.
... View more
04-10-2019
06:02 AM
|
0
|
2
|
4572
|
IDEA
|
We've pretty much got our operations transitioned from ArcMap to ArcPro. We've generated several map series in ArcPro, outputting to PDF. Works great. Now we need a series of 170 PNG map images for our web site. I thought that surely we could also use the ArcPro Map Series functionality, and just choose a different output format. Apparently not so at present. This would seem to me to be logical functionality to have. I guess now, my options are 1) find an efficient way to create images from PDF, 2) export map series maps to PNG format one by one, or 3) figure out how to accomplish this via Python.
... View more
10-30-2018
07:16 AM
|
2
|
1
|
3183
|
POST
|
Oddly, if you filter to a specific county name it will show polygons for that county or counties. Perhaps that's a clue. I'm not seeing any sort of default query on the un-filtered features.
... View more
10-05-2018
05:43 AM
|
0
|
0
|
948
|
POST
|
The MapImageLayer suggestion is a good one, Robert. That's got me thinking, and reviewing possible layer types, which is a good thing. Since I'm using AGOL hosting, I think that particular one is not an option, but some manner server-side rendering might be the best way to go. Your proposed solution, Oren, has got my interest too. I'm a bit concerned about too many calls to that function, with too many vertices, with every scale and extent change ideally, but it may work just fine. I think I'll have to dig into it a bit more. Alternative #3, I suppose I could create my own label point services. They wouldn't be dynamic, but at least they'd be predictable. One way or another, I think this is going to work. Thanks both for your input.
... View more
08-22-2018
09:18 AM
|
0
|
1
|
1472
|
POST
|
I'm about to throw in the towel on this one, but figure I'd ask the question to make sure I'm not missing anything. I've got my JSAPI 4.8 2D WebGL polygon labels working great on a FeatureLayer - fonts, halos, scale sensitivity. What I realize now though is that labels are placed at polygon centroids. Many of my polygons, political districts in this case, are irregularly shaped, so the center falls outside of the polygon. The reason for labeling the polygons is so that users can identify them. I'm afraid the net effect in this case is that districts will be labeled 'wrong', thereby sowing confusion. There would be no way to force the labels back into their respective polygons, right???
... View more
08-21-2018
12:09 PM
|
1
|
8
|
1624
|
POST
|
Thank you, Rene. I think you've got me headed down the right path. I followed that link and now have a better understanding of supported fonts for what I'm trying to achieve. What was still confusing to me though was that I could find no reference to Tahoma in my label class or anywhere on the page for that matter. I could completely comment out my label class and all references to labeling, and still get the error. Then the light bulb... I was able to confirm a reference to Tahoma Bold in my service definition. This traces back to label setup in ArcPro. So, my next task is to address that, and surely/hopefully that will solve the problem. - thanks again
... View more
07-31-2018
10:44 AM
|
1
|
4
|
4572
|
POST
|
Pesky error, that I'm having a hard time getting past. I'm using the JavaScript API 4.8 to create a 2D web map with some relatively simple layers, and hopefully simple labels. For labeling in particular, I apparently need to enable WebGL rendering of my layers. With a simple renderer, my layers draw fine. As soon as I add the requisite WebGL-enabling section though, in the proper location in my header, rendering fails: <script> var dojoConfig = { has: { "esri-featurelayer-webgl": 1 } }; </script> If I look at my console in Chrome, I get: VM5870:1 GET https://static.arcgis.com/fonts/tahoma-bold/0-255.pbf 404 () dojo.js:251 [esri.views.2d.engine.webgl.TextureManager] h {name: "mapview-invalid-resource", message: "Couldn't find font tahoma-bold. Falling back to Arial Unicode MS Regular", details: undefined} details:undefined message:"Couldn't find font tahoma-bold. Falling back to Arial Unicode MS Regular" name:"mapview-invalid-resource" __proto__:b The WebGL samples work fine, and do not give this error. Might anyone have an insight? Thanks in advance.
... View more
07-31-2018
08:37 AM
|
0
|
6
|
6870
|
Title | Kudos | Posted |
---|---|---|
1 | 08-21-2018 12:09 PM | |
1 | 07-31-2018 10:44 AM | |
2 | 10-30-2018 07:16 AM |
Online Status |
Offline
|
Date Last Visited |
02-07-2023
08:19 PM
|