Skip to content

Commit

Permalink
Merge pull request #120 from MicroPasts/ol3Refactor
Browse files Browse the repository at this point in the history
Change new ol.View2D to new ol.View
  • Loading branch information
portableant committed Jun 30, 2014
2 parents e23c842 + 86013d0 commit 568f441
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template.html
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ <h3 class="lead">BM Bronze Age Index Drawer A9 transcription tutorial</h3>
],
renderer: 'canvas',
target: 'img_' + task.id,
view: new ol.View2D({
view: new ol.View({
projection: task.pixelProjection,
center: ol.extent.getCenter(task.pixelProjection.getExtent()),
zoom: 1.0
Expand Down

0 comments on commit 568f441

Please sign in to comment.