Project

General

Profile

Bug #5280

Firefox doesn't dispaly tiles from cartodb

Added by Jan Jezek almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
High
Category:
-
Target version:
-
Start date:
10/22/2015
Due date:
% Done:

100%

Estimated time:
Browser:

Description

Tiles provided by cartodb works well in chrome, but not in Firefox. Firefox doesn't even send the request to the server. It affects the demo at ng.hslayers.org/examples/webgl_viz/
The tiles configuration is:

new ol.layer.Tile({
source: new ol.source.XYZ({
url: 'http://{s}.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}.png',
attributions: [new ol.Attribution({ html: ['© <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors, © <a href="http://cartodb.com/attributions">CartoDB</a>'] })]
})
})

#1

Updated by Raitis Bērziņš almost 5 years ago

I guess it doesnt like {s}
It also doesnt wotk for me in chrome:
http://%7Bs%7D.basemaps.cartocdn.com/dark_all/4/7/4.png
Failed to load resource: net::ERR_NAME_NOT_RESOLVED

#2

Updated by Raitis Bērziņš almost 5 years ago

changed {s} to {a-z}, because I saw it somewhere, but in documentation there's nothing about it.
Also added 'title' attribute to the layer for nicer layermanager

#3

Updated by Raitis Bērziņš almost 5 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF