mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-14 21:28:11 +02:00
Merge branch 'develop' into issue-8813
This commit is contained in:
@@ -118,7 +118,7 @@ export function rendererBackgroundSource(data) {
|
||||
|
||||
// Guess a type based on the tokens present in the template
|
||||
// (This is for 'custom' source, where we don't know)
|
||||
if (!source.type) {
|
||||
if (!source.type || source.id === 'custom') {
|
||||
if (/SERVICE=WMS|\{(proj|wkid|bbox)\}/.test(_template)) {
|
||||
source.type = 'wms';
|
||||
source.projection = 'EPSG:3857'; // guess
|
||||
|
||||
Reference in New Issue
Block a user