Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

livemap: tooltip may show wrong data on density2df #684

Closed
IKupriyanov-HORIS opened this issue Feb 7, 2023 · 0 comments
Closed

livemap: tooltip may show wrong data on density2df #684

IKupriyanov-HORIS opened this issue Feb 7, 2023 · 0 comments
Assignees
Milestone

Comments

@IKupriyanov-HORIS
Copy link
Collaborator

plotSpec:

{
  "mapping": {},
  "data_meta": {},
  "ggsize": {
    "width": 500,
    "height": 300
  },
  "kind": "plot",
  "scales": [
    {
      "aesthetic": "fill",
      "low": "white",
      "high": "darkgreen",
      "scale_mapper_kind": "color_gradient"
    }
  ],
  "layers": [
    {
      "geom": "livemap",
      "mapping": {},
      "data_meta": {},
      "tiles": {
        "kind": "vector_lets_plot",
        "url": "wss://tiles.datalore.jetbrains.com",
        "theme": "color",
        "attribution": "Map: <a href=\"https://github.com/JetBrains/lets-plot\">\u00a9 Lets-Plot</a>, map data: <a href=\"https://www.openstreetmap.org/copyright\">\u00a9 OpenStreetMap contributors</a>."
      },
      "geocoding": {
        "url": "http://10.0.0.127:3020/map_data/geocoding"
      }
    },
    {
      "geom": "density2df",
      "mapping": {
        "x": [ -1.744, 2.904, 3.887, 7.358, -1.305, -3.474, 9.027, -2.874, 7.567, -0.444, 2.528, 1.945, 0.198, -2.551, 5.438, -5.336, 16.818, -1.701, 0.004, 7.607, 4.690, -1.005, -8.939, -8.141, 0.265, 0.312, 0.652, -6.703, 7.421, -3.160, -11.842, -8.565, 2.268, 7.127, 4.993, -4.642, -5.563, -2.631, 7.299, 8.540, -2.299, 1.268, 8.866, -4.057, -1.504, 2.340, 2.123, -6.938, 6.367, -6.087],
        "y": [ 4.918, 0.351, 2.909, 8.315, -3.443, 9.702, 2.281, 0.570, 1.755, 4.584, -4.076, -2.124, -2.639, -4.441, 3.366, 6.090, -4.161, -9.292, 1.757, -3.402, -3.407, -0.087, -4.258, 4.834, 1.448, -5.490, -0.926, -1.620, 6.565, -1.957, -2.953, -6.564, -8.916, -1.728, 3.626, -3.399, 0.062, -3.397, 6.832, 1.195, 5.791, 1.018, 4.943, -7.616, -1.953, 7.567, 0.611, -2.335, 0.608, 2.016],
        "fill": "..level.."
      },
      "data_meta": {},
      "alpha": 0.5
    }
  ],
  "metainfo_list": []
}

Tooltip shows data from outer area:
image

@IKupriyanov-HORIS IKupriyanov-HORIS added this to the 2023Q1 milestone Feb 15, 2023
@IKupriyanov-HORIS IKupriyanov-HORIS self-assigned this Feb 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant