Skip to content

Commit 9662f2b

Browse files
committed
Optimizations
1 parent 704006f commit 9662f2b

File tree

6 files changed

+330
-294
lines changed

6 files changed

+330
-294
lines changed

dist/azure-maps-geolocation-control.js

Lines changed: 151 additions & 135 deletions
Large diffs are not rendered by default.

dist/azure-maps-geolocation-control.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/Geolocation control options.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@
147147
<fieldset class="sidePanel">
148148
<legend><h1 style="font-size:16px">Geolocation control options</h1></legend>
149149
This sample shows all the options of the geolocation control. <br /><br />
150+
This samples uses the open source <a href="https://github.com/Azure-Samples/azure-maps-geolocation-control" target="_blank">Azure Maps Geolocation Control module</a>.
150151

151152
<div class="tab">
152153
<button class="tablinks active" onclick="openTab(this, 'Options')">Options</button>
@@ -188,7 +189,7 @@
188189
<tr title="The maximum zoom level the map can be zoomed out. If zoomed out more than this when location updates, the map will zoom into this level. If zoomed in more than this level, the map will maintain its current zoom level.">
189190
<td>Max zoom</td>
190191
<td>
191-
<form oninput="maxz.value=maximumAge.value">
192+
<form oninput="maxz.value=maxZoom.value">
192193
<input type="range" id="maxZoom" value="15" min="0" max="24" step="1" onchange="update()" />
193194
<output name="maxz" for="maxZoom">0</output>
194195
</form>

examples/Geolocation control.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
<fieldset style="width:calc(100% - 30px);min-width:290px;margin-top:10px;">
5757
<legend><h1 style="font-size:16px">Geolocation control</h1></legend>
5858
This sample shows how to create a custom geolocation control that displays the users location on the map.
59+
This samples uses the open source <a href="https://github.com/Azure-Samples/azure-maps-geolocation-control" target="_blank">Azure Maps Geolocation Control module</a>.
5960
</fieldset>
6061
</body>
6162
</html>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "azure-maps-geolocation-control",
33
"version": "0.0.1",
4-
"description": "A module for the Azure Maps Web SDK that provides tools for animating data on the map.",
4+
"description": "An Azure Maps Web SDK module that provides a control that uses the browser's geolocation API to locate the user on the map.",
55
"keywords": [
66
"azure",
77
"maps",

0 commit comments

Comments
 (0)