Deep breath…
It isn’t the close data points. (if it was, that would be a bug too.)
Consider the following. The first has its data in a single “query”, the second has it split between the two. That’s it. The first one displays two layers, the second does not.
I don’t think I can meaningfully provide a simpler example of the bug.
{
"__inputs": [
{
"name": "DS_INFINITY",
"label": "Infinity",
"description": "",
"type": "datasource",
"pluginId": "yesoreyeram-infinity-datasource",
"pluginName": "Infinity"
}
],
"__elements": [],
"__requires": [
{
"type": "panel",
"id": "geomap",
"name": "Geomap",
"version": ""
},
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.0.0-c18ba28cpre"
},
{
"type": "datasource",
"id": "yesoreyeram-infinity-datasource",
"name": "Infinity",
"version": "1.0.0-dev.4"
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"datasource": {
"type": "yesoreyeram-infinity-datasource",
"uid": "${DS_INFINITY}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 0
},
"id": 2,
"options": {
"basemap": {
"config": {},
"name": "Layer 0",
"type": "default"
},
"controls": {
"mouseWheelZoom": true,
"showAttribution": true,
"showDebug": false,
"showScale": false,
"showZoom": true
},
"layers": [
{
"config": {
"showLegend": true,
"style": {
"color": {
"fixed": "dark-green"
},
"opacity": 0.4,
"rotation": {
"fixed": 0,
"max": 360,
"min": -360,
"mode": "mod"
},
"size": {
"fixed": 5,
"max": 15,
"min": 2
},
"symbol": {
"fixed": "img/icons/marker/circle.svg",
"mode": "fixed"
},
"textConfig": {
"fontSize": 12,
"offsetX": 0,
"offsetY": 0,
"textAlign": "center",
"textBaseline": "middle"
}
}
},
"location": {
"latitude": "lata",
"longitude": "lona",
"mode": "coords"
},
"name": "Layer 1",
"tooltip": true,
"type": "markers"
},
{
"config": {
"showLegend": true,
"style": {
"color": {
"fixed": "dark-red"
},
"opacity": 0.4,
"rotation": {
"fixed": 0,
"max": 360,
"min": -360,
"mode": "mod"
},
"size": {
"fixed": 5,
"max": 15,
"min": 2
},
"symbol": {
"fixed": "img/icons/marker/circle.svg",
"mode": "fixed"
},
"textConfig": {
"fontSize": 12,
"offsetX": 0,
"offsetY": 0,
"textAlign": "center",
"textBaseline": "middle"
}
}
},
"location": {
"latitude": "latb",
"longitude": "lonb",
"mode": "coords"
},
"name": "Layer 2",
"tooltip": true,
"type": "markers"
}
],
"view": {
"id": "zero",
"lat": 0,
"lon": 0,
"zoom": 1
}
},
"pluginVersion": "9.0.0-c18ba28cpre",
"targets": [
{
"columns": [
{
"selector": "time",
"text": "",
"type": "timestamp_epoch"
},
{
"selector": "lata",
"text": "",
"type": "number"
},
{
"selector": "lona",
"text": "",
"type": "number"
},
{
"selector": "latb",
"text": "",
"type": "number"
},
{
"selector": "lonb",
"text": "",
"type": "number"
}
],
"data": "time,lata,lona,latb,lonb\n1655430480000,0,0,10,0\n1655430510000,10,10,20,10\n1655430540000,20,20,30,20",
"datasource": {
"type": "yesoreyeram-infinity-datasource",
"uid": "${DS_INFINITY}"
},
"filters": [],
"format": "table",
"global_query_id": "",
"hide": false,
"refId": "A",
"root_selector": "",
"source": "inline",
"type": "csv",
"url": "",
"url_options": {
"data": "",
"method": "GET"
}
}
],
"type": "geomap"
}
],
"refresh": false,
"schemaVersion": 36,
"style": "dark",
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "2022-06-17T01:48:00.000Z",
"to": "2022-06-17T01:54:00.000Z"
},
"timepicker": {},
"timezone": "",
"title": "try",
"uid": "try",
"version": 2,
"weekStart": ""
}
vs
{
"__inputs": [
{
"name": "DS_INFINITY",
"label": "Infinity",
"description": "",
"type": "datasource",
"pluginId": "yesoreyeram-infinity-datasource",
"pluginName": "Infinity"
}
],
"__elements": [],
"__requires": [
{
"type": "panel",
"id": "geomap",
"name": "Geomap",
"version": ""
},
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.0.0-c18ba28cpre"
},
{
"type": "datasource",
"id": "yesoreyeram-infinity-datasource",
"name": "Infinity",
"version": "1.0.0-dev.4"
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"datasource": {
"type": "yesoreyeram-infinity-datasource",
"uid": "${DS_INFINITY}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 0
},
"id": 2,
"options": {
"basemap": {
"config": {},
"name": "Layer 0",
"type": "default"
},
"controls": {
"mouseWheelZoom": true,
"showAttribution": true,
"showDebug": false,
"showScale": false,
"showZoom": true
},
"layers": [
{
"config": {
"showLegend": true,
"style": {
"color": {
"fixed": "dark-green"
},
"opacity": 0.4,
"rotation": {
"fixed": 0,
"max": 360,
"min": -360,
"mode": "mod"
},
"size": {
"fixed": 5,
"max": 15,
"min": 2
},
"symbol": {
"fixed": "img/icons/marker/circle.svg",
"mode": "fixed"
},
"textConfig": {
"fontSize": 12,
"offsetX": 0,
"offsetY": 0,
"textAlign": "center",
"textBaseline": "middle"
}
}
},
"location": {
"latitude": "lata",
"longitude": "lona",
"mode": "coords"
},
"name": "Layer 1",
"tooltip": true,
"type": "markers"
},
{
"config": {
"showLegend": true,
"style": {
"color": {
"fixed": "dark-red"
},
"opacity": 0.4,
"rotation": {
"fixed": 0,
"max": 360,
"min": -360,
"mode": "mod"
},
"size": {
"fixed": 5,
"max": 15,
"min": 2
},
"symbol": {
"fixed": "img/icons/marker/circle.svg",
"mode": "fixed"
},
"textConfig": {
"fontSize": 12,
"offsetX": 0,
"offsetY": 0,
"textAlign": "center",
"textBaseline": "middle"
}
}
},
"location": {
"latitude": "B latb",
"longitude": "B lonb",
"mode": "coords"
},
"name": "Layer 2",
"tooltip": true,
"type": "markers"
}
],
"view": {
"id": "zero",
"lat": 0,
"lon": 0,
"zoom": 1
}
},
"pluginVersion": "9.0.0-c18ba28cpre",
"targets": [
{
"columns": [
{
"selector": "time",
"text": "",
"type": "timestamp_epoch"
},
{
"selector": "lata",
"text": "",
"type": "number"
},
{
"selector": "lona",
"text": "",
"type": "number"
}
],
"data": "time,lata,lona\n1655430480000,0,0\n1655430510000,10,10\n1655430540000,20,20",
"datasource": {
"type": "yesoreyeram-infinity-datasource",
"uid": "${DS_INFINITY}"
},
"filters": [],
"format": "table",
"global_query_id": "",
"hide": false,
"refId": "A",
"root_selector": "",
"source": "inline",
"type": "csv",
"url": "https://jsonplaceholder.typicode.com/users",
"url_options": {
"data": "",
"method": "GET"
}
},
{
"columns": [
{
"selector": "time",
"text": "",
"type": "timestamp_epoch"
},
{
"selector": "latb",
"text": "",
"type": "number"
},
{
"selector": "lonb",
"text": "",
"type": "number"
}
],
"data": "time,latb,lonb\n1655430480000,10,0\n1655430510000,20,10\n1655430540000,30,20",
"datasource": {
"type": "yesoreyeram-infinity-datasource",
"uid": "${DS_INFINITY}"
},
"filters": [],
"format": "table",
"global_query_id": "",
"hide": false,
"refId": "B",
"root_selector": "",
"source": "inline",
"type": "csv",
"url": "",
"url_options": {
"data": "",
"method": "GET"
}
}
],
"type": "geomap"
}
],
"refresh": false,
"schemaVersion": 36,
"style": "dark",
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "2022-06-17T01:48:00.000Z",
"to": "2022-06-17T01:54:00.000Z"
},
"timepicker": {},
"timezone": "",
"title": "try",
"uid": "try",
"version": 2,
"weekStart": ""
}