Places of interest misbehaving when using circle drawing tool

Platform (Website):
Browser, if a website issue ( Chrome,) :

Places of interest is repeating same place and summarizing in unrequested script. Both Standard and community are identical


It is related to the circular drawing tool. Zooming, redo search in map, and the draw rectangular box all work as expected.



when you have a circular custom boundary, the system tries to make this kind of request to get nearby places:

otherwise, the system makes a request like this to get nearby places:

in the circular boundary case, lat and lng are unrecognized parameters for that API endpoint. so you’re getting the same nonsense results as you would get if you didn’t specify a search area:

a note for developers looking at this: is there a reason that the nearby places request is made any time the map view changes? seems like it would make more sense to do this only when the Places of Interest button is actually clicked.

(it seems like the request is relatively slow and takes a couple of seconds to return an answer, and maybe the background loading is an attempt to make the page seem more responsive when clicking the Places of Interest button? but it seems like clicking the button would be a relatively uncommon activity. so all those background requests seem like they would just be eating processing time.)


Thanks, I made an issue:

1 Like

This has been fixed. Here’s a random spot in western Africa I zoomed in on and used the circle drawing tool for:

1 Like

great. it looks like the unnecessary nearby places requests have been eliminated, too.

1 Like

This topic was automatically closed after 15 hours. New replies are no longer allowed.