Skip to content

Commit bd265cd

Browse files
authored
Merge pull request #111084 from stevemunk/spatial-io-add-ogc-map-layer
Removed CodePen from article: Add a map layer from the Open Geospatial Consortium (OGC)
2 parents 6eaa182 + d631072 commit bd265cd

File tree

5 files changed

+28
-21
lines changed

5 files changed

+28
-21
lines changed
526 KB
Loading
518 KB
Loading
949 KB
Loading

articles/azure-maps/set-drawing-options.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ The previous examples demonstrated how to customize drawing options while instan
9393

9494
The [Drawing manager options] can be used to test out customization of all options for the drawing manager using the `setOptions` function.
9595

96-
:::image type="content" source="./media/set-drawing-options/drawing-manager-options.png"alt-text="A screenshot of a map showing Seattle with an area to the left of the map showing the drawing manager options that can be set, updating immediately in the map.":::
96+
:::image type="content" source="./media/set-drawing-options/drawing-manager-options.png"alt-text="A screenshot of a map of Seattle with a panel on the left showing the drawing manager options that can be selected to see the effects they make to the map.":::
9797

9898
<!------------------------------
9999
<iframe height="685" title="Customize drawing manager" src="//codepen.io/azuremaps/embed/LYPyrxR/?height=600&theme-id=0&default-tab=result" frameborder="no" allowtransparency="true" allowfullscreen="true">See the Pen <a href='https://codepen.io/azuremaps/pen/LYPyrxR/'>Get shape data</a> by Azure Maps

articles/azure-maps/spatial-io-add-ogc-map-layer.md

Lines changed: 27 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
---
2-
title: Add an Open Geospatial Consortium (OGC) map layer | Microsoft Azure Maps
2+
title: Add an Open Geospatial Consortium (OGC) map layer
3+
titleSuffix: Microsoft Azure Maps
34
description: Learn how to overlay an OGC map layer on the map, and how to use the different options in the OgcMapLayer class.
4-
author: eriklindeman
5-
ms.author: eriklind
6-
ms.date: 03/02/2020
7-
ms.topic: conceptual
5+
author: dubiety
6+
ms.author: yuchungchen
7+
ms.date: 06/16/2023
8+
ms.topic: how-to
89
ms.service: azure-maps
910
---
1011

@@ -18,7 +19,7 @@ The following sections outline the web map service features that are supported b
1819

1920
- Supported versions: `1.0.0`, `1.1.0`, `1.1.1`, and `1.3.0`
2021
- The service must support the `EPSG:3857` projection system, or handle reprojections.
21-
- GetFeatureInfo requires the service to support `EPSG:4326` or handle reprojections.
22+
- GetFeatureInfo requires the service to support `EPSG:4326` or handle reprojections.
2223
- Supported operations:
2324

2425
| Operation | Description |
@@ -44,30 +45,32 @@ The following sections outline the web map service features that are supported b
4445

4546
The `url` can be the base URL for the service or a full URL with the query for getting the capabilities of the service. Depending on the details provided, the WFS client may try several standard URL formats to determine how to initially access the service.
4647

47-
The following code shows how to overlay an OGC map layer on the map.
48+
The [OGC map layer] sample shows how to overlay an OGC map layer on the map.
4849

49-
<br/>
50-
51-
<iframe height='700' scrolling='no' title='OGC Map layer example' src='//codepen.io/azuremaps/embed/xxGLZWB/?height=700&theme-id=0&default-tab=js,result&embed-version=2&editable=true' frameborder='no' allowtransparency='true' allowfullscreen='true'>See the Pen <a href='https://codepen.io/azuremaps/pen/xxGLZWB/'>OGC Map layer example</a> by Azure Maps (<a href='https://codepen.io/azuremaps'>@azuremaps</a>) on <a href='https://codepen.io'>CodePen</a>.
52-
</iframe>
50+
:::image type="content" source="./media/spatial-io-add-ogc-map-layer/ogc-map-layer.png"alt-text="A screenshot that shows the snap grid on map.":::
5351

52+
<!----------------------------------------------
53+
<iframe height='700' scrolling='no' title='OGC Map layer example' src='//codepen.io/azuremaps/embed/xxGLZWB/?height=700&theme-id=0&default-tab=js,result&embed-version=2&editable=true' frameborder='no' allowtransparency='true' allowfullscreen='true'>See the Pen <a href='https://codepen.io/azuremaps/pen/xxGLZWB/'>OGC Map layer example</a> by Azure Maps (<a href='https://codepen.io/azuremaps'>@azuremaps</a>) on <a href='https://codepen.io'>CodePen</a>.</iframe>
54+
---------------------------------------------->
5455
## OGC map layer options
5556

