Skip to content

Commit bf0e9f0

Browse files
committed
Spinner: Fixed map demo.
1 parent 6807d58 commit bf0e9f0

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

demos/spinner/latlong.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@
2121
map.setCenter( latlong() );
2222
}
2323
$( "#lat, #lng" ).spinner({
24-
precision: 6,
25-
change: position
24+
step: .001,
25+
change: position,
26+
stop: position
2627
});
2728

2829
var map = new google.maps.Map( $("#map")[0], {
@@ -44,10 +45,10 @@
4445
<div class="demo">
4546

4647
<label for="lat">Latitude</label>
47-
<input id="lat" name="lat" value="44.797916">
48+
<input id="lat" name="lat" value="44.797">
4849
<br>
4950
<label for="lng">Longitude</label>
50-
<input id="lng" name="lng" value="-93.278046">
51+
<input id="lng" name="lng" value="-93.278">
5152

5253
<div id="map"></div>
5354

0 commit comments

Comments
 (0)