Select to view content in your preferred language

Temporal Renderer at Stream layer in 4.X?

02-13-2023 11:34 PM
Esri Contributor


I'm using javascript 4.24 version and trying to symbolize stream layer with previous observations and track lines.

I found Temporal renderer documentation at ArcGIS API for JavaScript ver 3.42. 

However, It does not apply to version 4.X. All symbols are disappear and only basic symbols show.

Is there any ways to draw track lines using Javascript API ver 4.X?

Any suggestions or help would be much appreciated!



I test with this web map: 

And when I open this web map it looks like below.




require(["esri/views/MapView", "esri/WebMap","esri/config"], (MapView, WebMap, esriConfig) => {
* Creates a new WebMap instance. A WebMap must reference
* a PortalItem ID that represents a WebMap saved to
* or an on-premise portal.
* To load a WebMap from an on-premise portal, set the portal
* url with esriConfig.portalUrl.
esriConfig.portalUrl = ""

const webmap = new WebMap({
portalItem: {
// autocasts as new PortalItem()
id: "c20800fc520c4c6c87fd594d5065d58f"

* Set the WebMap instance to the map property in a MapView.
const view = new MapView({
map: webmap,
container: "viewDiv"

0 Kudos
0 Replies