@syncfusion/ej2-angular-maps 20.4.38 → 20.4.40
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.
package/README.md
CHANGED
|
@@ -1,73 +1,135 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Angular Maps Component
|
|
2
2
|
|
|
3
|
-
The maps
|
|
3
|
+
The [Angular Maps](https://www.syncfusion.com/angular-components/angular-maps-library?utm_source=npm&utm_medium=listing&utm_campaign=angular-maps-npm) component is used to visualize geographical data and represent statistical data of a specific geographical area on earth with user interactivity, and it provides a wide range of customization options.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
<p align="center">
|
|
6
|
+
<a href="https://ej2.syncfusion.com/angular/documentation/maps/getting-started/?utm_source=npm&utm_medium=listing&utm_campaign=angular-maps-npm">Getting started</a> .
|
|
7
|
+
<a href="https://ej2.syncfusion.com/angular/demos/?utm_source=npm&utm_medium=listing&utm_campaign=angular-maps-npm#/material/maps/default">Online demos</a> .
|
|
8
|
+
<a href="https://www.syncfusion.com/angular-components/angular-maps-library?utm_source=npm&utm_medium=listing&utm_campaign=angular-maps-npm">Learn more</a>
|
|
9
|
+
</p>
|
|
6
10
|
|
|
7
|
-
|
|
11
|
+
<p align="center">
|
|
12
|
+
<img src="https://raw.githubusercontent.com/SyncfusionExamples/nuget-img/master/angular/angular-map.png" alt="Angular Maps Component">
|
|
13
|
+
</p>
|
|
14
|
+
|
|
15
|
+
<p align="center">
|
|
16
|
+
Trusted by the world's leading companies
|
|
17
|
+
<a href="https://www.syncfusion.com">
|
|
18
|
+
<img src="https://raw.githubusercontent.com/SyncfusionExamples/nuget-img/master/syncfusion/syncfusion-trusted-companies.webp" alt="Bootstrap logo">
|
|
19
|
+
</a>
|
|
20
|
+
</p>
|
|
8
21
|
|
|
9
22
|
## Setup
|
|
10
23
|
|
|
11
|
-
|
|
24
|
+
### Create an Angular Application
|
|
25
|
+
|
|
26
|
+
You can use [Angular CLI](https://github.com/angular/angular-cli) to setup your Angular applications. To install the Angular CLI, use the following command.
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
npm install -g @angular/cli
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Create a new Angular application using the following Angular CLI command.
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
ng new my-app
|
|
36
|
+
cd my-app
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
### Adding Syncfusion Maps package
|
|
40
|
+
|
|
41
|
+
All Syncfusion Angular packages are available in [npmjs.com](https://www.npmjs.com/~syncfusionorg). To install the Angular Maps package, use the following command.
|
|
12
42
|
|
|
13
43
|
```sh
|
|
14
|
-
npm install @syncfusion/ej2-maps
|
|
44
|
+
npm install @syncfusion/ej2-angular-maps
|
|
15
45
|
```
|
|
16
46
|
|
|
17
|
-
|
|
47
|
+
The above command does the below configuration to your Angular app.
|
|
18
48
|
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
49
|
+
* Adds `@syncfusion/ej2-angular-maps` package and its peer dependencies to your `package.json` file.
|
|
50
|
+
* Imports the `MapsModule` in your application module `app.module.ts`.
|
|
51
|
+
* Registers the Syncfusion UI default theme (material) in the `angular.json` file.
|
|
22
52
|
|
|
23
|
-
|
|
53
|
+
This makes it easy to add the Syncfusion Angular Maps module to your project and start using it in your application.
|
|
24
54
|
|
|
25
|
-
Maps component
|
|
55
|
+
### Add Maps component
|
|
26
56
|
|
|
27
|
-
|
|
28
|
-
2. [React](https://www.npmjs.com/package/@syncfusion/ej2-react-maps?utm_source=npm&utm_campaign=maps)
|
|
29
|
-
3. [Vue.js](https://www.npmjs.com/package/@syncfusion/ej2-vue-maps?utm_source=npm&utm_campaign=maps)
|
|
30
|
-
4. [ASP.NET Core](https://aspdotnetcore.syncfusion.com/Maps/Default#/material)
|
|
31
|
-
5. [ASP.NET MVC](https://aspnetmvc.syncfusion.com/Maps/Default#/material)
|
|
32
|
-
6. [JavaScript (ES5)](https://www.syncfusion.com/products/javascript/maps)
|
|
57
|
+
In **src/app/app.component.ts**, use `<ejs-maps>` selector in the `template` attribute of the `@Component` directive to render the Syncfusion Angular Maps component.
|
|
33
58
|
|
|
34
|
-
|
|
59
|
+
```typescript
|
|
60
|
+
import { Component } from '@angular/core';
|
|
61
|
+
import { world_map } from './world-map';
|
|
35
62
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
63
|
+
@Component({
|
|
64
|
+
selector: 'app-container',
|
|
65
|
+
template:
|
|
66
|
+
`<ejs-maps id='maps-container'>
|
|
67
|
+
<e-layers>
|
|
68
|
+
<e-layer [shapeData] = 'shapeData'></e-layer>
|
|
69
|
+
</e-layers>
|
|
70
|
+
</ejs-maps>`
|
|
71
|
+
})
|
|
39
72
|
|
|
40
|
-
|
|
73
|
+
export class AppComponent {
|
|
74
|
+
public shapeData: object = world_map;
|
|
75
|
+
}
|
|
76
|
+
```
|
|
41
77
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
* [
|
|
52
|
-
* [
|
|
53
|
-
* [
|
|
54
|
-
|
|
55
|
-
|
|
78
|
+
## Supported frameworks
|
|
79
|
+
|
|
80
|
+
Maps component is also offered in the following list of frameworks.
|
|
81
|
+
|
|
82
|
+
| [<img src="https://ej2.syncfusion.com/github/images/js.svg" height="50" />](https://www.syncfusion.com/javascript-ui-controls?utm_medium=listing&utm_source=github)<br/> [JavaScript](https://www.syncfusion.com/javascript-ui-controls?utm_medium=listing&utm_source=github) | [<img src="https://ej2.syncfusion.com/github/images/react.svg" height="50" />](https://www.syncfusion.com/react-ui-components?utm_medium=listing&utm_source=github)<br/> [React](https://www.syncfusion.com/react-ui-components?utm_medium=listing&utm_source=github) | [<img src="https://ej2.syncfusion.com/github/images/vue.svg" height="50" />](https://www.syncfusion.com/vue-ui-components?utm_medium=listing&utm_source=github)<br/> [Vue](https://www.syncfusion.com/vue-ui-components?utm_medium=listing&utm_source=github) | [<img src="https://ej2.syncfusion.com/github/images/netcore.svg" height="50" />](https://www.syncfusion.com/aspnet-core-ui-controls?utm_medium=listing&utm_source=github)<br/> [ASP.NET Core](https://www.syncfusion.com/aspnet-core-ui-controls?utm_medium=listing&utm_source=github) | [<img src="https://ej2.syncfusion.com/github/images/netmvc.svg" height="50" />](https://www.syncfusion.com/aspnet-mvc-ui-controls?utm_medium=listing&utm_source=github)<br/> [ASP.NET MVC](https://www.syncfusion.com/aspnet-mvc-ui-controls?utm_medium=listing&utm_source=github) |
|
|
83
|
+
| :-----: | :-----: | :-----: | :-----: | :-----: |
|
|
84
|
+
|
|
85
|
+
## Showcase samples
|
|
86
|
+
|
|
87
|
+
* Heat map - [Live Demo](https://ej2.syncfusion.com/angular/demos/#/material/maps/heatmap)
|
|
88
|
+
* Flight routes - [Live Demo](https://ej2.syncfusion.com/angular/demos/#/material/maps/curved-lines)
|
|
89
|
+
* Bus seat booking - [Live Demo](https://ej2.syncfusion.com/angular/demos/#/material/maps/seat-selection)
|
|
90
|
+
|
|
91
|
+
## Key features
|
|
92
|
+
|
|
93
|
+
* [Data sources](https://ej2.syncfusion.com/angular/documentation/maps/populate-data/?utm_source=npm&utm_campaign=angular-maps-npm): Binds the maps control to an array of JSON objects containing GeoJSON data.
|
|
94
|
+
* [Map providers](https://ej2.syncfusion.com/angular/documentation/maps/providers/other-maps/?utm_source=npm&utm_campaign=angular-maps-npm): Online map providers such as OpenStreetMap, Bing Maps and others can also be rendered.
|
|
95
|
+
* [Layer](https://ej2.syncfusion.com/angular/documentation/maps/layers/?utm_source=npm&utm_campaign=angular-maps-npm): Layer represents the area which renders the map. Also, any number of layers can be added.
|
|
96
|
+
* [Projection](https://ej2.syncfusion.com/angular/demos/?utm_source=npm&utm_campaign=angular-maps-npm#/material/maps/projection): Maps can be rendered in eight different types of projections.
|
|
97
|
+
* [Drill-down](https://ej2.syncfusion.com/angular/demos/?utm_source=npm&utm_campaign=angular-maps-npm#/material/maps/drilldown): Provides drill-down option to have a closer look at the lower level of a hierarchy.
|
|
98
|
+
* [Marker](https://ej2.syncfusion.com/angular/documentation/maps/markers/?utm_source=npm&utm_campaign=angular-maps-npm): Provides support to mark a specific place of interest in the map.
|
|
99
|
+
* [Data label](https://ej2.syncfusion.com/angular/documentation/maps/data-labels/?utm_source=npm&utm_campaign=angular-maps-npm): Provides additional information about the shapes in the form of text over the shapes.
|
|
100
|
+
* [Bubble](https://ej2.syncfusion.com/angular/documentation/maps/bubble/?utm_source=npm&utm_campaign=angular-maps-npm): Represents visually the underlying data values of the shapes.
|
|
101
|
+
* [Navigation line](https://ej2.syncfusion.com/angular/documentation/maps/navigation-line/?utm_source=npm&utm_campaign=angular-maps-npm): Denotes the path between two locations.
|
|
102
|
+
* [Color mapping](https://ej2.syncfusion.com/angular/documentation/maps/color-mapping/?utm_source=npm&utm_campaign=angular-maps-npm): Applies colors to the shapes based on various conditions. Maps supports three types of color mapping: range color mapping, equal color mapping and desaturation color mapping.
|
|
103
|
+
* [Legend](https://ej2.syncfusion.com/angular/documentation/maps/legend/?utm_source=npm&utm_campaign=angular-maps-npm): Summarizes the information from the layers, markers and bubbles.
|
|
104
|
+
* [Annotation](https://ej2.syncfusion.com/angular/documentation/maps/annotations/?utm_source=npm&utm_campaign=angular-maps-npm): Uses any custom HTML element as annotation and place it anywhere on the maps.
|
|
105
|
+
* [Selection and highlight](https://ej2.syncfusion.com/angular/documentation/maps/user-interactions/?utm_source=npm&utm_campaign=angular-maps-npm#selection): Supports selecting or highlighting shapes to bring center of attraction.
|
|
106
|
+
* [Zooming and panning](https://ej2.syncfusion.com/angular/documentation/maps/user-interactions/?utm_source=npm&utm_campaign=angular-maps-npm#zooming): Allows to zoom in, zoom out, and pan the map to show in-depth information.
|
|
107
|
+
* [Tooltip](https://ej2.syncfusion.com/angular/documentation/maps/user-interactions/?utm_source=npm&utm_campaign=angular-maps-npm#tooltip): Provides additonal information about the shapes on hover.
|
|
108
|
+
* [Print and Export](https://ej2.syncfusion.com/angular/documentation/maps/print/?utm_source=npm&utm_campaign=angular-maps-npm): Prints or exports the rendered maps to a desired format. Exporting supports four formats: PDF, PNG, JPEG and SVG.
|
|
109
|
+
* [Templates](https://ej2.syncfusion.com/angular/demos/?utm_source=npm&utm_campaign=angular-maps-npm#/material/maps/marker-template): Templates can be used to create custom user experiences in the Maps.
|
|
110
|
+
* [Globalization](https://ej2.syncfusion.com/angular/documentation/maps/internationalization/?utm_source=npm&utm_campaign=angular-maps-npm): Personalize the Maps component with different languages, as well as culture-specific number, date and time formatting.
|
|
111
|
+
* [Accessibility](https://ej2.syncfusion.com/angular/documentation/maps/accessibility/?utm_source=npm&utm_campaign=angular-maps-npm): Provides with built-in accessibility support which helps to access all the Maps component features through the keyboard, screen readers, or other assistive technology devices.
|
|
56
112
|
|
|
57
113
|
## Support
|
|
58
114
|
|
|
59
|
-
Product support is available
|
|
115
|
+
Product support is available through the following mediums.
|
|
60
116
|
|
|
61
|
-
*
|
|
62
|
-
*
|
|
63
|
-
*
|
|
117
|
+
* [Support ticket](https://support.syncfusion.com/support/tickets/create) - Guaranteed Response in 24 hours | Unlimited tickets | Holiday support
|
|
118
|
+
* [Community forum](https://www.syncfusion.com/forums/angular-js2?utm_source=npm&utm_medium=listing&utm_campaign=angular-maps-npm)
|
|
119
|
+
* [GitHub issues](https://github.com/syncfusion/ej2-angular-ui-components/issues/new)
|
|
120
|
+
* [Request feature or report bug](https://www.syncfusion.com/feedback/angular?utm_source=npm&utm_medium=listing&utm_campaign=angular-maps-npm)
|
|
121
|
+
* Live chat
|
|
64
122
|
|
|
65
|
-
##
|
|
123
|
+
## Changelog
|
|
66
124
|
|
|
67
|
-
Check the
|
|
125
|
+
Check the changelog [here](https://github.com/syncfusion/ej2-angular-ui-components/blob/master/components/maps/CHANGELOG.md?utm_source=npm&utm_campaign=angular-maps-npm). Get minor improvements and bug fixes every week to stay up to date with frequent updates.
|
|
68
126
|
|
|
69
|
-
##
|
|
127
|
+
## License and copyright
|
|
128
|
+
|
|
129
|
+
> This is a commercial product and requires a paid license for possession or use. Syncfusion’s licensed software, including this component, is subject to the terms and conditions of Syncfusion's [EULA](https://www.syncfusion.com/eula/es/). To acquire a license for 80+ [Angular UI components](https://www.syncfusion.com/angular-components), you can [purchase](https://www.syncfusion.com/sales/products) or [start a free 30-day trial](https://www.syncfusion.com/account/manage-trials/start-trials).
|
|
130
|
+
|
|
131
|
+
> A free community [license](https://www.syncfusion.com/products/communitylicense) is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.
|
|
70
132
|
|
|
71
|
-
|
|
133
|
+
See [LICENSE FILE](https://github.com/syncfusion/ej2-angular-ui-components/blob/master/components/maps/license?utm_source=npm&utm_campaign=angular-maps-npm) for more info.
|
|
72
134
|
|
|
73
135
|
© Copyright 2022 Syncfusion, Inc. All Rights Reserved. The Syncfusion Essential Studio license and copyright applies to this distribution.
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-angular-maps@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-angular-maps@
|
|
3
|
+
"_id": "@syncfusion/ej2-angular-maps@20.4.38",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-OQb1anLymkBwLIyqdni5CWABb0nXu2hOcPZsBMM/zuKHQgNb083om3wrFjRmPflofnSUD/0BMltCPmg7xGwESg==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-angular-maps",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"_requiredBy": [
|
|
20
20
|
"/"
|
|
21
21
|
],
|
|
22
|
-
"_resolved": "https://nexus.syncfusion.com/repository/ej2-angular-
|
|
23
|
-
"_shasum": "
|
|
22
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-angular-hotfix/@syncfusion/ej2-angular-maps/-/ej2-angular-maps-20.4.38.tgz",
|
|
23
|
+
"_shasum": "63b2e92fb958eaa84ea5bc36ea65aa28660502bd",
|
|
24
24
|
"_spec": "@syncfusion/ej2-angular-maps@*",
|
|
25
25
|
"_where": "/jenkins/workspace/ease-automation_release_19.1.0.1/ivypackages/included",
|
|
26
26
|
"author": {
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
},
|
|
32
32
|
"bundleDependencies": false,
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@syncfusion/ej2-angular-base": "~20.4.
|
|
35
|
-
"@syncfusion/ej2-base": "~20.4.
|
|
36
|
-
"@syncfusion/ej2-maps": "20.4.
|
|
34
|
+
"@syncfusion/ej2-angular-base": "~20.4.40",
|
|
35
|
+
"@syncfusion/ej2-base": "~20.4.40",
|
|
36
|
+
"@syncfusion/ej2-maps": "20.4.40",
|
|
37
37
|
"tslib": "^2.3.0"
|
|
38
38
|
},
|
|
39
39
|
"deprecated": false,
|
|
@@ -57,27 +57,6 @@
|
|
|
57
57
|
"fesm2020": "fesm2020/syncfusion-ej2-angular-maps.mjs",
|
|
58
58
|
"homepage": "https://github.com/syncfusion/ej2-angular-ui-components#readme",
|
|
59
59
|
"keywords": [
|
|
60
|
-
"ej2",
|
|
61
|
-
"syncfusion",
|
|
62
|
-
"ej2-maps",
|
|
63
|
-
"web-components",
|
|
64
|
-
"maps",
|
|
65
|
-
"shape-data",
|
|
66
|
-
"OSM",
|
|
67
|
-
"projection",
|
|
68
|
-
"bubble",
|
|
69
|
-
"color-mapping",
|
|
70
|
-
"marker",
|
|
71
|
-
"data-label",
|
|
72
|
-
"navigation-line",
|
|
73
|
-
"legend",
|
|
74
|
-
"tooltip",
|
|
75
|
-
"zooming",
|
|
76
|
-
"panning",
|
|
77
|
-
"drilldown",
|
|
78
|
-
"annotation",
|
|
79
|
-
"custom-shapes",
|
|
80
|
-
"typescript",
|
|
81
60
|
"angular",
|
|
82
61
|
"ng-maps",
|
|
83
62
|
"ej2-ng-maps"
|
|
@@ -92,5 +71,5 @@
|
|
|
92
71
|
"schematics": "./schematics/collection.json",
|
|
93
72
|
"sideEffects": false,
|
|
94
73
|
"typings": "syncfusion-ej2-angular-maps.d.ts",
|
|
95
|
-
"version": "20.4.
|
|
74
|
+
"version": "20.4.40"
|
|
96
75
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const pkgName = "@syncfusion/ej2-angular-maps";
|
|
2
|
-
export declare const pkgVer = "^20.
|
|
2
|
+
export declare const pkgVer = "^20.4.38";
|
|
3
3
|
export declare const moduleName = "MapsModule";
|
|
4
|
-
export declare const themeVer = "~20.
|
|
4
|
+
export declare const themeVer = "~20.4.38";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.pkgName = '@syncfusion/ej2-angular-maps';
|
|
4
|
-
exports.pkgVer = '^20.4.
|
|
4
|
+
exports.pkgVer = '^20.4.40';
|
|
5
5
|
exports.moduleName = 'MapsModule';
|
|
6
|
-
exports.themeVer = '~20.4.
|
|
6
|
+
exports.themeVer = '~20.4.40';
|