Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Is there any way to acquire the current zoom level of the map into a variable?
Have a requirement to resize / change symbols dynamically based on zoom level.
I could do this by creating multiple layers with zoom ins/outs, but this would be tedious.
Martin
Hi, sorry no, would be nice to have.
Some sort of workaround would be use the the bounding box for the selection, like width=max(x)-min(x)
Since the map is normally autozooming to the selection that would be proportional to the scale.
Thanks,
Patric
Hi @Patric_Nordstrom ,
Do you know if there any plans to implement such a feature? In an ideal world, I would like to set a bubble size to an absolute value that matches the map scale indicator (i.e. a bubble of 500m radius). Not sure if this is even technically feasible, but it would be really neat 🙂
I've played around with the workaround you provided, but I'm afraid that's not going to cut it. Right now I've just created two fixed zoom levels at which the set bubble size is around 500m, but the inability to zoom by scrolling sort of detracts from the dynamic value of the map object.
Kind regards,
Stijn
Bubbles with radius in meters can be created with the GeoAnalytics connector TravelArea operation using transportation mode "Bird".
Thanks,
Patric