@syncfusion/ej2-angular-maps 26.1.35-ngcc → 26.1.41-ngcc

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (137) hide show
  1. package/dist/ej2-angular-maps.umd.js +1 -1
  2. package/dist/ej2-angular-maps.umd.min.js +1 -1
  3. package/package.json +8 -8
  4. package/schematics/collection.json +0 -45
  5. package/schematics/generators/maps-annotation/images/__path__/__name@dasherize__/compass.svg +0 -197
  6. package/schematics/generators/maps-annotation/index.d.ts +0 -3
  7. package/schematics/generators/maps-annotation/index.js +0 -8
  8. package/schematics/generators/maps-annotation/index.ts +0 -8
  9. package/schematics/generators/maps-annotation/sample-details.d.ts +0 -5
  10. package/schematics/generators/maps-annotation/sample-details.js +0 -7
  11. package/schematics/generators/maps-annotation/sample-details.ts +0 -5
  12. package/schematics/generators/maps-annotation/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -21
  13. package/schematics/generators/maps-annotation/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -15
  14. package/schematics/generators/maps-annotation/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -58
  15. package/schematics/generators/maps-annotation/schema.d.ts +0 -3
  16. package/schematics/generators/maps-annotation/schema.js +0 -2
  17. package/schematics/generators/maps-annotation/schema.json +0 -125
  18. package/schematics/generators/maps-annotation/schema.ts +0 -3
  19. package/schematics/generators/maps-bubble/index.d.ts +0 -3
  20. package/schematics/generators/maps-bubble/index.js +0 -8
  21. package/schematics/generators/maps-bubble/index.ts +0 -8
  22. package/schematics/generators/maps-bubble/sample-details.d.ts +0 -5
  23. package/schematics/generators/maps-bubble/sample-details.js +0 -7
  24. package/schematics/generators/maps-bubble/sample-details.ts +0 -5
  25. package/schematics/generators/maps-bubble/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  26. package/schematics/generators/maps-bubble/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -10
  27. package/schematics/generators/maps-bubble/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -72
  28. package/schematics/generators/maps-bubble/samples/__path__/__name@dasherize@if-flat__/assets/population-data.ts +0 -46
  29. package/schematics/generators/maps-bubble/samples/__path__/__name@dasherize@if-flat__/assets/world-map.ts +0 -184
  30. package/schematics/generators/maps-bubble/schema.d.ts +0 -3
  31. package/schematics/generators/maps-bubble/schema.js +0 -2
  32. package/schematics/generators/maps-bubble/schema.json +0 -125
  33. package/schematics/generators/maps-bubble/schema.ts +0 -3
  34. package/schematics/generators/maps-color-mapping/images/__path__/__name@dasherize__/ballon.png +0 -0
  35. package/schematics/generators/maps-color-mapping/index.d.ts +0 -3
  36. package/schematics/generators/maps-color-mapping/index.js +0 -8
  37. package/schematics/generators/maps-color-mapping/index.ts +0 -8
  38. package/schematics/generators/maps-color-mapping/sample-details.d.ts +0 -5
  39. package/schematics/generators/maps-color-mapping/sample-details.js +0 -7
  40. package/schematics/generators/maps-color-mapping/sample-details.ts +0 -5
  41. package/schematics/generators/maps-color-mapping/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  42. package/schematics/generators/maps-color-mapping/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -8
  43. package/schematics/generators/maps-color-mapping/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -77
  44. package/schematics/generators/maps-color-mapping/schema.d.ts +0 -3
  45. package/schematics/generators/maps-color-mapping/schema.js +0 -2
  46. package/schematics/generators/maps-color-mapping/schema.json +0 -125
  47. package/schematics/generators/maps-color-mapping/schema.ts +0 -3
  48. package/schematics/generators/maps-default/images/__path__/__name@dasherize__/ballon.png +0 -0
  49. package/schematics/generators/maps-default/index.d.ts +0 -3
  50. package/schematics/generators/maps-default/index.js +0 -8
  51. package/schematics/generators/maps-default/index.ts +0 -8
  52. package/schematics/generators/maps-default/sample-details.d.ts +0 -5
  53. package/schematics/generators/maps-default/sample-details.js +0 -7
  54. package/schematics/generators/maps-default/sample-details.ts +0 -5
  55. package/schematics/generators/maps-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  56. package/schematics/generators/maps-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -10
  57. package/schematics/generators/maps-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -33
  58. package/schematics/generators/maps-default/schema.d.ts +0 -3
  59. package/schematics/generators/maps-default/schema.js +0 -2
  60. package/schematics/generators/maps-default/schema.json +0 -125
  61. package/schematics/generators/maps-default/schema.ts +0 -3
  62. package/schematics/generators/maps-label/index.d.ts +0 -3
  63. package/schematics/generators/maps-label/index.js +0 -8
  64. package/schematics/generators/maps-label/index.ts +0 -8
  65. package/schematics/generators/maps-label/sample-details.d.ts +0 -5
  66. package/schematics/generators/maps-label/sample-details.js +0 -7
  67. package/schematics/generators/maps-label/sample-details.ts +0 -5
  68. package/schematics/generators/maps-label/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  69. package/schematics/generators/maps-label/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -8
  70. package/schematics/generators/maps-label/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -38
  71. package/schematics/generators/maps-label/samples/__path__/__name@dasherize@if-flat__/assets/world-map.ts +0 -184
  72. package/schematics/generators/maps-label/schema.d.ts +0 -3
  73. package/schematics/generators/maps-label/schema.js +0 -2
  74. package/schematics/generators/maps-label/schema.json +0 -125
  75. package/schematics/generators/maps-label/schema.ts +0 -3
  76. package/schematics/generators/maps-legend/images/__path__/__name@dasherize__/ballon.png +0 -0
  77. package/schematics/generators/maps-legend/index.d.ts +0 -3
  78. package/schematics/generators/maps-legend/index.js +0 -8
  79. package/schematics/generators/maps-legend/index.ts +0 -8
  80. package/schematics/generators/maps-legend/sample-details.d.ts +0 -5
  81. package/schematics/generators/maps-legend/sample-details.js +0 -7
  82. package/schematics/generators/maps-legend/sample-details.ts +0 -5
  83. package/schematics/generators/maps-legend/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  84. package/schematics/generators/maps-legend/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -8
  85. package/schematics/generators/maps-legend/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -102
  86. package/schematics/generators/maps-legend/schema.d.ts +0 -3
  87. package/schematics/generators/maps-legend/schema.js +0 -2
  88. package/schematics/generators/maps-legend/schema.json +0 -125
  89. package/schematics/generators/maps-legend/schema.ts +0 -3
  90. package/schematics/generators/maps-marker/images/__path__/__name@dasherize__/ballon.png +0 -0
  91. package/schematics/generators/maps-marker/index.d.ts +0 -3
  92. package/schematics/generators/maps-marker/index.js +0 -8
  93. package/schematics/generators/maps-marker/index.ts +0 -8
  94. package/schematics/generators/maps-marker/sample-details.d.ts +0 -5
  95. package/schematics/generators/maps-marker/sample-details.js +0 -7
  96. package/schematics/generators/maps-marker/sample-details.ts +0 -5
  97. package/schematics/generators/maps-marker/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  98. package/schematics/generators/maps-marker/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -10
  99. package/schematics/generators/maps-marker/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -101
  100. package/schematics/generators/maps-marker/schema.d.ts +0 -3
  101. package/schematics/generators/maps-marker/schema.js +0 -2
  102. package/schematics/generators/maps-marker/schema.json +0 -125
  103. package/schematics/generators/maps-marker/schema.ts +0 -3
  104. package/schematics/generators/maps-navigation-line/index.d.ts +0 -3
  105. package/schematics/generators/maps-navigation-line/index.js +0 -8
  106. package/schematics/generators/maps-navigation-line/index.ts +0 -8
  107. package/schematics/generators/maps-navigation-line/sample-details.d.ts +0 -5
  108. package/schematics/generators/maps-navigation-line/sample-details.js +0 -7
  109. package/schematics/generators/maps-navigation-line/sample-details.ts +0 -5
  110. package/schematics/generators/maps-navigation-line/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -19
  111. package/schematics/generators/maps-navigation-line/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -6
  112. package/schematics/generators/maps-navigation-line/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -121
  113. package/schematics/generators/maps-navigation-line/samples/__path__/__name@dasherize@if-flat__/assets/map-location.ts +0 -128
  114. package/schematics/generators/maps-navigation-line/samples/__path__/__name@dasherize@if-flat__/assets/world-map.ts +0 -184
  115. package/schematics/generators/maps-navigation-line/schema.d.ts +0 -3
  116. package/schematics/generators/maps-navigation-line/schema.js +0 -2
  117. package/schematics/generators/maps-navigation-line/schema.json +0 -125
  118. package/schematics/generators/maps-navigation-line/schema.ts +0 -3
  119. package/schematics/generators/maps-osm/index.d.ts +0 -3
  120. package/schematics/generators/maps-osm/index.js +0 -8
  121. package/schematics/generators/maps-osm/index.ts +0 -8
  122. package/schematics/generators/maps-osm/sample-details.d.ts +0 -5
  123. package/schematics/generators/maps-osm/sample-details.js +0 -7
  124. package/schematics/generators/maps-osm/sample-details.ts +0 -5
  125. package/schematics/generators/maps-osm/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  126. package/schematics/generators/maps-osm/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -10
  127. package/schematics/generators/maps-osm/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -33
  128. package/schematics/generators/maps-osm/schema.d.ts +0 -3
  129. package/schematics/generators/maps-osm/schema.js +0 -2
  130. package/schematics/generators/maps-osm/schema.json +0 -125
  131. package/schematics/generators/maps-osm/schema.ts +0 -3
  132. package/schematics/ng-add/index.d.ts +0 -3
  133. package/schematics/ng-add/index.js +0 -9
  134. package/schematics/ng-add/schema.d.ts +0 -13
  135. package/schematics/ng-add/schema.js +0 -2
  136. package/schematics/utils/lib-details.d.ts +0 -4
  137. package/schematics/utils/lib-details.js +0 -6
