POST
|
Thanks for sample. working good. But i see different values for same location between click event and pointer-move event. click returning x= 25.9666 y = 19.3333 (Decimal Degree) pointer-move returning : x= 8095424.24577 y = 1587845.544875 (webmercator) and i used webMercatorUtils.webMercatorToGeographic function to return as deciamldegree. So, All working good now. Thanks.
... View more
03-27-2018
07:57 AM
|
0
|
0
|
1884
|
POST
|
Hello. I'm using JS 4.6. I'm able to get x,y coordinates with view's click event. But i want to get xy coordinates with mouse move. For this i tried to get x,y below code. But i'm seeiny mouse X and Mouse Y, Not mappointX and Mappoint.Y Below code has no problem (click event). appConfig.activeView.on("click", function(evt){ alert(evt.mapPoint.x); alert(evt.mapPoint.Y); }) below code has problem (no mappoint property for evt) appConfig.activeView.on("pointer-move", function(evt){ alert(evt.mapPoint.x); alert(evt.mapPoint.Y); }) Thanks inadvance
... View more
03-27-2018
06:37 AM
|
0
|
3
|
2451
|
POST
|
ok. i found solution. This is works. send graphics.geometry instead of graphic. Thanks.
... View more
03-23-2018
06:59 AM
|
0
|
0
|
603
|
POST
|
Thanks for sample. Can you add a sample for length (kilometers) for linegraphic please? i'm drawing line graphic by mouse. Is my code wrong? I just send a linegraphic and "kilometers" parameters.
... View more
03-23-2018
06:54 AM
|
0
|
0
|
603
|
POST
|
Hello. I'm working on a create measuring geaodesic area and length. I have no any problem with calculate geodesicarea. But im getting below error message when i send a lineGraphic and unittype to geodesiclength. Notice: myLineGraphic has no problem because i can see line graphic on map var myLength = geometryEngine.geodesicLength(myLinegraphic, "kilometers"); Error Message: Uncaught type error: d.getcacheValue is not a function (geometryengine.js:11); Am i doing wrong something or is this a bug?. Thanks inadvance
... View more
03-23-2018
05:44 AM
|
0
|
3
|
1254
|
POST
|
Thanks for the answer. I think that basic mapping tools such as measuring, drawing etc are very important for geographic applications. you know the best in this matter, but such basic functions need to be brought to the system as soon as possible and then other functions maybe Best regards.
... View more
03-22-2018
11:01 PM
|
1
|
0
|
1651
|
POST
|
drawing tools is very important for map applications. still waiting.
... View more
03-21-2018
05:57 AM
|
0
|
1
|
1335
|
POST
|
Hello, I want to add my own drawing toolbar because of as i know 4.6 has no drawing toolbar yet. I need four drawing tools with mouse (Circle, Square, Star, Triangle) Is there any simple way to do that? I need sample codes. Thanks Inadvance.
... View more
03-21-2018
12:52 AM
|
0
|
3
|
2267
|
POST
|
Robert, GL has many graphics which has different opacity. I've got one numberbox component for layer opacity. So i can't apply same opacity to all graphics. Some graphics needs to different opacity. I think this is a bug and hope fix as soon as possible. Thanks.
... View more
03-13-2018
10:56 PM
|
0
|
0
|
1187
|
POST
|
Thanks for the answer. I'm using JS 4.6. Yes your code seems like working good But below code doesn't work even as your sample code. gl = new GraphicsLayer(); map.addLayer(gl); gl.opacity = 0.5; As you can see i need to set layer opacity after add to map. Users on sometimes needs to change layer opacity after adding some graphics to gl.
... View more
03-12-2018
11:18 PM
|
0
|
2
|
1187
|
POST
|
Hello I've added a graphicslayer. and a button. var g = new GraphicsLayer(); // g is global variable: i can use this everywhere mymap.add(g); Button code g.opacity = 0.5; but nothing happening. i can see layer opacity as 0.5 on developer tools (f12) console but im seeing layer on 1 opacity. Thanks.
... View more
03-12-2018
08:26 AM
|
0
|
6
|
1740
|
POST
|
At this time exaggeration doesn't working in Chrome. Below code from your samples page working with Chrome only data.values.forEach(function(value, index, values) { // each value represents an elevation sample for the // given pixel position in the tile. Multiply this // by the exaggeration value values[index] = value * exaggeration; }); Below code from Kelly working with IExplorer only var i,values= data.values, len = data.values.length; for( i=0; i < len; i++){ var value = values * exaggeration; values = value; } What can we do for solve this problem in both of browsers Thanks
... View more
03-02-2018
03:24 AM
|
0
|
1
|
791
|
POST
|
I tried any still trying somethings for solve this problem but nothing found yet. Edge and chrome has this problem too. We waiting a fix. This is urgent. Thanks.
... View more
02-27-2018
06:29 AM
|
0
|
8
|
1054
|
POST
|
Thanks for the answer. But actually i mean white spaces of top and bottom of map. There is no problem with left and right side. White spaces appears even you define minscale. Please try to move map with mouse to top or bottom continuously. You can see white space after a while.
... View more
02-26-2018
03:09 AM
|
0
|
1
|
448
|
POST
|
Could you try to maximum zoom out with mouse please. as you can see viewdiv area shrink. Do you have any solution? Here is the link https://developers.arcgis.com/javascript/latest/sample-code/views-switch-2d-3d/index.html thanks inadvance
... View more
02-25-2018
09:56 PM
|
0
|
3
|
782
|
Title | Kudos | Posted |
---|---|---|
1 | 05-20-2018 11:40 PM | |
1 | 05-13-2018 11:18 PM | |
2 | 02-05-2013 06:38 AM | |
1 | 03-22-2018 11:01 PM | |
2 | 02-06-2018 05:19 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|