x1ongzhu %!s(int64=6) %!d(string=hai) anos
pai
achega
014dec6497
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/main/java/com/izouma/walkchina/service/MapService.java

+ 1 - 1
src/main/java/com/izouma/walkchina/service/MapService.java

@@ -74,7 +74,7 @@ public class MapService {
         southwest.setLongitude(southwest.getLongitude() - dLng);
 
         List<UserMarker> list = userInfoRepository.findInRegion(userId, mapRegion.getSouthwest().getLatitude(), mapRegion.getSouthwest().getLongitude(),
-                                                                mapRegion.getNortheast().getLongitude(), mapRegion.getNortheast().getLongitude(), PageRequest.of(0, 20));
+                                                                mapRegion.getNortheast().getLongitude(), mapRegion.getNortheast().getLongitude(), PageRequest.of(0, 50));
         for (UserMarker userMarker : list) {
             userMarker.setIcon(userMarker.getUserIcon());
             JourneyStage journeyStage = journeyStageRepository.findFirstByUserIdOrderByCreatedAtDesc(userMarker.getUserId()).orElse(null);