Skip to content

Commit d0b7437

Browse files
authored
Merge pull request #195 from slashotw/main
Update Samples: Fill Address Form , Simple Store Locator , Autocomplete
2 parents d15869e + 54e09e9 commit d0b7437

7 files changed

Lines changed: 11333 additions & 11161 deletions

File tree

‎Samples/REST Services/Autocomplete/Autocomplete.html‎

Lines changed: 256 additions & 247 deletions
Large diffs are not rendered by default.

Samples/REST Services/Fill Address Form with Autosuggest/Fill Address Form with Autosuggest.html renamed to Samples/REST Services/Fill Address Form with Autocomplete/Fill Address Form with Autocomplete.html

Lines changed: 169 additions & 163 deletions
Large diffs are not rendered by default.

Samples/REST Services/Fill Address Form with Autosuggest/screenshot.jpg renamed to Samples/REST Services/Fill Address Form with Autocomplete/screenshot.jpg

File renamed without changes.
Lines changed: 52 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,53 @@
1-
<!DOCTYPE html>
2-
<html lang="en">
3-
<head>
4-
<title>Simple Store Locator - Azure Maps Web SDK Samples</title>
5-
6-
<meta charset="utf-8" />
7-
<link rel="shortcut icon" href="/favicon.ico"/>
8-
9-
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
10-
<meta name="description" content="This tutorial shows how to create a simple store locator." />
11-
<meta name="keywords" content="Microsoft maps, map, gis, API, SDK, tutorials, store locator, locator, coffee, contoso, clustering" />
12-
<meta name="author" content="Microsoft Azure Maps" /><meta name="version" content="1.0" />
13-
<meta name="screenshot" content="screenshot.jpg" />
14-
15-
<!-- Add references to the Azure Maps Map control JavaScript and CSS files. -->
16-
<link href="https://atlas.microsoft.com/sdk/javascript/mapcontrol/3/atlas.min.css" rel="stylesheet" />
17-
<script src="https://atlas.microsoft.com/sdk/javascript/mapcontrol/3/atlas.min.js"></script>
18-
19-
<!-- Add a reference to the Azure Maps Rest Helper JavaScript file. -->
20-
<script src="https://samples.azuremaps.com/lib/azure-maps/azure-maps-helper.min.js"></script>
21-
22-
<!-- Add references to the store locator JavaScript and CSS files. -->
23-
<link rel="stylesheet" href="/tutorials/simple-store-locator/index.css" type="text/css" />
24-
<script src="/tutorials/simple-store-locator/index.js"></script>
25-
</head>
26-
<body>
27-
<header>
28-
<img src="/tutorials/simple-store-locator/images/Logo.png" />
29-
<span>Contoso Coffee</span>
30-
</header>
31-
<main>
32-
<div class="searchPanel">
33-
<div>
34-
<input id="searchTbx" type="search" placeholder="Find a store" />
35-
<button id="searchBtn" title="Search"></button>
36-
</div>
37-
</div>
38-
39-
<div id="listPanel"></div>
40-
41-
<div id="myMap"></div>
42-
43-
<button id="myLocationBtn" title="My Location"></button>
44-
</main>
45-
</body>
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<title>Simple Store Locator</title>
5+
6+
<meta charset="utf-8" />
7+
<link rel="shortcut icon" href="/favicon.ico"/>
8+
9+
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
10+
<meta name="description" content="This tutorial shows how to create a simple store locator." />
11+
<meta name="keywords" content="Microsoft maps, map, gis, API, SDK, tutorials, store locator, locator, coffee, contoso, clustering, autocomplete, autosuggest" />
12+
<meta name="author" content="Microsoft Azure Maps" />
13+
<meta name="version" content="2.0" />
14+
<meta name="screenshot" content="screenshot.jpg" />
15+
16+
<!-- Add references to the Azure Maps Map control JavaScript and CSS files. -->
17+
<link href="https://atlas.microsoft.com/sdk/javascript/mapcontrol/3/atlas.min.css" rel="stylesheet" />
18+
<script src="https://atlas.microsoft.com/sdk/javascript/mapcontrol/3/atlas.min.js"></script>
19+
20+
<!-- Add reference to jQuery UI -->
21+
<link rel="stylesheet" href="https://code.jquery.com/ui/1.14.1/themes/smoothness/jquery-ui.css">
22+
<script src="https://code.jquery.com/jquery-3.7.1.js"></script>
23+
<script src="https://code.jquery.com/ui/1.14.1/jquery-ui.js"></script>
24+
25+
<!-- Add a reference to the Azure Maps Rest Helper JavaScript file. -->
26+
<script src="https://samples.azuremaps.com/lib/azure-maps/azure-maps-helper.min.js"></script>
27+
28+
<!-- Add local CSS and JS files -->
29+
<link rel="stylesheet" href="/tutorials/simple-store-locator/index.css" />
30+
</head>
31+
<body>
32+
<header>
33+
<img src="/tutorials/simple-store-locator/images/Logo.png" />
34+
<span>Contoso Coffee</span>
35+
</header>
36+
<main>
37+
<div class="searchPanel">
38+
<div>
39+
<input id="searchTbx" type="search" placeholder="Find a store" />
40+
<button id="searchBtn" title="Search"></button>
41+
</div>
42+
</div>
43+
44+
<div id="listPanel"></div>
45+
46+
<div id="myMap"></div>
47+
48+
<button id="myLocationBtn" title="My Location"></button>
49+
</main>
50+
51+
<script src="/tutorials/simple-store-locator/index.js"></script>
52+
</body>
4653
</html>

0 commit comments

Comments
 (0)