blob: 67b952f8e73bbd202815e9396a1ef2c1381a5b4f [file] [log] [blame]
<!DOCTYPE html>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<html>
<head>
<!--[if IE]><script>window.location = "error/unsupported.html"</script><![endif]-->
<script type="text/javascript" src="scripts/json2.js"></script>
<link rel="stylesheet" href="style/styles.css" type="text/css" />
<title>Geo</title>
<body>
<section id="wrapper">
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true"></script>
<article>
<h1>Geolocation</h1>
<p>This widget demonstrates how to use geolocation within a Widget, storing comments on the user's current location.
The widget will remember (using Preferences) each marker.
</p>
<input id="comment"></input><button onclick="post()">post!</button>
<p><span id="status">Type a comment in the box and press the "post!" button</span></p>
</article>
</section>
<script src="scripts/main.js"></script>
</body>
</html>