react-azure-maps
Advanced tools
Comparing version 0.3.0 to 0.4.1
@@ -0,0 +0,0 @@ import React from 'react'; |
@@ -0,0 +0,0 @@ import { IAzureCustomControls, IAzureMapControls, MapType } from '../../types'; |
import { IAzureMapImageSprite, MapType } from '../../types'; | ||
export declare const createImageSprites: (mapRef: MapType, spriteArray: IAzureMapImageSprite[]) => Promise<void>; |
@@ -0,0 +0,0 @@ import React from 'react'; |
import { IAzureMapFeature } from '../../types'; | ||
import atlas from 'azure-maps-control'; | ||
export declare const createAzureMapFeature: ({ type, coordinate, coordinates, multipleCoordinates, multipleDimensionCoordinates, bbox }: IAzureMapFeature) => atlas.data.Geometry | undefined; |
import { DataSourceType, IAzureMapFeature, ShapeType, FeatureType } from '../../types'; | ||
export declare const useFeature: ({ setCoords, setProperties }: IAzureMapFeature, dataSourceRef: DataSourceType | null, shapeRef: ShapeType | null, featureRef: FeatureType | null) => void; |
@@ -0,0 +0,0 @@ import React from 'react'; |
@@ -0,0 +0,0 @@ import React from 'react'; |
@@ -0,0 +0,0 @@ import atlas from 'azure-maps-control'; |
import atlas from 'azure-maps-control'; | ||
export declare const generateLinesFromArrayOfPosition: (coordinates: atlas.data.Position[]) => atlas.data.LineString; | ||
export declare const generatePixelHeading: (origin: atlas.Pixel, destination: atlas.Pixel) => number; |
@@ -0,0 +0,0 @@ import React, { ReactElement } from 'react'; |
@@ -0,0 +0,0 @@ import React from 'react'; |
@@ -0,0 +0,0 @@ import React from 'react'; |
@@ -0,0 +0,0 @@ import { IAzureVectorTileSourceStatefulProviderProps } from '../types'; |
export {}; |
@@ -0,0 +0,0 @@ import { IAzureLayerStatefulProviderProps, LayerType, DataSourceType } from '../types'; |
export {}; |
export declare function useCheckRef<T, T1>(dep: T | null, on: T1 | null, callback: (dep: T, on: T1) => void): void; | ||
export declare function useCheckRefMount<T, T1>(dep: T | null, on: T1 | null, callback: (dep: T, on: T1) => void): void; |
export {}; |
@@ -0,0 +0,0 @@ export { default as AzureMap } from './components/AzureMap/AzureMap'; |
@@ -0,0 +0,0 @@ import { ComponentClass, CSSProperties, ReactElement, StatelessComponent } from 'react'; |
{ | ||
"name": "react-azure-maps", | ||
"version": "0.3.0", | ||
"version": "0.4.1", | ||
"description": "React Wrapper for Azure Maps", | ||
@@ -22,6 +22,6 @@ "keywords": [ | ||
], | ||
"author": "WiredSolutions", | ||
"author": "WiredSolutions and Microsoft", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/WiredSolutions/react-azure-maps" | ||
"url": "https://github.com/Azure/react-azure-maps" | ||
}, | ||
@@ -92,4 +92,4 @@ "license": "MIT", | ||
"@types/jest": "^26.0.15", | ||
"@types/react": "^16.9.53", | ||
"@types/react-dom": "^16.9.8", | ||
"@types/react": "^17.0.39", | ||
"@types/react-dom": "^17.0.11", | ||
"babel-preset-env": "^1.7.0", | ||
@@ -103,4 +103,4 @@ "concurrently": "^5.3.0", | ||
"prettier": "^2.2.0", | ||
"react": "^16.10.2", | ||
"react-dom": "^16.10.2", | ||
"react": "^17.0.2", | ||
"react-dom": "^17.0.2", | ||
"react-scripts": "4.0.1", | ||
@@ -107,0 +107,0 @@ "rollup": "^2.33.3", |
@@ -1,5 +0,7 @@ | ||
# WiredSolutions React-Azure-Maps | ||
# React-Azure-Maps | ||
[![npm](https://img.shields.io/npm/v/react-azure-maps.svg) ![npm](https://img.shields.io/npm/dm/react-azure-maps.svg)](https://www.npmjs.com/package/react-azure-maps) [![license](https://img.shields.io/npm/l/react-azure-maps.svg)](https://github.com/WiredSolutions/react-azure-maps/blob/master/LICENSE) | ||
This project is community-driven initiative originally created by amazing [@psrednicki](https://github.com/psrednicki), [@msasinowski](https://github.com/msasinowski) and [@tbajda](https://github.com/tbajda) and is now maintained by the Azure Maps team. | ||
[![npm](https://img.shields.io/npm/v/react-azure-maps.svg) ![npm](https://img.shields.io/npm/dm/react-azure-maps.svg)](https://www.npmjs.com/package/react-azure-maps) [![license](https://img.shields.io/npm/l/react-azure-maps.svg)](https://github.com/Azure/react-azure-maps/blob/master/LICENSE) | ||
`React Azure Maps` is a react wrapper for [Azure Maps](https://azure.microsoft.com/pl-pl/services/azure-maps/). The whole library is written in typescript and uses React 16.8+ | ||
@@ -25,3 +27,3 @@ | ||
Generated documentation from typedoc is available [Documentation](https://wiredsolutions.github.io/react-azure-maps/) | ||
Generated documentation from typedoc is available [Documentation](https://azure.github.io/react-azure-maps/) | ||
@@ -38,3 +40,3 @@ ## Compatibility with azure-maps-controls | ||
`React Azure Maps` have a fully documented [Playground Package](https://github.com/WiredSolutions/react-azure-maps-playground) that implements a lot of features from [Azure Maps Code Samples](https://azuremapscodesamples.azurewebsites.net/). If you implement new usage of the map and want to be contributor just create a PR. | ||
`React Azure Maps` have a fully documented [Playground Package](https://github.com/Azure/react-azure-maps-playground) that implements a lot of features from [Azure Maps Code Samples](https://azuremapscodesamples.azurewebsites.net/). If you implement new usage of the map and want to be contributor just create a PR. | ||
@@ -92,5 +94,5 @@ ## Library Implementation Details | ||
## Local development with [Playground Package](https://github.com/WiredSolutions/react-azure-maps-playground) | ||
## Local development with [Playground Package](https://github.com/Azure/react-azure-maps-playground) | ||
If you want to do some local development using [Playground Package](https://github.com/WiredSolutions/react-azure-maps-playground) with local link to the package, you need to make the following steps: | ||
If you want to do some local development using [Playground Package](https://github.com/Azure/react-azure-maps-playground) with local link to the package, you need to make the following steps: | ||
@@ -111,4 +113,79 @@ ```bash | ||
## Creators ✨ | ||
<!-- CREATORS:START - Do not remove or modify this section --> | ||
<!-- prettier-ignore-start --> | ||
<!-- markdownlint-disable --> | ||
<table> | ||
<tr> | ||
<td style="text-align: center; vertical-align: middle;"> | ||
<a href="https://github.com/psrednicki" | ||
><img | ||
src="https://avatars2.githubusercontent.com/u/41010528?v=4" | ||
width="100px;" | ||
alt="" | ||
/><br /><sub><b>psrednicki</b></sub></a | ||
><br /> | ||
<div> | ||
<a | ||
href="https://pl.linkedin.com/in/patryk-%C5%9Brednicki-718204187/" | ||
title="LinkedIn" | ||
style="text-align:center" | ||
><img | ||
src="https://cdn-icons-png.flaticon.com/512/174/174857.png" | ||
width="24px;" | ||
alt="" | ||
/></a> | ||
</div> | ||
</td> | ||
<td style="text-align: center; vertical-align: middle;"> | ||
<a href="https://github.com/msasinowski" | ||
><img | ||
src="https://avatars2.githubusercontent.com/u/38035075?v=4" | ||
width="100px;" | ||
alt="" | ||
/><br /><sub><b>msasinowski</b></sub></a | ||
> | ||
<div> | ||
<a | ||
href="https://www.linkedin.com/in/maciej-sasinowski-92076815a/" | ||
title="LinkedIn" | ||
style="text-align:center" | ||
><img | ||
src="https://cdn-icons-png.flaticon.com/512/174/174857.png" | ||
width="24px;" | ||
alt="" | ||
/></a> | ||
</div> | ||
</td> | ||
<td style="text-align: center; vertical-align: middle;"> | ||
<a href="https://github.com/tbajda" | ||
><img | ||
src="https://avatars2.githubusercontent.com/u/27700326?v=4" | ||
width="100px;" | ||
alt="" | ||
/><br /><sub><b>tbajda</b></sub></a | ||
> | ||
<div> | ||
<a | ||
href="https://www.linkedin.com/in/tomasz-bajda-ab4468165/" | ||
title="LinkedIn" | ||
><img | ||
src="https://cdn-icons-png.flaticon.com/512/174/174857.png" | ||
width="24px;" | ||
alt="" | ||
/></a> | ||
</div> | ||
</td> | ||
</tr> | ||
</table> | ||
<!-- markdownlint-enable --> | ||
<!-- prettier-ignore-end --> | ||
<!-- CREATORS:END --> | ||
## License | ||
[MIT](https://choosealicense.com/licenses/mit/) |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1283399
188
1