56-
The below sample demonstrates the different OGC map layer options. You may click on the code pen button at the top-right corner to edit the code pen.
57+
The [OGC map layer options] sample demonstrates the different OGC map layer options.
5758

58-
<br/>
59+
:::image type="content" source="./media/spatial-io-add-ogc-map-layer/ogc-map-layer-options.png"alt-text="A screenshot that shows a map along with the OGC map layer options.":::
5960

60-
<iframe height='700' scrolling='no' title='OGC map layer options' src='//codepen.io/azuremaps/embed/abOyEVQ/?height=700&theme-id=0&default-tab=result&embed-version=2&editable=true' frameborder='no' allowtransparency='true' allowfullscreen='true'>See the Pen <a href='https://codepen.io/azuremaps/pen/abOyEVQ/'>OGC map layer options</a> by Azure Maps (<a href='https://codepen.io/azuremaps'>@azuremaps</a>) on <a href='https://codepen.io'>CodePen</a>.
61-
</iframe>
61+
<!----------------------------------------------
62+
<iframe height='700' scrolling='no' title='OGC map layer options' src='//codepen.io/azuremaps/embed/abOyEVQ/?height=700&theme-id=0&default-tab=result&embed-version=2&editable=true' frameborder='no' allowtransparency='true' allowfullscreen='true'>See the Pen <a href='https://codepen.io/azuremaps/pen/abOyEVQ/'>OGC map layer options</a> by Azure Maps (<a href='https://codepen.io/azuremaps'>@azuremaps</a>) on <a href='https://codepen.io'>CodePen</a>.</iframe>
63+
---------------------------------------------->
6264

6365
## OGC Web Map Service explorer
6466

65-
The following tool overlays imagery from the Web Map Services (WMS) and Web Map Tile Services (WMTS) as layers. You may select which layers in the service are rendered on the map. You may also view the associated legends for these layers.
67+
The [OGC Web Map Service explorer] sample overlays imagery from the Web Map Services (WMS) and Web Map Tile Services (WMTS) as layers. You may select which layers in the service are rendered on the map. You may also view the associated legends for these layers.
6668

67-
<br/>
69+
:::image type="content" source="./media/spatial-io-add-ogc-map-layer/ogc-web-map-service-explorer.png"alt-text="A screenshot that shows a map with a WMTS layer that comes from the world geology survey. On the left of the map is a drop-down list showing the OGC services which can be selected.":::
6870

69-
<iframe height='750' scrolling='no' title='OGC Web Map Service explorer' src='//codepen.io/azuremaps/embed/YzXxYdX/?height=750&theme-id=0&default-tab=result&embed-version=2&editable=true' frameborder='no' allowtransparency='true' allowfullscreen='true'>See the Pen <a href='https://codepen.io/azuremaps/pen/YzXxYdX/'>OGC Web Map Service explorer</a> by Azure Maps (<a href='https://codepen.io/azuremaps'>@azuremaps</a>) on <a href='https://codepen.io'>CodePen</a>.
70-
</iframe>
71+
<!----------------------------------------------
72+
<iframe height='750' scrolling='no' title='OGC Web Map Service explorer' src='//codepen.io/azuremaps/embed/YzXxYdX/?height=750&theme-id=0&default-tab=result&embed-version=2&editable=true' frameborder='no' allowtransparency='true' allowfullscreen='true'>See the Pen <a href='https://codepen.io/azuremaps/pen/YzXxYdX/'>OGC Web Map Service explorer</a> by Azure Maps (<a href='https://codepen.io/azuremaps'>@azuremaps</a>) on <a href='https://codepen.io'>CodePen</a>.</iframe>
73+
---------------------------------------------->
7174

7275
You may also specify the map settings to use a proxy service. The proxy service lets you load resources that are hosted on domains that don't have CORS enabled.
7376

@@ -90,4 +93,8 @@ See the following articles, which contain code samples you could add to your map
9093
> [Leverage core operations](spatial-io-core-operations.md)
9194
9295
> [!div class="nextstepaction"]
93-
> [Supported data format details](spatial-io-supported-data-format-details.md)
96+
> [Supported data format details](spatial-io-supported-data-format-details.md)
97+
98+
[OGC map layer]: https://samples.azuremaps.com/spatial-io-module/ogc-map-layer-example
99+
[OGC map layer options]: https://samples.azuremaps.com/spatial-io-module/ogc-map-layer-options
100+
[OGC Web Map Service explorer]: https://samples.azuremaps.com/spatial-io-module/ogc-web-map-service-explorer

0 commit comments

Comments
 (0)