7ddd7652fe
there was no way to avoid rendering in some conditions, with this patch the points are not rendered when marker-width or opacity is 0. Thin lines are also not rendered, this avoid to spend extra time rendering them when there are really thin and avoid a safari rendering bug (think lines are rendered wider than they should)
44 lines
1.6 KiB
HTML
44 lines
1.6 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>QUnit Example</title>
|
|
<link rel="stylesheet" href="vendor/qunit.css">
|
|
</head>
|
|
<body>
|
|
<div id="qunit"></div>
|
|
<div id="qunit-fixture"></div>
|
|
|
|
<script src="../vendor/leaflet.js"></script>
|
|
<script src="../vendor/underscore.js"></script>
|
|
<script src="../vendor/carto.js"></script>
|
|
<script src="../lib/torque/cartocss_reference.js"></script>
|
|
<script src="../lib/torque/core.js"></script>
|
|
<script src="../lib/torque/profiler.js"></script>
|
|
<script src="../lib/torque/request.js"></script>
|
|
<script src="../lib/torque/mercator.js"></script>
|
|
<script src="../lib/torque/leaflet/leaflet_tileloader_mixin.js"></script>
|
|
<script src="../lib/torque/leaflet/canvas_layer.js"></script>
|
|
<script src="../lib/torque/renderer/point.js"></script>
|
|
<script src="../lib/torque/renderer/rectangle.js"></script>
|
|
<script src="../lib/torque/renderer/cartocss_render.js"></script>
|
|
<script src="../lib/torque/provider.json.js"></script>
|
|
<script src="../lib/torque/provider.windshaft.js"></script>
|
|
<script src="../lib/torque/provider.jsonarray.js"></script>
|
|
<script src="../lib/torque/common.js"></script>
|
|
<script src="../lib/torque/leaflet/torque.js"></script>
|
|
|
|
|
|
<script src="vendor/qunit.js"></script>
|
|
|
|
<script src="data/torque.array.json"></script>
|
|
<script src="core.js"></script>
|
|
<script src="provider.jsonarray.js"></script>
|
|
<script src="provider.windshaft.test.js"></script>
|
|
<script src="provider.json.js"></script>
|
|
<script src="request.js"></script>
|
|
<script src="torque.js"></script>
|
|
<script src="renderer/point.js"></script>
|
|
</body>
|
|
</html>
|