|
POST
|
Ken, Steve is correct. ESRI support is the official way to report bugs. That way the issue can get verified and immediately reported to the dev teams via our tracking system. This creates an issue whose progress can be tracked by the person who submitted the issue. All of your points are good too. Having a description along with a simple sample and repro steps are extremely helpful. Posting the issue in GeoNet is helpful to because it keeps it on our radar and we can easily provide you with temporary workarounds if there are any or identify potential user error. It also helps us understand where people struggle with the API, which may indicate room for improvement in our samples and documentation. So having the issue in GeoNet is great, but to make sure an actual bug is addressed, you must go through ESRI support. Hope that helps!
... View more
06-14-2016
02:14 PM
|
1
|
6
|
3263
|
|
POST
|
Ah. I see now. Yeah. I don't think all of the Geoprocessor code is complete yet, but you can try setting the spatial reference on the ImageParameters using the imageSpatialReference property. This isn't documented in 4.0, but it may (or may not) work. Another thing to note is that SceneView in global mode does not support projected coordinate systems. However, SceneView in local mode does. So if you switch to a local viewingMode and add the image to the view, then you may be able to see it then. Keep in mind that the SceneView must be constructed with that SR - 102008 (NAD_1983_Albers). You can't change the spatial reference of the view after it's been created (yet anyway). Try those ways and let me know if either of them work out for you.
... View more
06-14-2016
02:05 PM
|
0
|
1
|
1597
|
|
POST
|
Thanks for Clarifying, David. Could you share a code snippet or live sample of your app?
... View more
06-14-2016
01:23 PM
|
0
|
0
|
2072
|
|
POST
|
David, Are you attempting this in a SceneView? If so, then you will see the behavior you're describing. Notice the note for known limitations in the documentation for the style property in SimpleFillSymbol - SimpleFillSymbol | API Reference | ArcGIS API for JavaScript 4.0 If working in a SceneView, then I recommend you use a FillSymbol3DLayer inside a PolygonSymbol3D although it still doesn't yet support styles other than a solid fill. The working cross style in MapView - JS Bin - Collaborative JavaScript Debugging But if you do the same in a SceneView - JS Bin - Collaborative JavaScript Debugging Then it doesn't work.
... View more
06-14-2016
11:47 AM
|
0
|
1
|
2072
|
|
POST
|
Try setting the outSpatialReference to an instance of SpatialReference. This property doesn't appear to be autocastable. So instead of this: gp = new Geoprocessor(testURL);
gp.outSpatialReference = {
wkid: 102100
}; Try this: gp = new Geoprocessor(testURL);
gp.outSpatialReference = new SpatialReference({
wkid: 102100
});
... View more
06-14-2016
10:47 AM
|
0
|
3
|
1597
|
|
POST
|
Yeah, you can request it as done in the previous comment, or you can create a FeatureLayer with the sublayer ID appended to the end of the URL and access the renderer that way.
... View more
06-13-2016
11:03 AM
|
1
|
0
|
1846
|
|
POST
|
Hi Charlie, This is a known issue that probably won't change anytime soon as far as I know. The reason you're seeing this behavior is because the SceneView doesn't load the elevation layer referenced in the Map's ground property until the user or the application zooms to or beyond the level you observed ( levels >8 ). This is for performance reasons. When zoomed out passed level 8 ( levels <8 ), it is less likely that elevation will be needed or used by the user. Once you zoom in passed that level, then it loads because it will start to have a visible impact in the scene. We don't load elevation when zoomed out passed level 8 because the extra loading in the app seems to be unnecessary. The reason you're seeing correct values after zooming to 8 then back to level 7 or lower is because the elevation layer is already loaded, whereas it wasn't when the application initially loaded. I hope that makes sense. As stated above, I don't see this changing soon unless we become aware of use cases where the user needs elevation values at those levels. Was is your use case? I can share it with others on the team so we can reassess this issue.
... View more
06-09-2016
09:40 AM
|
0
|
1
|
1244
|
|
POST
|
It seemed to work ok for me. See this test app using the same url - JS Bin - Collaborative JavaScript Debugging Paste the following into the Search box: 广东省
... View more
06-02-2016
12:30 PM
|
0
|
1
|
822
|
|
POST
|
There's actually an easier way to do this with JavaScript. I recommend not overriding it with CSS as this can cause some issues when upgrading to future versions. The popup has a dockOptions property which has an option to disable this button: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup.html#dockOptions Simply do the following: view.popup.dockOptions.buttonEnabled = false; Or var view = new MapView({
container: "viewDiv",
map: map,
center: [-73.950, 40.702],
zoom: 11,
popup: {
dockOptions: {
buttonEnabled: false
}
}
}); When constructing your view.
... View more
06-01-2016
04:38 PM
|
2
|
0
|
2015
|
|
POST
|
Rotation is not supported in 3D at this time. It is challenging to define, particularly with marker symbols that are billboarded. Knowing rotation angles on a tilted globe is more difficult than it is in 2D. We are discussing and planning for adding rotation support to 3D in a future release.
... View more
06-01-2016
04:32 PM
|
1
|
1
|
1024
|
|
POST
|
> However, the scene view has no such property The SceneView does have this property. See the documentation here - SceneView | API Reference | ArcGIS API for JavaScript 4.0 You can access the scale by simply referencing the property: var view = new SceneView({
map: map,
container: "viewDiv"
});
console.log(view.scale); You can even set the scale in the constructor: var view = new SceneView({
map: map,
container: "viewDiv",
scale: 24000
});
console.log(view.scale); You can also watch the scale and do something with it each time it changes: var view = new SceneView({
map: map,
container: "viewDiv"
});
view.watch("scale", function(newScale){
console.log("scale: ", newScale);
}); > 'Traditional 2D mapping properties, such as scale, zoom, center and extent do not always work well in 3D. For example, a map's scale is not clear when viewed in the context of a globe. The SceneView therefore supports these properties on a best effort basis, with certain limitations' This is talking about how a SceneView's actual scale will be different at any given point in the view. When we say SceneView.scale, what that actually refers to is the scale at the center of the view. This number does not reflect the scale at any other point in the view because of the earth's curvature. That's why working with scale in 3D can be problematic. Using SceneView.scale is still valid, but you should be aware of the issues surrounding scale in 3D.
... View more
06-01-2016
04:28 PM
|
1
|
0
|
2915
|
|
POST
|
Hmmmm...This behavior does look odd. Can you submit a bug report with these apps so we can get this in our system and fix it? As you can probably tell, the labelling capabilities are not close to being finished. (We still need to support 2D labelling, for example). I imagine some of these issues will be ironed out once we start to finish up this part of the API. Having a record of this issue in the form of a bug report is helpful though so we can know to look out for this when testing. Thanks for brining this up!
... View more
06-01-2016
11:06 AM
|
1
|
2
|
3172
|
|
POST
|
Here you go: https://jsbin.com/tesacarani/edit?html,output I'm not sure what issue you were running into. Were you setting the labelsVisible property to true? Let me know so we can update the documentation accordingly if anything was unclear. We can also add a sample to clear this up.
... View more
05-31-2016
10:27 AM
|
1
|
0
|
3172
|
|
POST
|
No specific date set, but you can expect it sometime in the fall of this year.
... View more
05-20-2016
08:46 AM
|
0
|
1
|
4002
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-06-2025 03:09 PM | |
| 1 | 04-29-2025 08:36 AM | |
| 1 | 08-20-2024 08:06 AM | |
| 1 | 08-13-2024 11:53 AM | |
| 1 | 07-22-2024 11:04 AM |
| Online Status |
Offline
|
| Date Last Visited |
05-06-2025
03:01 PM
|