POST
|
Thank you @Shubham_Sharma . Actually, I tried "TextSymbol" solution too. However, in this solution, I met another problem. I'm not sure if there is a solution which can solve both of the problems. Bests, Leo
... View more
02-18-2023
05:21 PM
|
0
|
0
|
370
|
POST
|
Yes. The target style is similar to the defalut callout demo. Howerver, in the callout style I met another trouble. The callout‘s behavior is worse than the text symbol when user pan the map. Is there any symbolization solution for the callout style? I appreciate your comments.
... View more
01-26-2023
12:52 AM
|
0
|
0
|
465
|
POST
|
Hi Priyanka, Sorry for the confusion. As you see in the image, there is a rectangle background for the text symbol. My target is to create a text symbol with round corner background. I didn't find any clues in the API document or demos either. Thanks, Leo
... View more
01-26-2023
12:43 AM
|
0
|
0
|
466
|
POST
|
Hi All, The SDK version is 100.15.0 I create a point graphic with callout on the mapview. When panning the map, the callout always has a gap between the arrow and the graphic. Is there any way to solve this issue in Android SDK ? Here is the code for create a callout with a point graphic. Callout callout = _mapView.getCallout();
callout.setPassTouchEventsToMapView(false);
TextView calloutContent = new TextView(_context);
calloutContent.setTextColor(Color.BLACK);
calloutContent.setSingleLine();
// format coordinates to 4 decimal places
calloutContent.setText("Lat: " + String.format("%.4f", location.getY()) + ", Lon: " + String.format("%.4f", location.getX()));
callout.show(calloutContent, location); Please see the attached video for details. Bests, Leo
... View more
01-19-2023
10:56 PM
|
0
|
2
|
506
|
POST
|
Hi All, The SDK version is 100.15.0 Here is my java code for create a text symbol with background color. And the requirement is setting a round corner for the style. Is there any way to implement it by the SDK now? TextSymbol textSymbol = new TextSymbol();
textSymbol.setHorizontalAlignment(TextSymbol.HorizontalAlignment.LEFT);
textSymbol.setFontWeight(TextSymbol.FontWeight.BOLD);
textSymbol.setSize(14);
textSymbol.setColor(0xFFFFFFFF);
textSymbol.setBackgroundColor(backgroundColor);
textSymbol.setText(information);
textSymbol.setOffsetX(offsetX);
textSymbol.setOffsetY(offsetY); This is the style now. Bests, Leo
... View more
01-19-2023
10:13 PM
|
0
|
4
|
561
|
POST
|
After checking the document , I upgrade Angular to 11.2.13 and everything works fine. Here is the dependencies and tsconfig "dependencies": {
"@angular/animations": "~11.2.13",
"@angular/common": "~11.2.13",
"@angular/compiler": "~11.2.13",
"@angular/core": "~11.2.13",
"@angular/forms": "~11.2.13",
"@angular/platform-browser": "~11.2.13",
"@angular/platform-browser-dynamic": "~11.2.13",
"@angular/router": "~11.2.13",
"@arcgis/core": "^4.19.3",
"rxjs": "~6.6.0",
"tslib": "^2.0.0",
"zone.js": "~0.11.3"
}
/* To learn more about this file see: https://angular.io/config/tsconfig. */
{
"compileOnSave": false,
"compilerOptions": {
"baseUrl": "./",
"outDir": "./dist/out-tsc",
"forceConsistentCasingInFileNames": true,
"strict": false,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"sourceMap": true,
"declaration": false,
"downlevelIteration": true,
"experimentalDecorators": true,
"moduleResolution": "node",
"importHelpers": true,
"target": "es2015",
"module": "es2020",
"lib": [
"es2018",
"dom"
]
},
"angularCompilerOptions": {
"enableI18nLegacyMessageIdFormat": false,
"strictInjectionParameters": true,
"strictInputAccessModifiers": true,
"strictTemplates": true
}
} Sorry for the confusion.
... View more
05-11-2021
12:19 AM
|
0
|
0
|
1730
|
POST
|
Hi everybody, I'm trying to include ArcGIS JS API 4.19 in my Angular 8 project. The project was created by command "ng new esri-js-webmap" and it installed "arcgis/core" only by command "npm install @arcgis/core". After compile success, I got the console error "Uncaught ReferenceError: e is not defined" in the default site "localhost:4200". It happens when "import EsriMap from "@arcgis/core/Map";" in src\app\esri-map\esri-map.component.ts Here is the package.json dependencies: "dependencies": {
"@angular/animations": "~8.0.0",
"@angular/common": "~8.0.0",
"@angular/compiler": "~8.0.0",
"@angular/core": "~8.0.0",
"@angular/forms": "~8.0.0",
"@angular/platform-browser": "~8.0.0",
"@angular/platform-browser-dynamic": "~8.0.0",
"@angular/router": "~8.0.0",
"@arcgis/core": "^4.19.3",
"rxjs": "~6.4.0",
"tslib": "^1.9.0",
"zone.js": "~0.9.1"
} And the tsconfig.json: {
"compileOnSave": false,
"compilerOptions": {
"declaration": true,
"module": "commonjs",
"moduleResolution": "node",
"noEmitOnError": true,
"noUnusedLocals": false,
"noUnusedParameters": false,
"noFallthroughCasesInSwitch": true,
"outDir": "./dist",
"rootDir": "./",
"skipLibCheck": true,
"strict": true,
"target": "ES2019",
"lib": ["ES2019"],
"baseUrl": "",
"rootDirs": ["src","out"],
"typeRoots": ["./node_modules/@types"],
"types": ["node"],
"incremental": true,
"tsBuildInfoFile": "./buildFile",
"diagnostics": true,
"strictNullChecks": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
},
"angularCompilerOptions": {
"fullTemplateTypeCheck": true,
"strictInjectionParameters": true
}
} Bests, Leo
... View more
05-10-2021
08:09 PM
|
0
|
1
|
1759
|
POST
|
Hi @Nicholas-Furness , Thank you for your information. The problem is not related to the ArcGIS Runtime itself. It's an environment issue in my local PC.
... View more
01-03-2021
04:41 PM
|
0
|
0
|
466
|
POST
|
Hi all, When I upgrade XCode from 11 to 12, the project build failed. It works fine in XCode 11. I'm not sure if ArcGIS Runtime SDK for iOS supports XCode 12 or not. However, I couldn't find any document about the SDK with XCode 12 or iOS 14. The ArcGIS Runtime SDK for iOS version is 100.6 /100.9. Thanks, Leo
... View more
11-16-2020
05:13 PM
|
0
|
2
|
594
|
POST
|
Hi All, I've created a locator based on a simple street feature class (feature type: polyline). And the locator type is "US Dual Range Addresses". While using reverse geocoding within ArcMap, the result is works as expect if the street name is 'Unname'. However, if I changed the street name to 'Unnamed', it doesn't work. I guess there is any key words that geocoding doesn't support. However, I couldn't find any document to support this point. Could you please help me? Please see the SS in the attachment for details. Environment: ArcGIS Desktop 10.6 Thanks, Leo
... View more
01-08-2020
11:13 PM
|
0
|
1
|
491
|
POST
|
Hi Robert, It could be work for regular network, however the nearest stop might not be the closet stop in a network. And it not avoid U-Turn. Thanks, Leo
... View more
09-18-2019
01:09 PM
|
0
|
1
|
477
|
POST
|
Here is a result with U-Turns in ArcMap. It's not the solution for the question.
... View more
09-18-2019
12:42 PM
|
0
|
0
|
477
|
POST
|
Hi All, Assume there are 12 crossroads for a user want to visit in a city. Could you help to find a best way without U-Turns? Please see the attach for details. Bests, Leo
... View more
09-18-2019
12:39 PM
|
0
|
5
|
534
|
POST
|
Hi Jay, > Why do the waypoints need to be on junctions? As we don't know which position in the crossroads is the best choice for the route. Put a barrier and combine the results could be a solution. Thanks, Leo
... View more
09-06-2019
10:38 AM
|
0
|
0
|
568
|
POST
|
Hi Jay, Thank you for your explanations. Set the stop source as streets could avoid a U-Turn certainly, however is there any solution in network analysis to avoid U-Turn when the stop is set at the junction? As you can see in the result, there is a U-Turn. We want to avoid the U-Turn in the results and also keep the stop at junction point. Since we don't know which direction for the stop in the crossroads is correct before the route analysis. Image that there are lots of waypoints set in the junction, the vehicle will go through these crossroads. And we also not allowed U-Turns. How can we implement it in ArcMap? Thanks, Leo
... View more
09-06-2019
04:30 AM
|
0
|
2
|
568
|
Title | Kudos | Posted |
---|---|---|
1 | 06-04-2016 03:06 AM | |
1 | 04-15-2016 12:54 AM | |
1 | 11-30-2016 01:03 AM | |
1 | 02-16-2017 05:04 PM | |
1 | 02-06-2017 07:42 PM |
Online Status |
Offline
|
Date Last Visited |
a month ago
|