jamesdales / IconMapSupport

MIT License
4 stars 1 forks source link

[IconMapPro] Unable to toggle between Circles, Heatmap, and H3 in PRO #64

Closed AlyafeiAli closed 1 hour ago

AlyafeiAli commented 2 weeks ago

UPDATE: I fixed #57, turns out I wasn't using the proper format.

Hi @jamesdales ,

I'm using latest version ( 1.0.0.2 ) I downloaded from the releases page, thank you for solving #60 😊

However, I'm facing two more issues with it:

1- I'm trying to toggle between Circles, Heatmap, and H3, so I created two measures for the Circle Size and H3 Weight fields, where they both return BLANK() if I didn't choose "Circles" or "H3", otherwise they return the sum of sizes.
circle = IF(SELECTEDVALUE('selection'[selection])="circles",CALCULATE(SUM(sourcefile[size])),BLANK())
h3 = IF(SELECTEDVALUE('selection'[selection])="h3",CALCULATE(SUM('sourcefile'[size])),BLANK())
So, by default it should be Heatmap since both of them will be BLANK().

The problem is when I first choose Circles, the circles do show up, but when I toggle back to Heatmap or to H3, the circles are always still there and won't disappear.
And when I first choose H3, they show up on top of the heatmap. but they do disappear when I switch to circles.

Default state:
image

Circles only:
image

H3 after circles:
image

heatmap after circles:
image

AlyafeiAli commented 1 hour ago

solved in 1.0.0.3
thank you!