mirror of
https://github.com/NASAWorldWind/WebWorldWind.git
synced 2026-01-25 15:23:04 +00:00
* WKT, first commit * V 0.1 of WKT implementation. * Initial support for Point. * Initial support for multi shapes. * Version 0.2 supporting MultiPolygon, MultiLineString and such. * Version 0.3 of WKT supporting different text formats as well as the 3D component * Initial support for inner and outer boundaries in single polygons. * Version 0.3.1 WKT - Explanation of current implementation - WKTTokens returns Numbers as a Number type - Tests for Point * WKT Version 0.3.2 - Add tests for MultiPoint. * Version 0.4 of WKT support - Updated API to look like GeoJSON and Shapefile - Cleansed the Parser - Added documentation * Version 0.4.1 of WKT - Updated shape configuration callback. - Updated documentation. * Version 0.4.2 - Updated tests for Point and MultiPoint - Minor bug fixes in parsing. * Version 0.4.3 - Update Example - Update shape production inside of the WKT objects. * Version 0.4.4 - Update display of Point and MultiPoint as placemarks. * Version 0.4.5 - Added tests for Polygon parsing. * Version 0.4.6 - Added tests for Line String parsing. * Version 0.4.7 - Added tests for Triangle parsing. - Updated documentation for the format. * Version 0.4.8 - Added tests for MultiLineString parsing. * Version 0.4.8 - Added tests for MultiPolygon parsing. * Version 0.5 - Move token handling to the objects. - Retain only tokens parsing in the WKTTokens. * Version 0.5.1 - Working EMPTY - Full support for GeometryCollection * Version 0.5.2 - Update documentation * Version 0.6 - Support for inner and outer boundaries in the case of MultiPolygon. - Load whole WKT on load of framework. - Add Tests for Polygon with inner boundaries. * Version 0.6.1 - Updated documentation * Version 0.6.2 - Updated documentation * Version 0.6.3 - Fix documentation not generated in jsdoc. * Version 0.6.4 - Fix documentation not generated in jsdoc for exported object instead of class. * Version 0.7 - Update the placemark attributes to correctly display the Point and MultiPoint. * Version 0.7.1 - Update documentation * Version 0.7.2 - Fix sonar issues. * Fix tests broken due to different internal handling of the boundaries. * Change the name of WKT from uppercase to camel case. * Change the name of WKT from uppercase to camel case. Simplify the Example to show one set of geometries and the usage of the callbacks * Fix the issue #208 * Provide the default implementation and documentation for Shape configuration callback and parser completion callback. * Add the name to the second callback function. * Update the Well Known Text interface to comply to the Shapefile one. * The properties should be added to this instance and not this ancestor. * Update indentation * Expose all the WktElements.
52 lines
2.2 KiB
HTML
52 lines
2.2 KiB
HTML
<!DOCTYPE html>
|
|
<!--@version $Id: Wkt.html 3320 2017-02-16 17:32:00Z jveselka $-->
|
|
<html lang="en">
|
|
<head>
|
|
<!--NOTE: Most Web World Wind examples use jquery, Bootstrap and requirejs but those technologies are NOT-->
|
|
<!--required by Web World Wind. See SimplestExample.html for an example of using Web World Wind without them.-->
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
|
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js" type="text/javascript"></script>
|
|
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
|
|
<script data-main="Wkt" src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.1.17/require.min.js"></script>
|
|
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<div class="jumbotron hidden-xs">
|
|
<h1 style="text-align:center">World Wind WKT</h1>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-sm-3">
|
|
<h4>Projection</h4>
|
|
<div class="dropdown" id="projectionDropdown">
|
|
</div>
|
|
<br>
|
|
<h4>Layers</h4>
|
|
<div class="list-group" id="layerList">
|
|
</div>
|
|
<br>
|
|
<h4>Destination</h4>
|
|
<div class="input-group" id="searchBox">
|
|
<input type="text" class="form-control" placeholder="GoTo" id="searchText"/>
|
|
<span class="input-group-btn">
|
|
<button id="searchButton" class="btn btn-primary" type="button">
|
|
<span class="glyphicon glyphicon-search"></span>
|
|
</button>
|
|
</span>
|
|
</div>
|
|
<h4>WKT</h4>
|
|
<div>
|
|
<input type="text" id="wkt" />
|
|
<input type="button" id="showWkt" value="Show" />
|
|
</div>
|
|
</div>
|
|
<div class="col-sm-9" id="globe">
|
|
<canvas id="canvasOne" width="1000" height="1000" style="width: 100%; height: auto">
|
|
Your browser does not support HTML5 Canvas.
|
|
</canvas>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |