Skip to content

Commit 573515c

Browse files
author
Savina Shen (Manpower Services Taiwan Co Ltd)
committed
add image layer example
1 parent f345fcf commit 573515c

File tree

16 files changed

+111
-41
lines changed

16 files changed

+111
-41
lines changed

public/logo2.png

1.53 KB
Loading

src/stories/BasicUsage/MapStyles/MapStyles.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ const Your_Component = () => {
2626
};
2727
`}/>
2828

29-
The props shown in the example above are all set to `true` by default.
29+
The props shown in the example above are all set to `true` by default.<br/>
3030
For more available properties, see the documentation for [StyleOptions](https://learn.microsoft.com/en-us/javascript/api/azure-maps-control/atlas.styleoptions?view=azure-maps-typescript-latest).

src/stories/BasicUsage/MapStyles/MapStyles.stories.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ const meta: Meta<typeof MapStyles> = {
55
title: 'Basic Usage/Map Styles',
66
component: MapStyles,
77
parameters: {
8-
layout: 'centered',
98
storySource: {
109
source: `
1110
import { AzureMap, AzureMapsProvider } from 'react-azure-maps';

src/stories/DataVisualization/BubbleLayer/BubbleLayer.stories.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ const meta: Meta<typeof BubbleLayer> = {
55
title: 'Data Visualization/Bubble Layer',
66
component: BubbleLayer,
77
parameters: {
8-
layout: 'centered',
98
storySource: {
109
source: `import { AzureMap, AzureMapsProvider, AzureMapDataSourceProvider, AzureMapLayerProvider } from 'react-azure-maps';
1110
import atlas, { BubbleLayerOptions } from 'azure-maps-control';

src/stories/DataVisualization/HeatMapLayer/HeatMapLayer.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ import HeatMapLayer from './HeatMapLayer';
77
# Heat Map Layer
88

99
A heat map layer can be used to visualize the density of point data on the map.<br/>
10-
Following code shows how to add a simple heat map layer:<br/>
10+
Following code shows how to add a simple heat map layer. A thorough tutorial can be found [here](https://learn.microsoft.com/en-us/azure/azure-maps/map-add-heat-map-layer)<br/>
11+
For more available properties, see the documentation [HeatMapLayerOptions](https://learn.microsoft.com/en-us/javascript/api/azure-maps-control/atlas.heatmaplayeroptions?view=azure-maps-typescript-latest)
1112

1213
<HeatMapLayer radius={10}/>
1314

@@ -94,5 +95,4 @@ In our example, we set the weight based on "mag" property of the earthquake data
9495
/>
9596
`}/>
9697

97-
For more available properties, see the documentation [HeatMapLayerOptions](https://learn.microsoft.com/en-us/javascript/api/azure-maps-control/atlas.heatmaplayeroptions?view=azure-maps-typescript-latest)
9898

src/stories/DataVisualization/HeatMapLayer/HeatMapLayer.stories.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ const meta: Meta<typeof HeatMapLayer> = {
55
title: 'Data Visualization/Heat Map Layer',
66
component: HeatMapLayer,
77
parameters: {
8-
layout: 'centered',
98
controls: { exclude: ['color'] },
109
},
1110
args: {

src/stories/DataVisualization/LineLayer/LineLayer.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import LineLayer from './LineLayer';
88

99
A line layer can be used to render LineString and MultiLineString features as paths or routes on the map.<br/>
1010
It can also be used to render the outline of Polygon and MultiPolygon features.<br/><br/>
11-
Following code shows how to add a simple line layer:<br/>
11+
Following code shows how to add a simple line layer. A thorough tutorial can be found [here](https://learn.microsoft.com/en-us/azure/azure-maps/map-add-line-layer)<br/>
1212
For more available properties, see the documentation [LineLayerOptions](https://learn.microsoft.com/en-us/javascript/api/azure-maps-control/atlas.linelayeroptions?view=azure-maps-typescript-latest)
1313

1414
<LineLayer/>

src/stories/DataVisualization/LineLayer/LineLayer.stories.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ const meta: Meta<typeof LineLayer> = {
55
title: 'Data Visualization/Line Layer',
66
component: LineLayer,
77
parameters: {
8-
layout: 'centered',
98
storySource: {
109
source: `
1110
import { AzureMap, AzureMapsProvider, AzureMapDataSourceProvider, AzureMapLayerProvider } from 'react-azure-maps';

src/stories/DataVisualization/PolygonLayer/PolygonLayer.stories.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ const meta: Meta<typeof PolygonLayer> = {
55
title: 'Data Visualization/Polygon Layer',
66
component: PolygonLayer,
77
parameters: {
8-
layout: 'centered',
98
storySource: {
109
source: `
1110
import { AzureMap, AzureMapsProvider, AzureMapDataSourceProvider, AzureMapLayerProvider } from 'react-azure-maps';

src/stories/DataVisualization/SymbolLayer/SymbolLayer.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Use a symbol layer to render large collections of points on the map. Compared to
1414

1515
You can customize the style of both icons and texts of a symbol layer by providing the `iconOptions` and `textOptions` properties.
1616

17-
The following code shows how to add a simple symbol layer:
17+
The following code shows how to add a simple symbol layer. A thorough tutorial can be found [here](https://learn.microsoft.com/en-us/azure/azure-maps/map-add-pin)
1818
For more available properties, see the documentation [SymbolLayerOptions](https://learn.microsoft.com/en-us/javascript/api/azure-maps-control/atlas.symbollayeroptions?view=azure-maps-typescript-latest)
1919
<Source code={`
2020
<AzureMapLayerProvider

0 commit comments

Comments
 (0)