@@ -1,3 +0,0 @@
1
- import { Schema as ComponentSchema } from '@schematics/angular/component/schema';
2
- export interface Schema extends ComponentSchema {
3
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,125 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/schema",
3
- "$id": "EJ2SchemaTemplateID",
4
- "title": "maps-label",
5
- "type": "object",
6
- "properties": {
7
- "path": {
8
- "type": "string",
9
- "format": "path",
10
- "description": "The path to create the component.",
11
- "visible": false
12
- },
13
- "project": {
14
- "type": "string",
15
- "description": "The name of the project.",
16
- "$default": {
17
- "$source": "projectName"
18
- }
19
- },
20
- "name": {
21
- "type": "string",
22
- "description": "The name of the component.",
23
- "$default": {
24
- "$source": "argv",
25
- "index": 0
26
- }
27
- },
28
- "inlineStyle": {
29
- "description": "Specifies if the style will be in the ts file.",
30
- "type": "boolean",
31
- "default": false,
32
- "alias": "s"
33
- },
34
- "inlineTemplate": {
35
- "description": "Specifies if the template will be in the ts file.",
36
- "type": "boolean",
37
- "default": false,
38
- "alias": "t"
39
- },
40
- "viewEncapsulation": {
41
- "description": "Specifies the view encapsulation strategy.",
42
- "enum": [
43
- "Emulated",
44
- "Native",
45
- "None",
46
- "ShadowDom"
47
- ],
48
- "type": "string",
49
- "alias": "v"
50
- },
51
- "changeDetection": {
52
- "description": "Specifies the change detection strategy.",
53
- "enum": [
54
- "Default",
55
- "OnPush"
56
- ],
57
- "type": "string",
58
- "default": "Default",
59
- "alias": "c"
60
- },
61
- "prefix": {
62
- "type": "string",
63
- "description": "The prefix to apply to generated selectors.",
64
- "alias": "p",
65
- "oneOf": [
66
- {
67
- "maxLength": 0
68
- },
69
- {
70
- "minLength": 1,
71
- "format": "html-selector"
72
- }
73
- ]
74
- },
75
- "styleext": {
76
- "description": "The file extension to be used for style files.",
77
- "type": "string",
78
- "default": "css"
79
- },
80
- "spec": {
81
- "type": "boolean",
82
- "description": "Specifies if a spec file is generated.",
83
- "default": true
84
- },
85
- "flat": {
86
- "type": "boolean",
87
- "description": "Flag to indicate if a dir is created.",
88
- "default": false
89
- },
90
- "skipImport": {
91
- "type": "boolean",
92
- "description": "Flag to skip the module import.",
93
- "default": false
94
- },
95
- "selector": {
96
- "type": "string",
97
- "format": "html-selector",
98
- "description": "The selector to use for the component."
99
- },
100
- "module": {
101
- "type": "string",
102
- "description": "Allows specification of the declaring module.",
103
- "alias": "m"
104
- },
105
- "export": {
106
- "type": "boolean",
107
- "default": false,
108
- "description": "Specifies if declaring module exports the component."
109
- },
110
- "entryComponent": {
111
- "type": "boolean",
112
- "default": false,
113
- "description": "Specifies if the component is an entry component of declaring module."
114
- },
115
- "lintFix": {
116
- "type": "boolean",
117
- "default": false,
118
- "description": "Specifies whether to apply lint fixes after generating the component."
119
- }
120
- },
121
- "required": [
122
- "name"
123
- ],
124
- "id": "maps-label"
125
- }
@@ -1,3 +0,0 @@
1
- import { Schema as ComponentSchema } from '@schematics/angular/component/schema';
2
-
3
- export interface Schema extends ComponentSchema { }
@@ -1,3 +0,0 @@
1
- import { Rule } from '@angular-devkit/schematics';
2
- import { Schema } from './schema';
3
- export default function (options: Schema): Rule;
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const schematics_1 = require("@syncfusion/ej2-angular-base/schematics");
4
- const sampleDetails = require("./sample-details");
5
- function default_1(options) {
6
- return schematics_1.componentBuilder(options, sampleDetails);
7
- }
8
- exports.default = default_1;
@@ -1,8 +0,0 @@
1
- import { Rule } from '@angular-devkit/schematics';
2
- import { componentBuilder } from "@syncfusion/ej2-angular-base/schematics";
3
- import { Schema } from './schema';
4
- import * as sampleDetails from './sample-details';
5
-
6
- export default function (options: Schema): Rule {
7
- return componentBuilder(options, sampleDetails);
8
- }
@@ -1,5 +0,0 @@
1
- export declare const componentName: string;
2
- export declare const sampleName: string;
3
- export declare const diModules: string;
4
- export declare const packageName: string;
5
- export declare const libModules: string;
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.componentName = 'maps';
4
- exports.sampleName = 'legend';
5
- exports.diModules = null;
6
- exports.packageName = '@syncfusion/ej2-angular-maps';
7
- exports.libModules = 'MapsModule';
@@ -1,5 +0,0 @@
1
- export const componentName: string = 'maps';
2
- export const sampleName: string = 'legend';
3
- export const diModules: string = null;
4
- export const packageName: string = '@syncfusion/ej2-angular-maps';
5
- export const libModules: string = 'MapsModule';
@@ -1,8 +0,0 @@
1
- <div class="control-section">
2
- <div align='center'>
3
- <ejs-maps id='container' style="display:block;" [zoomSettings]='zoomSettings' [layers]='layers'
4
- [legendSettings]="legendSettings" [titleSettings] = "titleSettings"
5
- (load)="load($event)">
6
- </ejs-maps>
7
- </div>
8
- </div>
@@ -1,102 +0,0 @@
1
- /* eslint-disable */
2
- import { Component, ViewEncapsulation } from '@angular/core';
3
- import { MapsTheme, Maps, Legend, Marker, MapsTooltip, ILoadEventArgs } from '@syncfusion/ej2-angular-maps';
4
- import { default_datasource } from './assets/default-datasource';
5
- import { world_map } from './assets/world-map';
6
-
7
- Maps.Inject(Legend, Marker, MapsTooltip);
8
-
9
- /**
10
- * Maps default sample
11
- */
12
- @Component({
13
- selector: '<%=dasherize(selector)%>',
14
- templateUrl: '<%=dasherize(name)%>.component.html',
15
- styleUrls: ['<%=dasherize(name)%>.component.css'],
16
- encapsulation: ViewEncapsulation.None
17
- })
18
- export class <%= classify(name) %>Component {
19
- titleSettings: object = {
20
- text: 'YouTube office locations',
21
- textStyle: {
22
- size: '16px'
23
- }
24
- };
25
- public zoomSettings: object = {
26
- enable: false
27
- };
28
- public legendSettings: object = { visible: true };
29
-
30
- public layers: object[] = [{
31
- shapeData: world_map,
32
- shapePropertyPath: 'continent',
33
- shapeDataPath: 'continent',
34
- dataSource: default_datasource,
35
- shapeSettings: { colorValuePath: 'color', },
36
- markerSettings: [{
37
- visible: true,
38
- dataSource: [
39
- { latitude: 37.6276571, longitude: -122.4276688, name: 'San Bruno' },
40
- { latitude: 33.5302186, longitude: -117.7418381, name: 'Laguna Niguel' },
41
- { latitude: 40.7424509, longitude: -74.0081468, name: 'New York' },
42
- { latitude: -23.5268201, longitude: -46.6489927, name: 'Bom Retiro' },
43
- { latitude: 43.6533855, longitude: -79.3729994, name: 'Toronto' },
44
- { latitude: 48.8773406, longitude: 2.3299627, name: 'Paris' },
45
- { latitude: 52.4643089, longitude: 13.4107368, name: 'Berlin' },
46
- { latitude: 19.1555762, longitude: 72.8849595, name: 'Mumbai' },
47
- { latitude: 35.6628744, longitude: 139.7345469, name: 'Minato' },
48
- { latitude: 51.5326602, longitude: -0.1262422, name: 'London' }
49
- ],
50
- shape: 'Image',
51
- imageUrl: '/source/maps/images/ballon.png',
52
- height: 20, width: 20, offset: { y: -10, x: 0 },
53
- tooltipSettings: { visible: true, valuePath: 'name' },
54
- animationDuration: 0
55
- },
56
- {
57
- visible: true,
58
- tooltipSettings: { visible: true },
59
- template: '<div id="marker1" class="markersTemplate" style="color:white;">Asia' + '</div>',
60
- dataSource: [{ latitude: 50.32087157990324, longitude: 90.015625 }],
61
- animationDuration: 0
62
- },
63
- {
64
- visible: true,
65
- template: '<div id="marker2" class="markersTemplate" style="color:white;">Australia' + '</div>',
66
- dataSource: [{ latitude: -25.88583769986199, longitude: 134.296875 }],
67
- animationDuration: 0
68
- },
69
- {
70
- visible: true,
71
- template: '<div id="marker3" class="markersTemplate" style="color:white;">Africa' + '</div>',
72
- dataSource: [{ latitude: 16.97274101999902, longitude: 16.390625 }],
73
- animationDuration: 0
74
- },
75
- {
76
- visible: true,
77
- template: '<div id="marker4" class="markersTemplate" style="color:white;">Europe' + '</div>',
78
- dataSource: [{ latitude: 49.95121990866204, longitude: 18.468749999999998 }],
79
- animationDuration: 0
80
- },
81
- {
82
- visible: true,
83
- template: '<div id="marker5" class="markersTemplate" style="width:50px;color:white;">North America' + '</div>',
84
- dataSource: [{ latitude: 59.88893689676585, longitude: -109.3359375 }],
85
- animationDuration: 0
86
- },
87
- {
88
- visible: true,
89
- template: '<div id="marker6" class="markersTemplate" style="width:50px;color:white;">South America' + '</div>',
90
- dataSource: [{ latitude: -6.64607562172573, longitude: -55.54687499999999 }],
91
- animationDuration: 0
92
- }]
93
- }];
94
- public load = (args: ILoadEventArgs) => {
95
- let theme: string = location.hash.split('/')[1];
96
- theme = theme ? theme : 'Material';
97
- args.maps.theme = <MapsTheme>(theme.charAt(0).toUpperCase() + theme.slice(1));
98
- }
99
- constructor() {
100
- //code
101
- };
102
- }
@@ -1,3 +0,0 @@
1
- import { Schema as ComponentSchema } from '@schematics/angular/component/schema';
2
- export interface Schema extends ComponentSchema {
3
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,125 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/schema",
3
- "$id": "EJ2SchemaTemplateID",
4
- "title": "maps-legend",
5
- "type": "object",
6
- "properties": {
7
- "path": {
8
- "type": "string",
9
- "format": "path",
10
- "description": "The path to create the component.",
11
- "visible": false
12
- },
13
- "project": {
14
- "type": "string",
15
- "description": "The name of the project.",
16
- "$default": {
17
- "$source": "projectName"
18
- }
19
- },
20
- "name": {
21
- "type": "string",
22
- "description": "The name of the component.",
23
- "$default": {
24
- "$source": "argv",
25
- "index": 0
26
- }
27
- },
28
- "inlineStyle": {
29
- "description": "Specifies if the style will be in the ts file.",
30
- "type": "boolean",
31
- "default": false,
32
- "alias": "s"
33
- },
34
- "inlineTemplate": {
35
- "description": "Specifies if the template will be in the ts file.",
36
- "type": "boolean",
37
- "default": false,
38
- "alias": "t"
39
- },
40
- "viewEncapsulation": {
41
- "description": "Specifies the view encapsulation strategy.",
42
- "enum": [
43
- "Emulated",
44
- "Native",
45
- "None",
46
- "ShadowDom"
47
- ],
48
- "type": "string",
49
- "alias": "v"
50
- },
51
- "changeDetection": {
52
- "description": "Specifies the change detection strategy.",
53
- "enum": [
54
- "Default",
55
- "OnPush"
56
- ],
57
- "type": "string",
58
- "default": "Default",
59
- "alias": "c"
60
- },
61
- "prefix": {
62
- "type": "string",
63
- "description": "The prefix to apply to generated selectors.",
64
- "alias": "p",
65
- "oneOf": [
66
- {
67
- "maxLength": 0
68
- },
69
- {
70
- "minLength": 1,
71
- "format": "html-selector"
72
- }
73
- ]
74
- },
75
- "styleext": {
76
- "description": "The file extension to be used for style files.",
77
- "type": "string",
78
- "default": "css"
79
- },
80
- "spec": {
81
- "type": "boolean",
82
- "description": "Specifies if a spec file is generated.",
83
- "default": true
84
- },
85
- "flat": {
86
- "type": "boolean",
87
- "description": "Flag to indicate if a dir is created.",
88
- "default": false
89
- },
90
- "skipImport": {
91
- "type": "boolean",
92
- "description": "Flag to skip the module import.",
93
- "default": false
94
- },
95
- "selector": {
96
- "type": "string",
97
- "format": "html-selector",
98
- "description": "The selector to use for the component."
99
- },
100
- "module": {
101
- "type": "string",
102
- "description": "Allows specification of the declaring module.",
103
- "alias": "m"
104
- },
105
- "export": {
106
- "type": "boolean",
107
- "default": false,
108
- "description": "Specifies if declaring module exports the component."
109
- },
110
- "entryComponent": {
111
- "type": "boolean",
112
- "default": false,
113
- "description": "Specifies if the component is an entry component of declaring module."
114
- },
115
- "lintFix": {
116
- "type": "boolean",
117
- "default": false,
118
- "description": "Specifies whether to apply lint fixes after generating the component."
119
- }
120
- },
121
- "required": [
122
- "name"
123
- ],
124
- "id": "maps-legend"
125
- }
@@ -1,3 +0,0 @@
1
- import { Schema as ComponentSchema } from '@schematics/angular/component/schema';
2
-
3
- export interface Schema extends ComponentSchema { }
@@ -1,3 +0,0 @@
1
- import { Rule } from '@angular-devkit/schematics';
2
- import { Schema } from './schema';
3
- export default function (options: Schema): Rule;
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const schematics_1 = require("@syncfusion/ej2-angular-base/schematics");
4
- const sampleDetails = require("./sample-details");
5
- function default_1(options) {
6
- return schematics_1.componentBuilder(options, sampleDetails);
7
- }
8
- exports.default = default_1;
@@ -1,8 +0,0 @@
1
- import { Rule } from '@angular-devkit/schematics';
2
- import { componentBuilder } from "@syncfusion/ej2-angular-base/schematics";
3
- import { Schema } from './schema';
4
- import * as sampleDetails from './sample-details';
5
-
6
- export default function (options: Schema): Rule {
7
- return componentBuilder(options, sampleDetails);
8
- }
@@ -1,5 +0,0 @@
1
- export declare const componentName: string;
2
- export declare const sampleName: string;
3
- export declare const diModules: string;
4
- export declare const packageName: string;
5
- export declare const libModules: string;
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.componentName = 'maps';
4
- exports.sampleName = 'marker';
5
- exports.diModules = null;
6
- exports.packageName = '@syncfusion/ej2-angular-maps';
7
- exports.libModules = 'MapsModule';
@@ -1,5 +0,0 @@
1
- export const componentName: string = 'maps';
2
- export const sampleName: string = 'marker';
3
- export const diModules: string = null;
4
- export const packageName: string = '@syncfusion/ej2-angular-maps';
5
- export const libModules: string = 'MapsModule';
@@ -1,10 +0,0 @@
1
- <div class="control-section">
2
- <div align='center'>
3
- <ejs-maps id='container' style="display:block;" [zoomSettings]='zoomSettings' [layers]='layers'
4
- [titleSettings] = "titleSettings"
5
- (load)="load($event)">
6
- </ejs-maps>
7
- </div>
8
- </div>
9
-
10
-
@@ -1,101 +0,0 @@
1
- /* eslint-disable */
2
- import { Component, ViewEncapsulation } from '@angular/core';
3
- import { MapsTheme, Maps, Legend, Marker, MapsTooltip, ILoadEventArgs } from '@syncfusion/ej2-angular-maps';
4
- import { default_datasource } from './assets/default-datasource';
5
- import { world_map } from './assets/world-map';
6
-
7
- Maps.Inject(Legend, Marker, MapsTooltip);
8
-
9
- /**
10
- * Maps default sample
11
- */
12
- @Component({
13
- selector: '<%=dasherize(selector)%>',
14
- templateUrl: '<%=dasherize(name)%>.component.html',
15
- styleUrls: ['<%=dasherize(name)%>.component.css'],
16
- encapsulation: ViewEncapsulation.None
17
- })
18
- export class <%= classify(name) %>Component {
19
- titleSettings: object = {
20
- text: 'YouTube office locations',
21
- textStyle: {
22
- size: '16px'
23
- }
24
- };
25
- public zoomSettings: object = {
26
- enable: false
27
- };
28
-
29
- public layers: object[] = [{
30
- shapeData: world_map,
31
- shapePropertyPath: 'continent',
32
- shapeDataPath: 'continent',
33
- dataSource: default_datasource,
34
- shapeSettings: { colorValuePath: 'color', },
35
- markerSettings: [{
36
- visible: true,
37
- dataSource: [
38
- { latitude: 37.6276571, longitude: -122.4276688, name: 'San Bruno' },
39
- { latitude: 33.5302186, longitude: -117.7418381, name: 'Laguna Niguel' },
40
- { latitude: 40.7424509, longitude: -74.0081468, name: 'New York' },
41
- { latitude: -23.5268201, longitude: -46.6489927, name: 'Bom Retiro' },
42
- { latitude: 43.6533855, longitude: -79.3729994, name: 'Toronto' },
43
- { latitude: 48.8773406, longitude: 2.3299627, name: 'Paris' },
44
- { latitude: 52.4643089, longitude: 13.4107368, name: 'Berlin' },
45
- { latitude: 19.1555762, longitude: 72.8849595, name: 'Mumbai' },
46
- { latitude: 35.6628744, longitude: 139.7345469, name: 'Minato' },
47
- { latitude: 51.5326602, longitude: -0.1262422, name: 'London' }
48
- ],
49
- shape: 'Image',
50
- imageUrl: './assets/images/ballon.png',
51
- height: 20, width: 20, offset: { y: -10, x: 0 },
52
- tooltipSettings: { visible: true, valuePath: 'name' },
53
- animationDuration: 0
54
- },
55
- {
56
- visible: true,
57
- tooltipSettings: { visible: true },
58
- template: '<div id="marker1" class="markersTemplate" style="color:white;">Asia' + '</div>',
59
- dataSource: [{ latitude: 50.32087157990324, longitude: 90.015625 }],
60
- animationDuration: 0
61
- },
62
- {
63
- visible: true,
64
- template: '<div id="marker2" class="markersTemplate" style="color:white;">Australia' + '</div>',
65
- dataSource: [{ latitude: -25.88583769986199, longitude: 134.296875 }],
66
- animationDuration: 0
67
- },
68
- {
69
- visible: true,
70
- template: '<div id="marker3" class="markersTemplate" style="color:white;">Africa' + '</div>',
71
- dataSource: [{ latitude: 16.97274101999902, longitude: 16.390625 }],
72
- animationDuration: 0
73
- },
74
- {
75
- visible: true,
76
- template: '<div id="marker4" class="markersTemplate" style="color:white;">Europe' + '</div>',
77
- dataSource: [{ latitude: 49.95121990866204, longitude: 18.468749999999998 }],
78
- animationDuration: 0
79
- },
80
- {
81
- visible: true,
82
- template: '<div id="marker5" class="markersTemplate" style="width:50px;color:white;">North America' + '</div>',
83
- dataSource: [{ latitude: 59.88893689676585, longitude: -109.3359375 }],
84
- animationDuration: 0
85
- },
86
- {
87
- visible: true,
88
- template: '<div id="marker6" class="markersTemplate" style="width:50px;color:white;">South America' + '</div>',
89
- dataSource: [{ latitude: -6.64607562172573, longitude: -55.54687499999999 }],
90
- animationDuration: 0
91
- }]
92
- }];
93
- public load = (args: ILoadEventArgs) => {
94
- let theme: string = location.hash.split('/')[1];
95
- theme = theme ? theme : 'Material';
96
- args.maps.theme = <MapsTheme>(theme.charAt(0).toUpperCase() + theme.slice(1));
97
- }
98
- constructor() {
99
- //code
100
- };
101
- }
@@ -1,3 +0,0 @@
1
- import { Schema as ComponentSchema } from '@schematics/angular/component/schema';
2
- export interface Schema extends ComponentSchema {
3
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });