diff --git a/examples_src/canvas-tiles.html b/examples_src/canvas-tiles.html index 90eb1866ca..d4b051c9c0 100644 --- a/examples_src/canvas-tiles.html +++ b/examples_src/canvas-tiles.html @@ -1,52 +1,14 @@ - - -
- - - - - - - -Renders tiles with coordinates for debugging.
-The black grid tiles are generated on the client with an HTML5 canvas. Note that the tile coordinates are ol3 normalized tile coordinates (origin bottom left), not OSM tile coordinates (origin top left).
-See the canvas-tiles.js source to see how this is done.
-The black grid tiles are generated on the client with an HTML5 canvas. Note that the tile coordinates are ol3 normalized tile coordinates (origin bottom left), not + OSM tile coordinates (origin top left).
+tags: "layers, openstreetmap, canvas" +--- +This example demonstrates how a map's view can be
- adjusted so a geometry or coordinate is positioned at a specific
- pixel location. The map above has top, right, bottom, and left
- padding applied inside the viewport. The view's fitGeometry method
- is used to fit a geometry in the view with the same padding. The
- view's centerOn method is used to position a coordinate (Lausanne)
- at a specific pixel location (the center of the black box).
Use Alt+Shift+drag to rotate the map.
See the center.js source to see how this is done.
-fitGeometry method
+ is used to fit a geometry in the view with the same padding. The
+ view's centerOn method is used to position a coordinate (Lausanne)
+ at a specific pixel location (the center of the black box).
+ Use Alt+Shift+drag to rotate the map.
Example of using ol.Cluster.
See the cluster.js source to see how this is done.
-ol.source.Cluster."
+docs: >
+ This example shows how to do clustering on point features.
+tags: "cluster, vector"
+---
+Example of using ol3 and d3 together.
-The example loads TopoJSON geometries and uses d3 (d3.geo.path) to render these geometries to a canvas element that is then used as the image of an ol3 image layer.
See the d3.js source to see how this is done.
-The example loads TopoJSON geometries and uses d3 (d3.geo.path) to render these geometries to a canvas element that is then used as the image of an ol3 image layer.