Forum Discussion

ysapiyev's avatar
ysapiyev
Responsive Resident
8 years ago
Solved

Change zoom by click

Hi everyone, I have custom visual with map and circles on it.  I want to use on('click') to change zoom, however, setview method from leaflet doesn't work.   const circle = g.append('circle') ...
  • ysapiyev's avatar
    8 years ago

    Solved by proper usage of d3 functions for leaflet map.