POST
|
Hi I'm using the new SVG to CIMSymbol functionality (https://codepen.io/michaelk95/pen/zYzrYXK?editors=1000 It works perfectly!) When using ScaleX primitive override: primitiveOverrides: [{ type: 'CIMPrimitiveOverride', primitiveName: 'pictureOver', propetryName: 'ScaleX', valueExpressionInfo: { type: 'CIMExpressionInfo', title: 'Custom', expression: `$feature.WIDTH`, returnType: 'Numeric' } }], The image clipping occurs sometimes when zooming in and out. Codepen: https://codepen.io/michaelk95/pen/zYzrYXK?editors=1000 Screenshots:
... View more
11-30-202201:10我
|
0
|
2
|
219
|
POST
|
Hi! I'm using the externalRenderers for adding some animating 3D windmills like: (https://developers.arcgis.com/javascript/latest/sample-code/scene-external-renderer/) However it's not possible to click on a external renderer and have some data stored inside the renderers. (I could draw a graphic underneath the external web gl renderer for the click behaviour, but due to precision issues these are not lined up correctly - https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-externalRenderers.html) Is it possible to add these external renderers to a specific layer or make it clickable? Thanks!
... View more
11-29-202202:35 AM
|
0
|
0
|
116
|
POST
|
//www.gobook3.com/t5/arcgis-api-for-javascript-questions/selected-feature-popup-not-correct/td-p/1234432 New issue (selected feature)
... View more
11-23-202201:36 AM
|
0
|
0
|
141
|
POST
|
Hi! Reproduce steps: codepen:https://codepen.io/michaelk95/pen/abKoGxz - A FeatureLayer displaying 40 graphics. Each 100ms a mocked update will be processed by ApplyEdits. - Click some assets and wait for the popup > Each time (ms) the layer is updating the wrong popup is selected. My assumption: Each time the layer is updated with applyEdits (updateFeatures), the index of a feature is changed in the background and a wrong asset is selected. Can someone look into this? (It's quite a big issue with updating layers) Thanks!
... View more
11-23-202201:11 AM
|
0
|
0
|
161
|
POST
|
When applying your changes in a codepen, I still see the same issues. Seems like the results of the hitTest function returns the wrong feature. (Because the layer is updating at the same time)
... View more
11-16-202212:27 AM
|
0
|
0
|
158
|
POST
|
I'm using the view hitTest function to determine which feature is selected. But it seems like there are some issues with the hitTest for a dynamic updating layer. Reproduce steps: - A FeatureLayer displaying 40 graphics. Each 100ms a mocked update will be processed by ApplyEdits. - HitTest function with hitResults[ => The first result will be used for the content and location of the popup. Why we're using hitTest: We're creating a custom web element for displaying a popup instead of displaying the default popupTemplate. (should be created each time an asset changes) => A wrong popup is displayed when clicking a feature/graphic. Codepen https://codepen.io/michaelk95/pen/abKoGxz?editors=1000 Thanks
... View more
11-10-202201:51 AM
|
0
|
3
|
223
|
POST
|
Thanks @Anonymous User Is there an alternative for calculating the area based on camera position/heading/tilt/view's extent? ArcGis has this functionality by default? Thanks
... View more
10-26-202212:18 AM
|
0
|
0
|
172
|
POST
|
As you can see in the last image (SceneView), the actual view area is larger than the view's extent. (visible extent and yes it changes when a user is navigating or zooming). But is there any way of getting the actual viewing area? (Given a rotated sceneview or mapview). Can you zoom a bit and rotate? You'll get the same result Thanks
... View more
10-24-202206:01 AM
|
0
|
0
|
219
|
POST
|
We're using the extent property of a MapView/SceneView for calculating which graphics to apply for a specific area. (Based on which graphics are in bound of extent x - calculated server sided ). Default extent property (simple fill red opacity 0.4) - working as expected When rotating a view the extent does not change (with a watch util on view.extent): When tilting or rotating in a SceneView.. Same results Does ArcGis provide a way to get the actual extent (view area). codepen: https://codepen.io/michaelk95/pen/BaVBrxo Thanks
... View more
10-24-202201:50 AM
|
0
|
5
|
281
|
POST
|
Is it possible to show layer id in a popup's template ? layer expression: { name: "layer", title: "layer", expression: "$layer.id" } https://codepen.io/michaelk95/pen/NWwyxyE
... View more
09-14-202205:55 AM
|
0
|
2
|
133
|
POST
|
Hi! I'm trying to use aClassBreakRenderer based on cluster_count prop: Codepen: https://codepen.io/michaelk95/pen/JjOxLbw?editors=1000 Is it possible? Thanks
... View more
03-04-202204:33 AM
|
0
|
3
|
260
|
IDEA
|
如果你ca就好了n add html 'div' elements as symbol. Maybe it could be a separate layer (HTMLFeatureLayer) Or it should be possible for each layer type. Is it possible to write a custom feature layer / graphic layer with html element? I know this is possible for popups/infowindow content.. Thanks in advance!
... View more
03-03-202211:23 PM
|
0
|
1
|
544
|
POST
|
创建一个CIMTextSymbol符号用于工作(In the previous version of arc gis api): { type: 'CIMTextSymbol', fontFamilyName: 'apica-font', height: size, horizontalAlignment: 'Center', symbol: { type: 'CIMPolygonSymbol', symbolLayers: [ { type: 'CIMSolidFill', enable: true, color, }, ], }, billboardMode3D: 'FaceNearPlane', verticalAlignment: 'Center', }; Why is it not working anymore? Is there any alternative for visualising 3D text. Thanks
... View more
03-03-202205:19 AM
|
0
|
1
|
278
|
POST
|
Hi! I'm trying to update my feature layer with ApplyEdits. But it seems like ApplyEdits does nothing if my layer is invisible. When I toggle it back on (visible true) It's applying the last applyEdits. expected behaviour: When I toggle off my layer it should delete all features immediately. How to fix this? Thanks in advance!
... View more
03-01-202205:53 AM
|
0
|
1
|
200
|
IDEA
|
It should be possible to add multiple popups? view.popups = []; Add popups manually with viewHitTest -> view.popup.add() - given a graphic - Thanks!
... View more
02-18-202212:50 AM
|
2
|
1
|
576
|
Title | Kudos | Posted |
---|---|---|
2 | 02-18-202212:50 AM |
Online Status |
Offline
|
Date Last Visited |
12-02-202211:21 AM
|