ArcGIS JS API 4.x - Polyline size(extrusion) in 3D View Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?Unknown item type 'Layer' arcGIS API for JavaScriptGeolocation coordinates to Point geometry for buffer - ArcGIS JavaScript APIHighlight Polygons on a map Arcgis API for JavascriptVETiledLayer in ArcGIS JavaScript API v4?ArcGIS Javascript API 4.2 basemap toggle thumbnail issueApplying curve using ArcGIS API for JavaScript?XY Points incorrect on map (ArcGIS Javascript API 4.7)Workaround for no point clustering in ArcGIS Javascript API 4.7dash line in SceneView ArcGIS JS APIArcGIS Route Optimization REST API stops order
Can I cut the hair of a conjured korred with a blade made of precious material to harvest that material from the korred?
Where did Ptolemy compare the Earth to the distance of fixed stars?
Flight departed from the gate 5 min before scheduled departure time. Refund options
The Nth Gryphon Number
Why did Bronn offer to be Tyrion Lannister's champion in trial by combat?
Does a random sequence of vectors span a Hilbert space?
How to get a flat-head nail out of a piece of wood?
Why are current probes so expensive?
Should man-made satellites feature an intelligent inverted "cow catcher"?
French equivalents of おしゃれは足元から (Every good outfit starts with the shoes)
An isoperimetric-type inequality inside a cube
What helicopter has the most rotor blades?
Do i imagine the linear (straight line) homotopy in a correct way?
My mentor says to set image to Fine instead of RAW — how is this different from JPG?
Weaponising the Grasp-at-a-Distance spell
What is the proper term for etching or digging of wall to hide conduit of cables
Proving that any solution to the differential equation of an oscillator can be written as a sum of sinusoids.
Why complex landing gears are used instead of simple, reliable and light weight muscle wire or shape memory alloys?
How do I find my Spellcasting Ability for my D&D character?
Which types of prepositional phrase is "toward its employees" in Philosophy guiding the organization's policies towards its employees is not bad?
How to name indistinguishable henchmen in a screenplay?
How does the body cool itself in a stillsuit?
Twin's vs. Twins'
What is a more techy Technical Writer job title that isn't cutesy or confusing?
ArcGIS JS API 4.x - Polyline size(extrusion) in 3D View
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?Unknown item type 'Layer' arcGIS API for JavaScriptGeolocation coordinates to Point geometry for buffer - ArcGIS JavaScript APIHighlight Polygons on a map Arcgis API for JavascriptVETiledLayer in ArcGIS JavaScript API v4?ArcGIS Javascript API 4.2 basemap toggle thumbnail issueApplying curve using ArcGIS API for JavaScript?XY Points incorrect on map (ArcGIS Javascript API 4.7)Workaround for no point clustering in ArcGIS Javascript API 4.7dash line in SceneView ArcGIS JS APIArcGIS Route Optimization REST API stops order
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I've a PolyLine , I need to adjust its height and display it in SceneView
(As a paper with 0 thickness) . I was able to display the PolyLine as a Line and I could be able to adjust its elevation (relative-to-ground) , but I couldn't control the visualVariables.size
, Is there any special symbology - renderer I can use ?
arcgis-javascript-api-4
add a comment |
I've a PolyLine , I need to adjust its height and display it in SceneView
(As a paper with 0 thickness) . I was able to display the PolyLine as a Line and I could be able to adjust its elevation (relative-to-ground) , but I couldn't control the visualVariables.size
, Is there any special symbology - renderer I can use ?
arcgis-javascript-api-4
add a comment |
I've a PolyLine , I need to adjust its height and display it in SceneView
(As a paper with 0 thickness) . I was able to display the PolyLine as a Line and I could be able to adjust its elevation (relative-to-ground) , but I couldn't control the visualVariables.size
, Is there any special symbology - renderer I can use ?
arcgis-javascript-api-4
I've a PolyLine , I need to adjust its height and display it in SceneView
(As a paper with 0 thickness) . I was able to display the PolyLine as a Line and I could be able to adjust its elevation (relative-to-ground) , but I couldn't control the visualVariables.size
, Is there any special symbology - renderer I can use ?
arcgis-javascript-api-4
arcgis-javascript-api-4
asked Mar 12 at 9:25
MathboyMathboy
85216
85216
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Well , I found a workaround solution , the idea is to duplicate the coordinates and add a very tiny buffer .
var clonedArray = geometry.coordinates.slice(0);
var newClonedArray = new Array();
for (k = 0; k < clonedArray.length; k++)
newClonedArray[k] = new Array();
for (l = 0; l < clonedArray[k].length; l++)
newClonedArray[k][l] = clonedArray[k][l] + 0.01;
var newReversedClonedArray = newClonedArray.reverse();
fakePolygon = clonedArray.concat(newReversedClonedArray);
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "79"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f315185%2farcgis-js-api-4-x-polyline-sizeextrusion-in-3d-view%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Well , I found a workaround solution , the idea is to duplicate the coordinates and add a very tiny buffer .
var clonedArray = geometry.coordinates.slice(0);
var newClonedArray = new Array();
for (k = 0; k < clonedArray.length; k++)
newClonedArray[k] = new Array();
for (l = 0; l < clonedArray[k].length; l++)
newClonedArray[k][l] = clonedArray[k][l] + 0.01;
var newReversedClonedArray = newClonedArray.reverse();
fakePolygon = clonedArray.concat(newReversedClonedArray);
add a comment |
Well , I found a workaround solution , the idea is to duplicate the coordinates and add a very tiny buffer .
var clonedArray = geometry.coordinates.slice(0);
var newClonedArray = new Array();
for (k = 0; k < clonedArray.length; k++)
newClonedArray[k] = new Array();
for (l = 0; l < clonedArray[k].length; l++)
newClonedArray[k][l] = clonedArray[k][l] + 0.01;
var newReversedClonedArray = newClonedArray.reverse();
fakePolygon = clonedArray.concat(newReversedClonedArray);
add a comment |
Well , I found a workaround solution , the idea is to duplicate the coordinates and add a very tiny buffer .
var clonedArray = geometry.coordinates.slice(0);
var newClonedArray = new Array();
for (k = 0; k < clonedArray.length; k++)
newClonedArray[k] = new Array();
for (l = 0; l < clonedArray[k].length; l++)
newClonedArray[k][l] = clonedArray[k][l] + 0.01;
var newReversedClonedArray = newClonedArray.reverse();
fakePolygon = clonedArray.concat(newReversedClonedArray);
Well , I found a workaround solution , the idea is to duplicate the coordinates and add a very tiny buffer .
var clonedArray = geometry.coordinates.slice(0);
var newClonedArray = new Array();
for (k = 0; k < clonedArray.length; k++)
newClonedArray[k] = new Array();
for (l = 0; l < clonedArray[k].length; l++)
newClonedArray[k][l] = clonedArray[k][l] + 0.01;
var newReversedClonedArray = newClonedArray.reverse();
fakePolygon = clonedArray.concat(newReversedClonedArray);
answered Mar 13 at 5:09
MathboyMathboy
85216
85216
add a comment |
add a comment |
Thanks for contributing an answer to Geographic Information Systems Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f315185%2farcgis-js-api-4-x-polyline-sizeextrusion-in-3d-view%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown