Merge pull request #3677 from tschaub/example-metadata

Add metadata to examples,
This commit is contained in:
Tim Schaub
2015-05-09 08:34:04 -06:00
2 changed files with 8 additions and 15 deletions
+4 -8
View File
@@ -1,5 +1,8 @@
--- ---
template: "example-verbatim.html" template: example-verbatim.html
title: Geolocation Tracking with Orientation
shortdesc: Example of a geolocated and oriented map.
tags: "fullscreen, geolocation, orientation, mobile"
--- ---
<!doctype html> <!doctype html>
<html lang="en"> <html lang="en">
@@ -41,15 +44,8 @@ template: "example-verbatim.html"
<button id="geolocate">Geolocate Me!</button> <button id="geolocate">Geolocate Me!</button>
<button id="simulate">Simulate</button> <button id="simulate">Simulate</button>
</div> </div>
<script src="http://code.jquery.com/jquery-1.9.1.min.js" type="text/javascript"></script> <script src="http://code.jquery.com/jquery-1.9.1.min.js" type="text/javascript"></script>
<script src="./resources/common.js" type="text/javascript"></script> <script src="./resources/common.js" type="text/javascript"></script>
<script src="loader.js?id=geolocation-orientation" type="text/javascript"></script> <script src="loader.js?id=geolocation-orientation" type="text/javascript"></script>
<div style="display: none;">
<div id="title">Geolocation tracking with orientation example</div>
<div id="shortdesc">Example of a geolocated and oriented map.</div>
<div id="tags">fullscreen, geolocation, orientation, mobile</div>
</div>
</body> </body>
</html> </html>
+4 -7
View File
@@ -1,5 +1,8 @@
--- ---
template: "example-verbatim.html" template: example-verbatim.html
title: Full-Screen Mobile
shortdesc: Example of a full screen map.
tags: "fullscreen, geolocation, mobile"
--- ---
<!doctype html> <!doctype html>
<html lang="en"> <html lang="en">
@@ -23,11 +26,5 @@ template: "example-verbatim.html"
<script src="./resources/common.js" type="text/javascript"></script> <script src="./resources/common.js" type="text/javascript"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/fastclick/1.0.6/fastclick.min.js" type="text/javascript"></script> <script src="http://cdnjs.cloudflare.com/ajax/libs/fastclick/1.0.6/fastclick.min.js" type="text/javascript"></script>
<script src="loader.js?id=mobile-full-screen" type="text/javascript"></script> <script src="loader.js?id=mobile-full-screen" type="text/javascript"></script>
<div style="display: none;">
<div id="title">Mobile full screen example</div>
<div id="shortdesc">Example of a full screen map.</div>
<div id="tags">fullscreen, bing, geolocation, mobile</div>
</div>
</body> </body>
</html> </html>