diff --git a/browser/src/browser-info.json b/browser/src/browser-info.json index 60171756f..25834213b 100644 --- a/browser/src/browser-info.json +++ b/browser/src/browser-info.json @@ -1,16 +1,16 @@ [ {"ver":"20.0.0-rc.0","name":"igniteui-angular"}, -{"ver":"20.0.1-beta.0","name":"igniteui-angular-charts"}, -{"ver":"20.0.1-beta.0","name":"igniteui-angular-core"}, -{"ver":"20.0.1-beta.0","name":"igniteui-angular-dashboards"}, -{"ver":"20.0.1-beta.0","name":"igniteui-angular-data-grids"}, -{"ver":"20.0.1-beta.0","name":"igniteui-angular-excel"}, -{"ver":"20.0.1-beta.0","name":"igniteui-angular-gauges"}, -{"ver":"20.0.1-beta.0","name":"igniteui-angular-inputs"}, -{"ver":"20.0.1-beta.0","name":"igniteui-angular-layouts"}, -{"ver":"20.0.1-beta.0","name":"igniteui-angular-maps"}, -{"ver":"20.0.1-beta.0","name":"igniteui-angular-spreadsheet"}, -{"ver":"20.0.1-beta.0","name":"igniteui-angular-spreadsheet-chart-adapter"}, +{"ver":"20.0.2-beta.0","name":"igniteui-angular-charts"}, +{"ver":"20.0.2-beta.0","name":"igniteui-angular-core"}, +{"ver":"20.0.2-beta.0","name":"igniteui-angular-dashboards"}, +{"ver":"20.0.2-beta.0","name":"igniteui-angular-data-grids"}, +{"ver":"20.0.2-beta.0","name":"igniteui-angular-excel"}, +{"ver":"20.0.2-beta.0","name":"igniteui-angular-gauges"}, +{"ver":"20.0.2-beta.0","name":"igniteui-angular-inputs"}, +{"ver":"20.0.2-beta.0","name":"igniteui-angular-layouts"}, +{"ver":"20.0.2-beta.0","name":"igniteui-angular-maps"}, +{"ver":"20.0.2-beta.0","name":"igniteui-angular-spreadsheet"}, +{"ver":"20.0.2-beta.0","name":"igniteui-angular-spreadsheet-chart-adapter"}, {"ver":"18.1.0","name":"igniteui-theming"}, {"ver":"6.1.0","name":"igniteui-webcomponents"} ] \ No newline at end of file diff --git a/samples/charts/data-chart/trendline-layer/ReadMe.md b/samples/charts/data-chart/trendline-layer/ReadMe.md new file mode 100644 index 000000000..e4b7de978 --- /dev/null +++ b/samples/charts/data-chart/trendline-layer/ReadMe.md @@ -0,0 +1,58 @@ + + + +This folder contains Angular application with example of Trendline Layer feature using [DataChart](https://www.infragistics.com/products/ignite-ui-angular/angular/components/general-getting-started.html) component. + + + +
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Branches
+
+> **_NOTE:_** You should use [master](https://github.com/IgniteUI/igniteui-angular-examples/tree/master) branch of this repository if you want to run samples on your computer. Use the [vnext](https://github.com/IgniteUI/igniteui-angular-examples/tree/vnext) branch only when you want to contribute new samples to this repository.
+
+## Instructions
+
+Follow these instructions to run this example:
+
+
+- clone and navigate to this sample in terminal window
+
+```
+git clone https://github.com/IgniteUI/igniteui-angular-examples.git
+git checkout master
+cd ../samples/charts/data-chart/trendline-layer
+```
+
+
+- open above folder in VS Code or type:
+```
+code .
+```
+
+- In terminal window, run:
+```
+npm install --legacy-peer-deps
+npm run-script start
+```
+
+- open http://localhost:4200/ in your browser
+
+
+## Learn More
+
+To learn more about **Ignite UI for Angular** components, check out the [Angular documentation](https://www.infragistics.com/products/ignite-ui-angular/angular/components/general-getting-started.html).
diff --git a/samples/maps/geo-map/display-azure-imagery/.codesandbox/Dockerfile b/samples/maps/geo-map/display-azure-imagery/.codesandbox/Dockerfile
new file mode 100644
index 000000000..adf04bd95
--- /dev/null
+++ b/samples/maps/geo-map/display-azure-imagery/.codesandbox/Dockerfile
@@ -0,0 +1 @@
+FROM node:18
\ No newline at end of file
diff --git a/samples/maps/geo-map/display-azure-imagery/.codesandbox/tasks.json b/samples/maps/geo-map/display-azure-imagery/.codesandbox/tasks.json
new file mode 100644
index 000000000..8d92a54cd
--- /dev/null
+++ b/samples/maps/geo-map/display-azure-imagery/.codesandbox/tasks.json
@@ -0,0 +1,17 @@
+{
+ // These tasks will run in order when initializing your CodeSandbox project.
+ "setupTasks": [
+ {
+ "name": "Install Dependencies",
+ "command": "yarn install"
+ }
+ ],
+ // These tasks can be run from CodeSandbox. Running one will open a log in the app.
+ "tasks": {
+ "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": {
+ "name": "Start Project",
+ "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check",
+ "runAtStart": true
+ }
+ }
+}
\ No newline at end of file
diff --git a/samples/maps/geo-map/display-azure-imagery/.stackblitzrc b/samples/maps/geo-map/display-azure-imagery/.stackblitzrc
new file mode 100644
index 000000000..dd44ea00f
--- /dev/null
+++ b/samples/maps/geo-map/display-azure-imagery/.stackblitzrc
@@ -0,0 +1 @@
+{"installDependencies":true, "startCommand":"npm start"}
\ No newline at end of file
diff --git a/samples/maps/geo-map/display-azure-imagery/ReadMe.md b/samples/maps/geo-map/display-azure-imagery/ReadMe.md
new file mode 100644
index 000000000..1b83fb80b
--- /dev/null
+++ b/samples/maps/geo-map/display-azure-imagery/ReadMe.md
@@ -0,0 +1,58 @@
+
+
+
+This folder contains Angular application with example of Display Azure Imagery feature using [GeoMap](https://www.infragistics.com/products/ignite-ui-angular/angular/components/general-getting-started.html) component.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Branches
+
+> **_NOTE:_** You should use [master](https://github.com/IgniteUI/igniteui-angular-examples/tree/master) branch of this repository if you want to run samples on your computer. Use the [vnext](https://github.com/IgniteUI/igniteui-angular-examples/tree/vnext) branch only when you want to contribute new samples to this repository.
+
+## Instructions
+
+Follow these instructions to run this example:
+
+
+- clone and navigate to this sample in terminal window
+
+```
+git clone https://github.com/IgniteUI/igniteui-angular-examples.git
+git checkout master
+cd ../samples/maps/geo-map/display-azure-imagery
+```
+
+
+- open above folder in VS Code or type:
+```
+code .
+```
+
+- In terminal window, run:
+```
+npm install --legacy-peer-deps
+npm run-script start
+```
+
+- open http://localhost:4200/ in your browser
+
+
+## Learn More
+
+To learn more about **Ignite UI for Angular** components, check out the [Angular documentation](https://www.infragistics.com/products/ignite-ui-angular/angular/components/general-getting-started.html).
diff --git a/samples/maps/geo-map/display-azure-imagery/angular.json b/samples/maps/geo-map/display-azure-imagery/angular.json
new file mode 100644
index 000000000..0c2c173c9
--- /dev/null
+++ b/samples/maps/geo-map/display-azure-imagery/angular.json
@@ -0,0 +1,120 @@
+{
+ "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
+ "version": 1,
+ "newProjectRoot": "projects",
+ "projects": {
+ "demo": {
+ "schematics": {
+ "@schematics/angular:component": {
+ "style": "scss"
+ },
+ "@schematics/angular:application": {
+ "strict": true
+ }
+ },
+ "root": "",
+ "sourceRoot": "src",
+ "prefix": "app",
+ "projectType": "application",
+ "architect": {
+ "build": {
+ "builder": "@angular-devkit/build-angular:browser",
+ "options": {
+ "outputPath": "dist/demo",
+ "index": "src/index.html",
+ "main": "src/main.ts",
+ "polyfills": [
+ "src/polyfills.ts"
+ ],
+ "tsConfig": "tsconfig.app.json",
+ "inlineStyleLanguage": "scss",
+ "assets": [
+ "src/assets"
+ ],
+ "styles": [
+ "src/styles.scss"
+ ],
+ "scripts": [],
+ "stylePreprocessorOptions": {
+ "includePaths": ["node_modules/"]
+ }
+ },
+ "configurations": {
+ "production": {
+ "fileReplacements": [
+ {
+ "replace": "src/environments/environment.ts",
+ "with": "src/environments/environment.prod.ts"
+ }
+ ],
+ "outputHashing": "all",
+ "budgets": [
+ {
+ "type": "initial",
+ "maximumWarning": "500kb",
+ "maximumError": "1mb"
+ },
+ {
+ "type": "anyComponentStyle",
+ "maximumWarning": "2kb",
+ "maximumError": "4kb"
+ }
+ ]
+ },
+ "development": {
+ "buildOptimizer": false,
+ "optimization": false,
+ "vendorChunk": true,
+ "extractLicenses": false,
+ "sourceMap": true,
+ "namedChunks": true
+ }
+ },
+ "defaultConfiguration": "production"
+ },
+ "serve": {
+ "builder": "@angular-devkit/build-angular:dev-server",
+ "configurations": {
+ "production": {
+ "buildTarget": "demo:build:production"
+ },
+ "development": {
+ "buildTarget": "demo:build:development"
+ }
+ },
+ "defaultConfiguration": "development"
+ },
+ "extract-i18n": {
+ "builder": "@angular-devkit/build-angular:extract-i18n",
+ "options": {
+ "buildTarget": "demo:build"
+ }
+ },
+ "test": {
+ "builder": "@angular-devkit/build-angular:karma",
+ "options": {
+ "main": "src/test.ts",
+ "polyfills": "src/polyfills.ts",
+ "tsConfig": "tsconfig.spec.json",
+ "karmaConfig": "karma.conf.js",
+ "styles": [
+ "src/styles.scss"
+ ],
+ "scripts": [],
+ "assets": [
+ "src/assets"
+ ],
+ "inlineStyleLanguage": "scss",
+ "stylePreprocessorOptions": {
+ "includePaths": ["node_modules/"]
+ }
+ }
+ }
+ }
+ }
+ },
+ "defaultProject": "demo",
+ "cli": {
+ "analytics": false
+ }
+}
diff --git a/samples/maps/geo-map/display-azure-imagery/package.json b/samples/maps/geo-map/display-azure-imagery/package.json
new file mode 100644
index 000000000..44fd9a185
--- /dev/null
+++ b/samples/maps/geo-map/display-azure-imagery/package.json
@@ -0,0 +1,46 @@
+{
+ "scripts": {
+ "ng": "ng",
+ "update": "ng update",
+ "start": "node --max_old_space_size=12192 node_modules/@angular/cli/bin/ng serve -o",
+ "build": "node --max_old_space_size=12192 node_modules/@angular/cli/bin/ng build --configuration production",
+ "lint": "ng lint"
+ },
+ "dependencies": {
+ "@angular/animations": "20.0.1",
+ "@angular/common": "20.0.1",
+ "@angular/compiler": "20.0.1",
+ "@angular/core": "20.0.1",
+ "@angular/forms": "20.0.1",
+ "@angular/platform-browser": "20.0.1",
+ "@angular/platform-browser-dynamic": "20.0.1",
+ "@types/hammerjs": "2.0.40",
+ "classlist.js": "1.1.20150312",
+ "core-js": "3.21.0",
+ "hammerjs": "2.0.8",
+ "igniteui-angular": "20.0.0-rc.0",
+ "igniteui-angular-charts": "20.0.2-beta.0",
+ "igniteui-angular-core": "20.0.2-beta.0",
+ "igniteui-angular-maps": "20.0.2-beta.0",
+ "intl": "1.2.5",
+ "jszip": "3.8.0",
+ "rxjs": "7.8.1",
+ "tslib": "2.6.1",
+ "web-animations-js": "2.3.2",
+ "zone.js": "~0.15.0"
+ },
+ "devDependencies": {
+ "@angular-devkit/build-angular": "20.0.1",
+ "@angular/cli": "20.0.1",
+ "@angular/compiler-cli": "20.0.1",
+ "@angular/language-service": "20.0.1",
+ "@types/node": "18.17.0",
+ "codelyzer": "6.0.2",
+ "jasmine-core": "5.1.1",
+ "jasmine-spec-reporter": "~4.2.1",
+ "sass.js": "0.11.1",
+ "ts-node": "10.9.1",
+ "tslint": "~6.1.3",
+ "typescript": "5.8.3"
+ }
+}
diff --git a/samples/maps/geo-map/display-azure-imagery/src/MapUtility.ts b/samples/maps/geo-map/display-azure-imagery/src/MapUtility.ts
new file mode 100644
index 000000000..ec95ca50a
--- /dev/null
+++ b/samples/maps/geo-map/display-azure-imagery/src/MapUtility.ts
@@ -0,0 +1,108 @@
+import { IgxGeographicMapComponent } from "igniteui-angular-maps";
+
+export enum MapRegion {
+ Caribbean = "Caribbean",
+ UnitedStates = "United States",
+ UnitedKingdom = "United Kingdom",
+ European = "European",
+ SouthAfrica = "South Africa",
+ Poland = "Poland",
+ Australia = "Australia",
+ Japan = "Japan",
+ Uruguay = "Uruguay",
+ Egypt = "Egypt",
+ Hawaii = "Hawaii"
+}
+
+export class MapUtility {
+
+ public static navigateTo(geoMap: IgxGeographicMapComponent, name: MapRegion) {
+
+ const geoRect = this.getRegions()[name];
+ geoMap.zoomToGeographic(geoRect);
+ }
+
+ public static toPixel(num: number): string {
+ const s = Math.abs(num).toFixed(0);
+ return s + " px";
+ }
+
+ public static toLng(num: number): string {
+ num = this.clamp(num, -180, 180);
+
+ let s = Math.abs(num).toFixed(1);
+ if (num < 100) {
+ s = " " + s;
+ }
+
+ if (num > 0) {
+ return s + "°E";
+ } else {
+ return s + "°W";
+ }
+ }
+
+ public static toLat(num: number): string {
+ num = this.clamp(num, -90, 90);
+
+ let s = Math.abs(num).toFixed(1);
+ if (num < 100) {
+ s = " " + s;
+ }
+
+ if (num > 0) {
+ return s + "°N";
+ } else {
+ return s + "°S";
+ }
+ }
+
+ public static clamp(num: number, min: number, max: number): number {
+ return Math.max(min, Math.min(max, num));
+ }
+
+ public static pad(num: number, places?: number): string {
+ places = places || 20;
+ let s = num.toFixed(1).toString();
+ while (s.length < places) { s = " " + s; }
+ return s;
+ }
+
+ public static getBingKey(): string {
+ return "Avlo7qsH1zZZI0XNpTwZ4XwvUJmCbd-mczMeUXVAW9kYYOKdmBIVRe8aoO02Xctq";
+ }
+
+ public static getRegions(): any {
+ // create regions only once
+ if (this.regions === undefined) {
+ this.createRegions();
+ }
+ return this.regions;
+ }
+
+ private static regions: any;
+
+ private static addRegion(name: string, geoRect: any) {
+ geoRect.name = name;
+ geoRect.longitude = geoRect.left + (geoRect.width / 2);
+ geoRect.latitude = geoRect.top + (geoRect.height / 2);
+
+ this.regions[name] = geoRect;
+ }
+
+ private static createRegions() {
+ this.regions = {};
+ this.addRegion(MapRegion.Australia, { left: 81.5, top: -52.0, width: 98.0, height: 56.0 });
+ this.addRegion(MapRegion.Caribbean, { left: -92.9, top: 5.4, width: 35.1, height: 25.8 });
+ this.addRegion(MapRegion.Egypt, { left: 19.3, top: 19.9, width: 19.3, height: 13.4 });
+ this.addRegion(MapRegion.European, { left: -36.0, top: 31.0, width: 98.0, height: 38.0 });
+ this.addRegion(MapRegion.Japan, { left: 122.7, top: 29.4, width: 27.5, height: 17.0 });
+ this.addRegion(MapRegion.Hawaii, { left: -161.2, top: 18.5, width: 6.6, height: 4.8 });
+ this.addRegion(MapRegion.Poland, { left: 13.0, top: 48.0, width: 11.0, height: 9.0 });
+ this.addRegion(MapRegion.SouthAfrica, { left: 9.0, top: -37.1, width: 26.0, height: 17.8 });
+ this.addRegion(MapRegion.UnitedStates, { left: -134.5, top: 16.0, width: 70.0, height: 37.0 });
+ this.addRegion(MapRegion.UnitedKingdom, { left: -15.0, top: 49.5, width: 22.5, height: 8.0 });
+ this.addRegion(MapRegion.Uruguay, { left: -62.1, top: -35.7, width: 10.6, height: 7.0 });
+ }
+
+}
diff --git a/samples/maps/geo-map/display-azure-imagery/src/app.component.html b/samples/maps/geo-map/display-azure-imagery/src/app.component.html
new file mode 100644
index 000000000..d4459e325
--- /dev/null
+++ b/samples/maps/geo-map/display-azure-imagery/src/app.component.html
@@ -0,0 +1,37 @@
+
+
+