Sha256: 4cc19bb1cb8d9355942f7283e7ff857480571b62a397bc6afaf8be74d1e14be2

Contents?: true

Size: 1.4 KB

Versions: 26

Compression:

Stored size: 1.4 KB

Contents

<!doctype html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<title>jQuery UI Spinner - Map</title>
	<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
	<script src="http://maps.google.com/maps/api/js?sensor=false"></script>
	<script src="../../jquery-1.8.3.js"></script>
	<script src="../../external/jquery.mousewheel.js"></script>
	<script src="../../ui/jquery.ui.core.js"></script>
	<script src="../../ui/jquery.ui.widget.js"></script>
	<script src="../../ui/jquery.ui.button.js"></script>
	<script src="../../ui/jquery.ui.spinner.js"></script>
	<link rel="stylesheet" href="../demos.css">
	<script>
	$(function() {
		function latlong() {
			return new google.maps.LatLng( $("#lat").val(), $("#lng").val() );
		}
		function position() {
			map.setCenter( latlong() );
		}
		$( "#lat, #lng" ).spinner({
			step: .001,
			change: position,
			stop: position
		});

		var map = new google.maps.Map( $("#map")[0], {
			zoom: 8,
			center: latlong(),
			mapTypeId: google.maps.MapTypeId.ROADMAP
		});
	});
	</script>
	<style>
	#map {
		width:500px;
		height:500px;
	}
	</style>
</head>
<body>

<label for="lat">Latitude</label>
<input id="lat" name="lat" value="44.797">
<br>
<label for="lng">Longitude</label>
<input id="lng" name="lng" value="-93.278">

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

<div class="demo-description">
<p>Google Maps integration, using spinners to change latidude and longitude.</p>
</div>
</body>
</html>

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
RubyApp-0.7.16 lib/ruby_app/resources/elements/mobile/document/jquery-ui-1.9.2.custom/development-bundle/demos/spinner/latlong.html
RubyApp-0.7.15 lib/ruby_app/resources/elements/mobile/document/jquery-ui-1.9.2.custom/development-bundle/demos/spinner/latlong.html
RubyApp-0.7.14 lib/ruby_app/resources/elements/mobile/document/jquery-ui-1.9.2.custom/development-bundle/demos/spinner/latlong.html
RubyApp-0.7.13 lib/ruby_app/resources/elements/mobile/document/jquery-ui-1.9.2.custom/development-bundle/demos/spinner/latlong.html
RubyApp-0.7.12 lib/ruby_app/resources/elements/mobile/document/jquery-ui-1.9.2.custom/development-bundle/demos/spinner/latlong.html
RubyApp-0.7.11 lib/ruby_app/resources/elements/mobile/document/jquery-ui-1.9.2.custom/development-bundle/demos/spinner/latlong.html
RubyApp-0.7.10 lib/ruby_app/resources/elements/mobile/document/jquery-ui-1.9.2.custom/development-bundle/demos/spinner/latlong.html
RubyApp-0.7.9 lib/ruby_app/resources/elements/mobile/document/jquery-ui-1.9.2.custom/development-bundle/demos/spinner/latlong.html
RubyApp-0.7.5 lib/ruby_app/resources/elements/mobile/document/jquery-ui-1.9.2.custom/development-bundle/demos/spinner/latlong.html
RubyApp-0.7.4 lib/ruby_app/resources/elements/mobile/document/jquery-ui-1.9.2.custom/development-bundle/demos/spinner/latlong.html
RubyApp-0.7.3 lib/ruby_app/resources/elements/mobile/document/jquery-ui-1.9.2.custom/development-bundle/demos/spinner/latlong.html
RubyApp-0.7.2 lib/ruby_app/resources/elements/mobile/document/jquery-ui-1.9.2.custom/development-bundle/demos/spinner/latlong.html
RubyApp-0.7.1 lib/ruby_app/resources/elements/mobile/document/jquery-ui-1.9.2.custom/development-bundle/demos/spinner/latlong.html
RubyApp-0.7.0 lib/ruby_app/resources/elements/mobile/document/jquery-ui-1.9.2.custom/development-bundle/demos/spinner/latlong.html
RubyApp-0.6.71 lib/ruby_app/resources/elements/mobile/document/jquery-ui-1.9.2.custom/development-bundle/demos/spinner/latlong.html
RubyApp-0.6.70 lib/ruby_app/resources/elements/mobile/document/jquery-ui-1.9.2.custom/development-bundle/demos/spinner/latlong.html
RubyApp-0.6.69 lib/ruby_app/resources/elements/mobile/document/jquery-ui-1.9.2.custom/development-bundle/demos/spinner/latlong.html
RubyApp-0.6.68 lib/ruby_app/resources/elements/mobile/document/jquery-ui-1.9.2.custom/development-bundle/demos/spinner/latlong.html
RubyApp-0.6.67 lib/ruby_app/resources/elements/mobile/document/jquery-ui-1.9.2.custom/development-bundle/demos/spinner/latlong.html
RubyApp-0.6.66 lib/ruby_app/resources/elements/mobile/document/jquery-ui-1.9.2.custom/development-bundle/demos/spinner/latlong.html