@opendata-ai/openchart-engine 8.6.2 → 8.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -14147,7 +14147,8 @@ function compileGeoMap(spec, options) {
|
|
|
14147
14147
|
let featureMarks;
|
|
14148
14148
|
let continuousLegend = null;
|
|
14149
14149
|
let categoricalLegend = null;
|
|
14150
|
-
|
|
14150
|
+
const isBasemapOnly = !colorEncoding || mapSpec.data.length === 0 && mapSpec.points != null;
|
|
14151
|
+
if (isBasemapOnly) {
|
|
14151
14152
|
featureMarks = buildBasemapMarks({
|
|
14152
14153
|
geoFeatures,
|
|
14153
14154
|
pathGen,
|