{"image_url":null,"blog_title":"xyk blog","title":"\u8868\u793a\u4e2d\u306e\u30de\u30c3\u30d7(MKMapView)\u9818\u57df\u5185\u306b\u542b\u307e\u308c\u3066\u3044\u308b\u5ea7\u6a19\u304b\u3069\u3046\u304b\u3092\u5224\u5b9a\u3059\u308b","categories":["ios","swift","mapView"],"published":"2020-11-12 13:33:38","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","url":"https://xyk.hatenablog.com/entry/2020/11/12/133338","version":"1.0","description":"\u691c\u8a3c\u74b0\u5883: Xcode 12 Swift 5.3 \u307e\u305aMapKit\u3092\u30a4\u30f3\u30dd\u30fc\u30c8\u3057\u3066\u304a\u304f\u3002 import MapKit MKMapRect \u3092\u4f7f\u3046 \u3042\u308b\u5ea7\u6a19\u304c\u8868\u793a\u4e2d\u306e\u30de\u30c3\u30d7MKMapView\u9818\u57df\u5185\u306b\u542b\u307e\u308c\u3066\u3044\u308b\u304b\u3067\u5224\u5b9a\u3059\u308b\u65b9\u6cd5\u3002 \u5ea7\u6a19\u306e\u7def\u5ea6\u7d4c\u5ea6\u306fCLLocationCoordinate2D\u3067\u6271\u3063\u3066\u3044\u308b\u3068\u3059\u308b\u3002 \u8868\u793a\u4e2d\u306e\u30de\u30c3\u30d7\u9818\u57df\u306e\u77e9\u5f62MKMapRect\u3092mapView.visibleMapRect\u3067\u53d6\u5f97\u3059\u308b\u3002 \u7def\u5ea6\u7d4c\u5ea6CLLocationCoordinate2D\u3092\u30de\u30c3\u30d7\u5ea7\u6a19\u7cfbMKMapPoint\u306b\u5909\u63db\u3059\u308b\u3002 MKMapRect#contains(_ point: MKMapPoint)\u30e1\u30bd\u30c3\u30c9\u3067\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fxyk.hatenablog.com%2Fentry%2F2020%2F11%2F12%2F133338\" title=\"\u8868\u793a\u4e2d\u306e\u30de\u30c3\u30d7(MKMapView)\u9818\u57df\u5185\u306b\u542b\u307e\u308c\u3066\u3044\u308b\u5ea7\u6a19\u304b\u3069\u3046\u304b\u3092\u5224\u5b9a\u3059\u308b - xyk blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"xyk","height":"190","width":"100%","blog_url":"https://xyk.hatenablog.com/","author_url":"https://blog.hatena.ne.jp/xyk/","type":"rich"}