From 2d32af53a96543ff59323a3b8f9b1959a28f1eaa Mon Sep 17 00:00:00 2001 From: hgrsd Date: Tue, 22 Mar 2022 23:55:02 -0400 Subject: [PATCH] more accurate comment --- src/components/space/carto/Map.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/space/carto/Map.js b/src/components/space/carto/Map.js index 94aa28a..e577bc1 100644 --- a/src/components/space/carto/Map.js +++ b/src/components/space/carto/Map.js @@ -104,6 +104,9 @@ class Map extends React.Component { } } + /** + * Initialize the base tile layer based on the ui state + */ initializeTileLayer() { if (!this.map) { return; @@ -136,7 +139,7 @@ class Map extends React.Component { initializeMap() { /** - * Creates a Leaflet map and a tilelayer for the map background + * Creates a Leaflet map */ const { map: mapConfig, cluster: clusterConfig } = this.props.app;