#632: fixing the image layer that broke with r2979 - layer now sets its tileSize and imageSize appropriately - this also addesses (dup) ticket 511

git-svn-id: http://svn.openlayers.org/trunk/openlayers@3020 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Tim Schaub
2007-04-05 22:35:54 +00:00
parent 1de25d5f04
commit cd6f2dd006
3 changed files with 55 additions and 21 deletions

View File

@@ -13,10 +13,11 @@
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
<!--
var map;
function init(){
var map = new OpenLayers.Map('map');
map = new OpenLayers.Map('map');
var options = {maxResolution: 'auto', numZoomLevels: 3};
var options = {numZoomLevels: 3};
var graphic = new OpenLayers.Layer.Image(
'City Lights',