Select to view content in your preferred language

4.7 - verticalOffset (callout) for simple-marker using graphicsLayer and sceneView

1806
5
Jump to solution
05-10-2018 12:41 AM
TubaKumbara
Regular Contributor

Hello.

In sceneview i'm adding some simple-marker symbols. But i want to add callout lines for those symbols such as your sample page

ArcGIS API for JavaScript Sandbox 

I'm using graphicslayer on sceneview.

I tried somethings but doesn't accomplished yet. Is there any way to do that?

Thanks inadvance.

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus
5 Replies
RobertScheitlin__GISP
MVP Emeritus

Tuba,

   Have you tried to create a FeatureLayer using using an array of client-slide graphics, to test if it is just the GraphicsLayer that does not support what you are trying to do?

0 Kudos
TubaKumbara
Regular Contributor

Robert Scheitlin, GISP wrote:

Tuba,

 

   Have you tried to create a FeatureLayer using using an array of client-slide graphics, to test if it is just the GraphicsLayer that does not support what you are trying to do?

can you give me a sample code which adding simple-marker symbol with callout on skectViewModel and graphicslayer

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Tuba,


  No I can not.

0 Kudos
TubaKumbara
Regular Contributor

thanks for reply.

actually i cant set Z value of simplemarker with sketchViewModel on sceneview yet. 

mygraphic.z = 500 // just for example 500 meters up from ground

but im still seeing my graphics relative to ground.

normal draw action working good but sketchview doesn't

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Tuba,

   Did you specify the elevation info property for the GraphicsLayer?

https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GraphicsLayer.html#elevati...