POST
|
Hi, Where do you see what update 5 will have and when it will be available?
... View more
02-25-2019
05:10 PM
|
0
|
4
|
1749
|
POST
|
In the 10.x runtime SDK you were able to use FillSymbol for loading a picture (png) in a polygon and you could set the fill stretch to fill. In 100.x runtime the PictureFillSymbol only supports tiled, how do we do this in the 100.x runtime?
... View more
02-25-2019
02:43 PM
|
0
|
0
|
320
|
POST
|
Hi, I recently had this issue and my approach was to use ArcGIS Pro to author the symbol save the symbol style. The style files seem to be Sq-lite database files, using a Sq-Lite browser you can find in one of the tables the JSON. The symbols seem to be built from the CIM classes (e.g. ArcGIS Pro 2.3 API Reference Guide ). Here is an example of a layered symbol for a pointMarker consisting of triangle and picture (I removed the actual base64 picture) { "type": "CIMPointSymbol", "symbolLayers": [{ "type": "CIMVectorMarker", "enable": true, "anchorPoint": {"x": 0,"y": 0,"z": 0 }, "anchorPointUnits": "Relative", "dominantSizeAxis3D": "Y", "offsetY": 14, "rotation": 180, "size": 17, "billboardMode3D": "FaceNearPlane", "frame": {"xmin": -5.0,"ymin": -5.0,"xmax": 5.0,"ymax": 3.74}, "markerGraphics": [{ "type": "CIMMarkerGraphic", "geometry": {"x": 0,"y": 0}, "symbol": { "type": "CIMPointSymbol", "symbolLayers": [{ "type": "CIMVectorMarker", "enable": true, "anchorPoint": {"x": 0,"y": 0,"z": 0}, "anchorPointUnits": "Relative", "dominantSizeAxis3D": "Y", "size": 5, "billboardMode3D": "FaceNearPlane", "frame": {"xmin": 0.0,"ymin": 0.0,"xmax": 17.0,"ymax": 17.0}, "markerGraphics": [{ "type": "CIMMarkerGraphic", "geometry": { "rings": [[[0.0,0.0],[8.61,14.85],[17.0,0.0],[0.0,0.0]]]}, "symbol": { "type": "CIMPolygonSymbol", "symbolLayers": [{ "type": "CIMSolidStroke", "enable": true, "capStyle": "Round", "joinStyle": "Round", "lineStyle3D": "Strip", "miterLimit": 10, "width": 0, "color": {"type": "CIMRGBColor","values": [0,0,0,100]} }, { "type": "CIMSolidFill", "enable": true, "color": { "type": "CIMRGBColor", "values": [0,0,0,100] } }] } }], "scaleSymbolsProportionally": true, "respectFrame": true }], "haloSize": 0, "scaleX": 1, "angleAlignment": "Display" } }], "scaleSymbolsProportionally": true, "respectFrame": true }, { "type": "CIMPictureMarker", "enable": true, "anchorPoint": {"x": 0,"y": -6,"z": 0}, "anchorPointUnits": "Absolute", "dominantSizeAxis3D": "Y", "offsetY": 17, "size": 32, "billboardMode3D": "FaceNearPlane", "invertBackfaceTexture": true, "scaleX": 1, "textureFilter": "Picture", "tintColor": {"type": "CIMRGBColor","values": [255, 255,255,100]}, "url": "data:image/png;base64, <REMOVED>" }], "haloSize": 1, "scaleX": 1, "angleAlignment": "Display" }
... View more
02-25-2019
02:28 PM
|
1
|
7
|
1751
|
POST
|
We are using the 100.3 run time API and using the JSON label definitions for a GraphicsOverlay. We have a feature where a user can draw different geometry using SketchCreationMode. We have a requirement to apply different styled and positioned labels to different geometries. We have found that labeling of polygon geometries using esriServerPolygonPlacementAlwaysHorizontal for circles and certain triangles makes the labels disappear. We have attempted a number of label definition options e.g. (allowOverrun, allowOverlapOfFeatureInterior ...) none make the circle labeling work. If we change the label definition to esriServerPointLabelPlacementCenterCenter all labels appear but not where we want them. I am looking to find out if there are any known issues with esriServerPolygonPlacementAlwaysHorizontal? or is there any logging tools that could tell us why the labels are not appearing?
... View more
02-20-2019
06:27 PM
|
0
|
0
|
428
|
Title | Kudos | Posted |
---|---|---|
1 | 02-25-2019 02:28 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|