You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-maps/set-drawing-options.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -93,7 +93,7 @@ The previous examples demonstrated how to customize drawing options while instan
93
93
94
94
The [Drawing manager options] can be used to test out customization of all options for the drawing manager using the `setOptions` function.
95
95
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.":::
97
97
98
98
<!------------------------------
99
99
<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
Copy file name to clipboardExpand all lines: articles/azure-maps/spatial-io-add-ogc-map-layer.md
+27-20Lines changed: 27 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,11 @@
1
1
---
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
3
4
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
8
9
ms.service: azure-maps
9
10
---
10
11
@@ -18,7 +19,7 @@ The following sections outline the web map service features that are supported b
18
19
19
20
- Supported versions: `1.0.0`, `1.1.0`, `1.1.1`, and `1.3.0`
20
21
- 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.
22
23
- Supported operations:
23
24
24
25
| Operation | Description |
@@ -44,30 +45,32 @@ The following sections outline the web map service features that are supported b
44
45
45
46
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.
46
47
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.
48
49
49
-
<br/>
50
-
51
-
<iframeheight='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.":::
53
51
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
+
---------------------------------------------->
54
55
## OGC map layer options
55
56
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.
57
58
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.":::
59
60
60
-
<iframeheight='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
+
---------------------------------------------->
62
64
63
65
## OGC Web Map Service explorer
64
66
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.
66
68
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.":::
68
70
69
-
<iframeheight='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
+
---------------------------------------------->
71
74
72
75
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.
73
76
@@ -90,4 +93,8 @@ See the following articles, which contain code samples you could add to your map
0 commit comments