openlayers/ol3 — pull request #646 by elemoine (2013-04-23 08:48:46+00:00)
Title: Make it possible to set map target after map creation

E.g.

```
var map = new ol.Map({
layers: [
new ol.layer.TileLayer({
source: new ol.source.OSM()
})
],
view: new ol.View2D({
center: [0, 0],
zoom: 0
})
});

map.setTarget(document.getElementById('map'));
```

The PR includes a "teleport map" example demonstrating the feature.

Refs #536.