POST
|
Hello Guys, I am using arcGIS 4.19 with ES module. Trying to hide default Zoomto button. used code: view.popup.dividedActions.inlineActions.items[0].className = "hideZoomTO" view.popup.dividedActions.inlineActions.items[0].visible = false; this.view.popup.viewModel.allActions.getItemAt(0).visible = false These all code are working but taking sometime. That means Its hiding but taking some micro seconds to hide the button. Is there any method to hide the default button.
... View more
05-12-2021
07:09 AM
|
0
|
1
|
560
|
POST
|
Hello All, Working on ArcGIS ES module and its working pretty great. But now not able to use elevation Profile in the app. here is my code. import ElevationProfile from '@arcgis/core/widgets/ElevationProfile'; var elevationProfile = new ElevationProfile( { view: view, // configure widget with desired profile lines profiles: [ { type: "ground" // first profile line samples the ground elevation }, { type: "view" // second profile samples the view and shows building profiles } ], // hide the select button // this button can be displayed when there are polylines in the // scene to select and display the elevation profile for visibleElements: { selectButton: false } } ); Error : - Error: ./node_modules/@arcgis/core/widgets/ElevationProfile/ElevationProfileController.js 110:16 Module parse failed: Unexpected token (110:16) File was processed with these loaders: * ./node_modules/@angular-devkit/build-angular/src/babel/webpack-loader.js * ./node_modules/@ngtools/webpack/src/ivy/index.js You may need an additional loader to handle the result of these loaders. | | try { > for await (const t of o) { | m(e), _this._clearInvalidResults(s); |
... View more
05-05-2021
08:44 AM
|
0
|
1
|
527
|
POST
|
Yes finally its resolved by Js-api and its working fine Thanks a lot guys.
... View more
05-05-2021
08:40 AM
|
0
|
0
|
1698
|
POST
|
@ReneRubalcava Yes, I have added ArcGIS JSAPI . Still getting same issue
... View more
04-26-2021
08:53 AM
|
0
|
1
|
1764
|
POST
|
Thank you @AndyGup this is the github link. https://github.com/guptarahul14/sampleApplication/tree/master/sampleProgram
... View more
04-26-2021
08:46 AM
|
0
|
0
|
1768
|
POST
|
Hello All, I am facing issue while using Arcgis/core 4.18. My map canvas height keep increasing. I am using Arcgis/Core with Angular 11. Here is my code app.component.html <html> <head> </head> <body> <div id="viewDiv"></div> </body> </html> app-component.css #viewDiv { padding: 0; margin: 0; height: 100%; width: 100%; } app-component.ts import { Component,OnInit,AfterViewInit } from '@angular/core'; import { ArcgisService } from './arcgis.service'; import MapView from '@arcgis/core/views/MapView'; import config from '@arcgis/core/config'; import Map from '@arcgis/core/Map'; @Component({ selector: 'app-root', templateUrl: './app.component.html', styleUrls: ['./app.component.scss'] }) export class AppComponent { title = 'sampleProgram'; constructor(public arcgis:ArcgisService) { } ngOnInit() { //this.arcgis.initMap(); this.initMap(); } ngAfterViewInit(){ //this.initMap(); } initMap(){ config.assetsPath = './assets'; const map = new Map({ basemap: "arcgis-topographic" //Basemap layer service }); // Create a MapView instance (for 2D viewing) and reference the map instance const view = new MapView({ map: map, center: [-118.80500, 34.02700], //Longitude, latitude zoom: 13, container: "viewDiv" }); view.when(() => console.log('view ready')); } } Install npm arcgis/core
... View more
04-26-2021
02:33 AM
|
0
|
7
|
1867
|
BLOG
|
Yes, the documentation says that the slope values for line features are calculated as a percent, or grade, for each line segment, but how can I understand if the values that I'm seeing in the table are percent or grade?
... View more
12-04-2019
11:10 AM
|
0
|
0
|
2520
|
POST
|
Hello Guys .. I am struggling with some code and need your help to resolve the issue. Issue I am facing while drawing a poly-line I needed pan option so i have changed the draw mode from freehand to click . Now my problem is some time while clicking on map some point getting skip, sometime i have to click twice then only my poly-line vertex is adding on map. This is the line i have added. const action = draw.create("polyline",{mode: "click"});
... View more
06-04-2019
04:40 AM
|
0
|
0
|
209
|
Online Status |
Offline
|
Date Last Visited |
03-18-2024
09:33 PM
|