I want to use ArcGIS REST Service as a ArcGISDynamicService in 4.0 beta. Any one tried this in 4.0 beta version.?
It works, also if ArcGISDynamicLayer class is not documented yet.
Try this:
require([
"esri/Map",
"esri/views/SceneView",
"esri/layers/ArcGISDynamicLayer",
"dojo/domReady!"
], function (Map, SceneView, ArcGISDynamicLayer) {
//Create map
map = new Map({
basemap: "hybrid"
});
//Create SceneView
view = new SceneView({
map: map,
container: "viewDiv",
camera: {
position: [7.654, 45.919, 5183],
tilt: 80
}
map.add(new ArcGISDynamicLayer("http://.../MapServer") );
I was not able to use indetify instead, it seems that the IdentifyParameters class is not already supported.
Davide
Thank you David, It is working fine, Also I want to know whether we can use digit.toolbar in this version?
You are welcome.
digit.toolbar is dojo, not esri api, so i think you should not have problems using it.
It looks as though this only currently works in 3D mode, not 2D - is that correct?
Thanks!
Yes Roland Martin, I tried many ways in 2D. It is not working. Hope this will work in only 3D..
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.