POST
|
Hi Eric, You can use an Esri vector basemap found here: https://www.esri.com/arcgis-blog/products/arcgis-online/announcements/whats-new-in-esri-vector-basemaps-february-2019/ There are 3 choices for Chinese (Hong Kong, Taiwan, and Modern)
... View more
08-05-2019
09:20 AM
|
1
|
0
|
1062
|
POST
|
You can follow the status of the bug here: https://support.esri.com/en/bugs/nimbus/QlVHLTAwMDEyMzY1MQ==
... View more
07-29-2019
04:56 PM
|
0
|
0
|
864
|
POST
|
Hi Dorothy, Are you getting the json from an API? You could try to grab the json with a fetch then load it using https://developers.arcgis.com/javascript/latest/guide/using-fromjson/index.html alternatively: https://github.com/Esri/geojson-layer-js
... View more
07-29-2019
04:54 PM
|
0
|
0
|
308
|
POST
|
Hi Weslly, There were some system requirement changes implemented in the 4.12 release: https://developers.arcgis.com/javascript/latest/guide/system-requirements/#hardware-requirements The relevant part is: 'high-performance graphics card with at least 512 MB of video memory'. To my knowledge, this means dedicated video memory which you can find by following these steps: https://www.computerhope.com/issues/ch001307.htm
... View more
07-29-2019
04:39 PM
|
0
|
2
|
5543
|
POST
|
Hi Esad, The problem is coming from the units. if you switch 'feet' and 'square-us-feet' to 'metric' it should work. Thanks for the find. This is an equivalency issue with 4.12. I have submitted a bug: BUG-000123678
... View more
07-12-2019
05:10 PM
|
0
|
2
|
682
|
POST
|
Hi Freddy, Thanks for the find. This is an equivalency issue with 4.12. I have submitted a bug for this issue: BUG-000123678
... View more
07-12-2019
05:09 PM
|
1
|
0
|
395
|
POST
|
Robert is correct. However a few workarounds were suggested in this thread that you can try: https://community.esri.com/thread/183421-how-can-i-load-local-kml-file-as-kmllayer
... View more
07-12-2019
04:40 PM
|
1
|
0
|
2608
|
POST
|
Hi Jack, Can you create a case with Esri Technical Support for this issue? https://support.esri.com/en/request-case Your last bug was an equivalency issue with 4.12, which is why I expedited the process. However, when you encounter bugs we ask that you submit them to Technical Support and an analyst will assist you. Thanks!
... View more
07-11-2019
04:23 PM
|
0
|
2
|
806
|
POST
|
I was having trouble accessing your data so I used a sample service: https://jsbin.com/locogiyoba/1/edit?html,css,output That is definitely weird behavior, however I got it to work by querying the feature layer and removing the layer view all together. Let me know if this makes sense.
... View more
07-11-2019
02:45 PM
|
0
|
4
|
806
|
POST
|
Try changing line 365 from resultsLayer.add(parkResults); to resultsLayer.addMany(parkResults);
... View more
07-11-2019
12:48 PM
|
0
|
1
|
804
|
POST
|
Hi Jack, I have logged a bug for this issue: BUG-000123651 Thanks for the find.
... View more
07-11-2019
10:38 AM
|
1
|
4
|
864
|
POST
|
Can you clone the JSBin and show it working when you create a new query instance, then I'll log a bug.
... View more
07-11-2019
09:51 AM
|
0
|
1
|
864
|
POST
|
Draw a polygon on the top map. Click the 'Draw Polygon on Second Map' button in the bottom right corner. Essentially, sketches are saved in the graphics layer that you create. You can access those graphics at any point in your code. Let me know if this helps <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no" />
<title>Sketch Graphics</title>
<link rel="stylesheet" href="https://js.arcgis.com/4.12/esri/themes/light/main.css" />
<script src="https://js.arcgis.com/4.12/"></script>
<style>
html,
body,
#viewDiv1 {
padding: 0;
margin: 0;
height: 80%;
width: 100%;
}
#viewDiv2 {
padding: 0;
margin: 0;
height: 80%;
width: 100%;
}
#dl {
bottom: 20px;
right: 10px;
position: absolute;
z-index: 99;
border: .1px solid lightgray;
color: gray;
background: white;
padding: 5px;
cursor: pointer;
}
#dl:hover {
background-color: lightgrey;
}
</style>
<script>
require([
"esri/widgets/Sketch",
"esri/Map",
"esri/layers/GraphicsLayer",
"esri/layers/FeatureLayer",
"esri/views/MapView"
], function (Sketch, Map, GraphicsLayer, FeatureLayer, MapView) {
document.getElementById("dl").onclick = function () { drawMap2() };
const layer = new GraphicsLayer();
const map = new Map({
basemap: "streets"
});
map.add(layer);
const view = new MapView({
container: "viewDiv1",
map: map,
zoom: 7,
center: [-117, 36]
});
const map2 = new Map({
basemap: "gray"
});
const view2 = new MapView({
container: "viewDiv2",
map: map2,
zoom: 7,
center: [-117, 36]
});
const sketch = new Sketch({
layer: layer,
view: view
});
view.ui.add(sketch, "top-right");
function drawMap2() {
const layer2 = new GraphicsLayer({
graphics: layer.graphics
});
map2.add(layer2);
}
});
</script>
</head>
<body>
<div id="dl">Draw Polygon on Second Map</div>
<span id="viewDiv1"></span>
<span id="viewDiv2"></span>
</body>
</html>
... View more
07-09-2019
03:59 PM
|
0
|
0
|
558
|
POST
|
Hello Jay, I have logged a bug for this issue: BUG-000123558 Thanks.
... View more
07-08-2019
03:15 PM
|
1
|
0
|
830
|
Title | Kudos | Posted |
---|---|---|
1 | 12-22-2021 10:22 AM | |
1 | 01-19-2023 11:10 AM | |
1 | 08-30-2022 04:09 PM | |
2 | 08-22-2022 03:20 PM | |
1 | 08-22-2022 03:57 PM |
Online Status |
Offline
|
Date Last Visited |
02-03-2023
03:22 AM
|