@syncfusion/ej2-angular-maps 26.1.35 → 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 (174) hide show
  1. package/@syncfusion/ej2-angular-maps.es5.js +877 -0
  2. package/@syncfusion/ej2-angular-maps.es5.js.map +1 -0
  3. package/@syncfusion/ej2-angular-maps.js +810 -0
  4. package/@syncfusion/ej2-angular-maps.js.map +1 -0
  5. package/dist/ej2-angular-maps.umd.js +1135 -0
  6. package/dist/ej2-angular-maps.umd.js.map +1 -0
  7. package/dist/ej2-angular-maps.umd.min.js +11 -0
  8. package/dist/ej2-angular-maps.umd.min.js.map +1 -0
  9. package/{syncfusion-ej2-angular-maps.d.ts → ej2-angular-maps.d.ts} +1 -1
  10. package/ej2-angular-maps.metadata.json +1 -0
  11. package/license +10 -0
  12. package/package.json +14 -28
  13. package/schematics/collection.json +0 -45
  14. package/src/maps/annotations.directive.d.ts +0 -5
  15. package/src/maps/bubblesettings.directive.d.ts +0 -5
  16. package/src/maps/colormapping.directive.d.ts +0 -5
  17. package/src/maps/initialshapeselection.directive.d.ts +0 -5
  18. package/src/maps/layers.directive.d.ts +0 -5
  19. package/src/maps/maps-all.module.d.ts +0 -6
  20. package/src/maps/maps.component.d.ts +0 -3
  21. package/src/maps/maps.module.d.ts +0 -13
  22. package/src/maps/markersettings.directive.d.ts +0 -5
  23. package/src/maps/navigationlinesettings.directive.d.ts +0 -5
  24. package/CHANGELOG.md +0 -603
  25. package/esm2020/public_api.mjs +0 -2
  26. package/esm2020/src/index.mjs +0 -12
  27. package/esm2020/src/maps/annotations.directive.mjs +0 -62
  28. package/esm2020/src/maps/bubblesettings.directive.mjs +0 -71
  29. package/esm2020/src/maps/colormapping.directive.mjs +0 -61
  30. package/esm2020/src/maps/initialshapeselection.directive.mjs +0 -59
  31. package/esm2020/src/maps/layers.directive.mjs +0 -64
  32. package/esm2020/src/maps/maps-all.module.mjs +0 -68
  33. package/esm2020/src/maps/maps.component.mjs +0 -168
  34. package/esm2020/src/maps/maps.module.mjs +0 -88
  35. package/esm2020/src/maps/markersettings.directive.mjs +0 -73
  36. package/esm2020/src/maps/navigationlinesettings.directive.mjs +0 -67
  37. package/esm2020/syncfusion-ej2-angular-maps.mjs +0 -5
  38. package/fesm2015/syncfusion-ej2-angular-maps.mjs +0 -737
  39. package/fesm2015/syncfusion-ej2-angular-maps.mjs.map +0 -1
  40. package/fesm2020/syncfusion-ej2-angular-maps.mjs +0 -737
  41. package/fesm2020/syncfusion-ej2-angular-maps.mjs.map +0 -1
  42. package/schematics/generators/maps-annotation/images/__path__/__name@dasherize__/compass.svg +0 -197
  43. package/schematics/generators/maps-annotation/index.d.ts +0 -3
  44. package/schematics/generators/maps-annotation/index.js +0 -8
  45. package/schematics/generators/maps-annotation/index.ts +0 -8
  46. package/schematics/generators/maps-annotation/sample-details.d.ts +0 -5
  47. package/schematics/generators/maps-annotation/sample-details.js +0 -7
  48. package/schematics/generators/maps-annotation/sample-details.ts +0 -5
  49. package/schematics/generators/maps-annotation/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -21
  50. package/schematics/generators/maps-annotation/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -15
  51. package/schematics/generators/maps-annotation/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -58
  52. package/schematics/generators/maps-annotation/schema.d.ts +0 -3
  53. package/schematics/generators/maps-annotation/schema.js +0 -2
  54. package/schematics/generators/maps-annotation/schema.json +0 -125
  55. package/schematics/generators/maps-annotation/schema.ts +0 -3
  56. package/schematics/generators/maps-bubble/index.d.ts +0 -3
  57. package/schematics/generators/maps-bubble/index.js +0 -8
  58. package/schematics/generators/maps-bubble/index.ts +0 -8
  59. package/schematics/generators/maps-bubble/sample-details.d.ts +0 -5
  60. package/schematics/generators/maps-bubble/sample-details.js +0 -7
  61. package/schematics/generators/maps-bubble/sample-details.ts +0 -5
  62. package/schematics/generators/maps-bubble/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  63. package/schematics/generators/maps-bubble/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -10
  64. package/schematics/generators/maps-bubble/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -72
  65. package/schematics/generators/maps-bubble/samples/__path__/__name@dasherize@if-flat__/assets/population-data.ts +0 -46
  66. package/schematics/generators/maps-bubble/samples/__path__/__name@dasherize@if-flat__/assets/world-map.ts +0 -184
  67. package/schematics/generators/maps-bubble/schema.d.ts +0 -3
  68. package/schematics/generators/maps-bubble/schema.js +0 -2
  69. package/schematics/generators/maps-bubble/schema.json +0 -125
  70. package/schematics/generators/maps-bubble/schema.ts +0 -3
  71. package/schematics/generators/maps-color-mapping/images/__path__/__name@dasherize__/ballon.png +0 -0
  72. package/schematics/generators/maps-color-mapping/index.d.ts +0 -3
  73. package/schematics/generators/maps-color-mapping/index.js +0 -8
  74. package/schematics/generators/maps-color-mapping/index.ts +0 -8
  75. package/schematics/generators/maps-color-mapping/sample-details.d.ts +0 -5
  76. package/schematics/generators/maps-color-mapping/sample-details.js +0 -7
  77. package/schematics/generators/maps-color-mapping/sample-details.ts +0 -5
  78. package/schematics/generators/maps-color-mapping/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  79. package/schematics/generators/maps-color-mapping/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -8
  80. package/schematics/generators/maps-color-mapping/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -77
  81. package/schematics/generators/maps-color-mapping/schema.d.ts +0 -3
  82. package/schematics/generators/maps-color-mapping/schema.js +0 -2
  83. package/schematics/generators/maps-color-mapping/schema.json +0 -125
  84. package/schematics/generators/maps-color-mapping/schema.ts +0 -3
  85. package/schematics/generators/maps-default/images/__path__/__name@dasherize__/ballon.png +0 -0
  86. package/schematics/generators/maps-default/index.d.ts +0 -3
  87. package/schematics/generators/maps-default/index.js +0 -8
  88. package/schematics/generators/maps-default/index.ts +0 -8
  89. package/schematics/generators/maps-default/sample-details.d.ts +0 -5
  90. package/schematics/generators/maps-default/sample-details.js +0 -7
  91. package/schematics/generators/maps-default/sample-details.ts +0 -5
  92. package/schematics/generators/maps-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  93. package/schematics/generators/maps-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -10
  94. package/schematics/generators/maps-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -33
  95. package/schematics/generators/maps-default/schema.d.ts +0 -3
  96. package/schematics/generators/maps-default/schema.js +0 -2
  97. package/schematics/generators/maps-default/schema.json +0 -125
  98. package/schematics/generators/maps-default/schema.ts +0 -3
  99. package/schematics/generators/maps-label/index.d.ts +0 -3
  100. package/schematics/generators/maps-label/index.js +0 -8
  101. package/schematics/generators/maps-label/index.ts +0 -8
  102. package/schematics/generators/maps-label/sample-details.d.ts +0 -5
  103. package/schematics/generators/maps-label/sample-details.js +0 -7
  104. package/schematics/generators/maps-label/sample-details.ts +0 -5
  105. package/schematics/generators/maps-label/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  106. package/schematics/generators/maps-label/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -8
  107. package/schematics/generators/maps-label/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -38
  108. package/schematics/generators/maps-label/samples/__path__/__name@dasherize@if-flat__/assets/world-map.ts +0 -184
  109. package/schematics/generators/maps-label/schema.d.ts +0 -3
  110. package/schematics/generators/maps-label/schema.js +0 -2
  111. package/schematics/generators/maps-label/schema.json +0 -125
  112. package/schematics/generators/maps-label/schema.ts +0 -3
  113. package/schematics/generators/maps-legend/images/__path__/__name@dasherize__/ballon.png +0 -0
  114. package/schematics/generators/maps-legend/index.d.ts +0 -3
  115. package/schematics/generators/maps-legend/index.js +0 -8
  116. package/schematics/generators/maps-legend/index.ts +0 -8
  117. package/schematics/generators/maps-legend/sample-details.d.ts +0 -5
  118. package/schematics/generators/maps-legend/sample-details.js +0 -7
  119. package/schematics/generators/maps-legend/sample-details.ts +0 -5
  120. package/schematics/generators/maps-legend/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  121. package/schematics/generators/maps-legend/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -8
  122. package/schematics/generators/maps-legend/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -102
  123. package/schematics/generators/maps-legend/schema.d.ts +0 -3
  124. package/schematics/generators/maps-legend/schema.js +0 -2
  125. package/schematics/generators/maps-legend/schema.json +0 -125
  126. package/schematics/generators/maps-legend/schema.ts +0 -3
  127. package/schematics/generators/maps-marker/images/__path__/__name@dasherize__/ballon.png +0 -0
  128. package/schematics/generators/maps-marker/index.d.ts +0 -3
  129. package/schematics/generators/maps-marker/index.js +0 -8
  130. package/schematics/generators/maps-marker/index.ts +0 -8
  131. package/schematics/generators/maps-marker/sample-details.d.ts +0 -5
  132. package/schematics/generators/maps-marker/sample-details.js +0 -7
  133. package/schematics/generators/maps-marker/sample-details.ts +0 -5
  134. package/schematics/generators/maps-marker/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  135. package/schematics/generators/maps-marker/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -10
  136. package/schematics/generators/maps-marker/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -101
  137. package/schematics/generators/maps-marker/schema.d.ts +0 -3
  138. package/schematics/generators/maps-marker/schema.js +0 -2
  139. package/schematics/generators/maps-marker/schema.json +0 -125
  140. package/schematics/generators/maps-marker/schema.ts +0 -3
  141. package/schematics/generators/maps-navigation-line/index.d.ts +0 -3
  142. package/schematics/generators/maps-navigation-line/index.js +0 -8
  143. package/schematics/generators/maps-navigation-line/index.ts +0 -8
  144. package/schematics/generators/maps-navigation-line/sample-details.d.ts +0 -5
  145. package/schematics/generators/maps-navigation-line/sample-details.js +0 -7
  146. package/schematics/generators/maps-navigation-line/sample-details.ts +0 -5
  147. package/schematics/generators/maps-navigation-line/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -19
  148. package/schematics/generators/maps-navigation-line/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -6
  149. package/schematics/generators/maps-navigation-line/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -121
  150. package/schematics/generators/maps-navigation-line/samples/__path__/__name@dasherize@if-flat__/assets/map-location.ts +0 -128
  151. package/schematics/generators/maps-navigation-line/samples/__path__/__name@dasherize@if-flat__/assets/world-map.ts +0 -184
  152. package/schematics/generators/maps-navigation-line/schema.d.ts +0 -3
  153. package/schematics/generators/maps-navigation-line/schema.js +0 -2
  154. package/schematics/generators/maps-navigation-line/schema.json +0 -125
  155. package/schematics/generators/maps-navigation-line/schema.ts +0 -3
  156. package/schematics/generators/maps-osm/index.d.ts +0 -3
  157. package/schematics/generators/maps-osm/index.js +0 -8
  158. package/schematics/generators/maps-osm/index.ts +0 -8
  159. package/schematics/generators/maps-osm/sample-details.d.ts +0 -5
  160. package/schematics/generators/maps-osm/sample-details.js +0 -7
  161. package/schematics/generators/maps-osm/sample-details.ts +0 -5
  162. package/schematics/generators/maps-osm/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  163. package/schematics/generators/maps-osm/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -10
  164. package/schematics/generators/maps-osm/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -33
  165. package/schematics/generators/maps-osm/schema.d.ts +0 -3
  166. package/schematics/generators/maps-osm/schema.js +0 -2
  167. package/schematics/generators/maps-osm/schema.json +0 -125
  168. package/schematics/generators/maps-osm/schema.ts +0 -3
  169. package/schematics/ng-add/index.d.ts +0 -3
  170. package/schematics/ng-add/index.js +0 -9
  171. package/schematics/ng-add/schema.d.ts +0 -13
  172. package/schematics/ng-add/schema.js +0 -2
  173. package/schematics/utils/lib-details.d.ts +0 -4
  174. 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 });