Realization of control longitude and latitude display map and satellite _jquery based on jquery

Source: Internet
Author: User
Copy Code code as follows:

<link href= "Css/jquery.ui.base.css" rel= "stylesheet" type= "Text/css"/>
<link href= "Css/jquery.ui.theme.css" rel= "stylesheet" type= "Text/css"/>
<script src= "Http://" type= "Text/javascript" ></script>
<script src= "Js/jquery-1.9.1.js" type= "Text/javascript" ></script>
<script src= "Js/jquery.mousewheel.js" type= "Text/javascript" ></script>
<script src= "Js/jquery.ui.core.js" type= "Text/javascript" ></script>
<script src= "Js/jquery.ui.widget.js" type= "Text/javascript" ></script>
<script src= "Js/jquery.ui.button.js" type= "Text/javascript" ></script>
<script src= "Js/jquery.ui.spinner.js" type= "Text/javascript" ></script>
<link href= "Css/demos.css" rel= "stylesheet" type= "Text/css"/>
<script type= "Text/javascript" >
$ (function () {
function Latlong () {
return new Google.maps.LatLng ($ ("#lat"). Val (), $ ("#lng"). Val ());
function position () {
Map.setcenter (Latlong ());
$ ("#lat, #lng"). Spinner ({
Step:. 001,
var map = new Google.maps.Map ($ ("#map") [0], {
Center:latlong (),
<style type= "Text/css" >
#map {
<label for= "lat" > Latitude </label>
<input id= "lat" name= "lat" value= "44.797"/>
<label for= "LNG" > Longitude </label>
<input id= "LNG" name= "LNG" value= " -93.278"/>
<div id= "Map" ></div>
<div class= "Demo-description" >

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.