Changeset 9641 for src/django_gheat/wlheatmap/templates/js/LayerBase.js
- Timestamp:
- Aug 31, 2011, 4:21:00 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/django_gheat/wlheatmap/templates/js/LayerBase.js
r9596 r9641 22 22 if (this.src.match(/^http:\/\/[abc]\.[a-z]+\.openstreetmap\.org\//)) { 23 23 this.src = OpenLayers.Util.OSM.MISSING_TILE_URL; 24 } else if (this.src.match(/^http:\/\/[def]\.tah\.openstreetmap\.org\//)) { 25 // do nothing - this layer is transparent 26 } else { 24 } if (this.src.match(/^http:\/\/[def]\.tah\.openstreetmap\.org\//) == null) { 27 25 OpenLayers.Util.OSM.originalOnImageLoadError; 28 26 }
Note:
See TracChangeset
for help on using the changeset viewer.