قالب وردپرس درنا توس
Home / IOS Development / Map box pinch in / out and load new markers: iOSProgramming

Map box pinch in / out and load new markers: iOSProgramming



Hello everyone,

I create an app, and I have an API that sends me information about buildings (coordinate, name and description). What I want to do is send a request to my API for information on some buildings after a squeeze in / out, but I don't want it to send me all the buildings (because it's hundreds). I was thinking of getting the coordinates of the corners of the map to tell the API a "Send me buildings between these coordinates," but I'm not sure it's the right way to do it. And I don't know how to get the coordinates of the corners of my map ahah How do you think I should do? Thanks!


Source link