The question seems to show inadequate research.
Astrophysicist Takahiro Sumi of Osaka University in Japan and colleagues, who form the Microlensing Observations in Astrophysics and the Optical Gravitational Lensing Experiment collaborations, published their study of microlensing in 2011. They observed 50 million stars in the Milky Way by using the 1.8-metre (5 ft 11 in) MOA-II telescope at New Zealand's Mount John Observatory and the 1.3-metre (4 ft 3 in) University of Warsaw telescope at Chile's Las Campanas Observatory. They found 474 incidents of microlensing, ten of which were brief enough to be planets of around Jupiter's size with no associated star in the immediate vicinity. The researchers estimated from their observations that there are nearly two Jupiter-mass rogue planets for every star in the Milky Way.[13][14][15] One study suggested a much larger number, up to 100,000 times more rogue planets than stars in the Milky Way, though this study encompassed hypothetical objects much smaller than Jupiter.[16] A 2017 study by Przemek Mróz of Warsaw University Observatory and colleagues, with six times larger statistics than the 2011 study, indicates an upper limit on Jupiter-mass free-floating or wide-orbit planets of 0.25 planets per main-sequence star in the Milky Way.[17]
https://en.wikipedia.org/wiki/Rogue_planet#Observation[1]
Astrophysicist Takahiro Sumi of Osaka University in Japan and colleagues, who form the Microlensing Observations in Astrophysics and the Optical Gravitational Lensing Experiment collaborations, published their study of microlensing in 2011. They observed 50 million stars in the Milky Way by using the 1.8-metre (5 ft 11 in) MOA-II telescope at New Zealand's Mount John Observatory and the 1.3-metre (4 ft 3 in) University of Warsaw telescope at Chile's Las Campanas Observatory. They found 474 incidents of microlensing, ten of which were brief enough to be planets of around Jupiter's size with no associated star in the immediate vicinity. The researchers estimated from their observations that there are nearly two Jupiter-mass rogue planets for every star in the Milky Way.[13][14][15] One study suggested a much larger number, up to 100,000 times more rogue planets than stars in the Milky Way, though this study encompassed hypothetical objects much smaller than Jupiter.[16] A 2017 study by Przemek Mróz of Warsaw University Observatory and colleagues, with six times larger statistics than the 2011 study, indicates an upper limit on Jupiter-mass free-floating or wide-orbit planets of 0.25 planets per main-sequence star in the Milky Way.[17]
https://en.wikipedia.org/wiki/Rogue_planet[2]
Apparently only one Earth mass rogue planet has been detected yet, but Jupiter -sized rogue planets might have Earth-sized moons orbiting them.
So if there is a civilization that seeks out rogue planets to settle, they might detect them the same way Earth astronomers do, by occulations and gravitational lensing of background stars that rogue palnets pass in front of.
They might establish space observatories in many widely scattered regions of space. Each observatory would have many telescopes, sufficient to observe a full 360 degrees sphere of space. Those observatories would record occultations and gravity lensing events which might be the result of rogue planets passing in front of stars. So over decades, centuries, and millennia they would accumulate many records of those events and begin to narrow down the distances of those rogue planets.
And maybe those observatories would also send out very intense radar beams that would be aimed at each tiny segment of the sky in turn. And also send radar beams in the directions where rogue planets have been detected, of course. Eventually, after years of travel at the spead of light, very faint radar echos would be received from any beams which had struck a rogue planet. And the time taken by the beam to reach the rogue planet and return would show how far away the rogue planet was.
So eventually the civilization would find the locations of a vast number of rogue planets.