jansule commented on code in PR #39760:
URL: https://github.com/apache/superset/pull/39760#discussion_r4422833151
##########
superset/config.py:
##########
@@ -3492,6 +3492,83 @@ def EMAIL_HEADER_MUTATOR( # pylint:
disable=invalid-name,unused-argument # noq
},
}
+# Map projections of the datasources. If not provided, only
+# EPSG:3857 and EPSG:4326 are supported. The projection definitions
+# can be found on https://epsg.io in the Proj.4 section and should
+# be added here in following structure:
+#
+# {'EPSG:Code': 'definition'}
+#
+# e.g.
+#
+# {
+# 'EPSG:25832': (
+# '+proj=utm +zone=32 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m '
+# '+no_defs +type=crs'
+# ),
+# 'EPSG:25833': (
+# '+proj=utm +zone=33 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m '
+# '+no_defs +type=crs'
+# ),
+# }
+#
+MAP_PROJECTIONS = {}
+
+# Default layers that will be added to all visualizations of
plugin-chart-cartodiagram.
+# For a list of supported types, and configuration details see the README.md
+# of plugin-chart-cartodiagram.
+MAP_DEFAULT_LAYERS = [
+ {
+ "type": "WMS",
+ "version": "1.3.0",
+ "url": "https://ows.terrestris.de/osm-gray/service",
+ "layersParam": "OSM-WMS",
+ "title": "OpenStreetMap",
+ "attribution": (
+ "© Map data from "
+ '<a href="https://openstreetmap.org/copyright">OpenStreetMap</a>. '
Review Comment:
I prefer to keep things simple and consistent. So I removed the markup from
the attribution.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]