New SVG2 renderer for increased performance and smaller library size. Not enabled by default. To use, include 'SVG2' in the renderers array of your OpenLayers.Layer.Vector instance. r=crschmidt (closes #2802)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11616 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Vector Features Performance Test</title>
|
||||
<script type="text/javascript" src="https://getfirebug.com/firebug-lite.js#startOpened=true"></script>
|
||||
<link rel="stylesheet" href="../../theme/default/style.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../../examples/style.css" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<h1 id="title">Vector Rendering Performance</h1>
|
||||
<div id="map" class="smallmap"></div>
|
||||
<p>
|
||||
This is a benchmark for vector rendering performance. Test results are
|
||||
written to the debug console.
|
||||
Select a renderer here:
|
||||
<br/>
|
||||
<select id="renderers"></select>
|
||||
</p><p>
|
||||
The benchmark shows the time needed to render the features, and how long a
|
||||
move (drag or zoom) takes. Drag and zoom around to produce move results.
|
||||
</p>
|
||||
<script src="../../lib/OpenLayers.js"></script>
|
||||
<script src="vector-renderers.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user