You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The above code is the way i change the radius of the marker.
The text was updated successfully, but these errors were encountered:
jayfrostjay
changed the title
Changing the radius causes the radius circle to blink
Changing the radius causes the radius circle to flicker
Apr 23, 2019
let _pickerContext = mapsElement.data("locationpicker");
// Assuming MarkerNewRadius is the new radius value you want to set
let newRadius = MarkerNewRadius;
// Set the radius for the marker
_pickerContext.radius = newRadius;
// Update the map to reflect the new radius
_pickerContext.updateMap();
// Update the settings with the new radius
_pickerContext.settings.radius = newRadius;
let _pickerContext = mapsElement.data("locationpicker");
_pickerContext.radius = {MarkerNewRadius};
_pickerContext.map.radius = {MarkerNewRadius};
_pickerContext.settings.radius = {MarkerNewRadius};
The above code is the way i change the radius of the marker.
The text was updated successfully, but these errors were encountered: