making pink tiles a css matter. p=rdewit, r=me (closes #2318)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@9758 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -24,6 +24,11 @@
|
||||
height: 255px;
|
||||
}
|
||||
|
||||
/* avoid pink tiles */
|
||||
.olImageLoadError {
|
||||
border: none !important;
|
||||
background: none !important;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
@@ -33,8 +38,9 @@
|
||||
<script type="text/javascript">
|
||||
|
||||
var evenmap, oddmap;
|
||||
|
||||
// increase reload attempts
|
||||
OpenLayers.IMAGE_RELOAD_ATTEMPTS = 3;
|
||||
OpenLayers.Util.onImageLoadErrorColor = "transparent";
|
||||
|
||||
function init(){
|
||||
evenmap = new OpenLayers.Map('evenmap');
|
||||
|
||||
Reference in New Issue
Block a user