private JMap createMap() throws Exception { final JMap jMap = new JMap(); LayerList layers = jMap.getLayers(); // ----------------------------------------------------------------------------------------- // Time Aware Layer - MODIS // ----------------------------------------------------------------------------------------- imageServiceLayer = new ArcGISImageServiceLayer(modisImageryPath); Calendar startTime = Calendar.getInstance(); Calendar endTime = Calendar.getInstance(); startTime.setTimeInMillis(1088665200000l); // Mid 2004 endTime.setTimeInMillis(1094022000000l); // About a month later TimeExtent timeExtent = new TimeExtent(startTime, endTime); imageServiceLayer.setCurrentTimeExtent(timeExtent); imageServiceLayer.setTimeInterval(timeExtent); jMap.setTimeInterval(timeExtent); layers.add(imageServiceLayer); return jMap; }
Elise,
Do you know if the ArcGIS Runtime SDK for Android 10.2.8 supports time aware image service layers. I'm not seeing any methods for Dynamic Map Services, as shown in the SDK documentation pages, such as setTimeExtent()
Is this a bug also?
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.