Open hardikdarji opened 3 years ago
Below is my URL: https://www.gebco.net/data_and_products/gebco_web_services/web_map_service/mapserv?request=getmap&service=wms&BBOX=-90,-180,90,360&crs=EPSG:4326&format=image/jpeg&layers=gebco_latest_tid_2&width=1200&height=600&version=1.3.0
using e.g.
func getCardfromGeoserver() { mapview.clear() mapview.camera = GMSCameraPosition(target: CLLocationCoordinate2D(latitude: -90, longitude: -180), zoom: 5.5, bearing: 0, viewingAngle: 0) // Implement GMSTileURLConstructor let urls: GMSTileURLConstructor = { (x: UInt, y: UInt, zoom: UInt) -> URL in let bbox = self.layer.bboxFromXYZ(x, y: y, z: zoom) let urlKN = "https://www.gebco.net/data_and_products/gebco_web_services/web_map_service/mapserv?request=getmap&service=wms&crs=EPSG:4326&format=image/jpeg&layers=gebco_latest_tid_2&width=1200&height=600&version=1.3.0&BBOX=\(bbox.left),\(bbox.bottom),\(bbox.right),\(bbox.top)" return URL(string: urlKN)! } let tileLayer = GMSURLTileLayer(urlConstructor: urls) tileLayer.opacity = 0.75 tileLayer.map = nil tileLayer.map = mapview }
Please help on this..
This is a problem with the simulator. Have you this problem also with an iPhone?
Below is my URL: https://www.gebco.net/data_and_products/gebco_web_services/web_map_service/mapserv?request=getmap&service=wms&BBOX=-90,-180,90,360&crs=EPSG:4326&format=image/jpeg&layers=gebco_latest_tid_2&width=1200&height=600&version=1.3.0
using e.g.
Please help on this..