首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏腾讯位置服务

    实现物流场景中小车Marker指向目的地

    代码示例如下: 1、示例展示福州送至北京,途径西安、西宁、济南、太原、天津,先将这几个点的maker添加到地图中: // 福州 locations[0] = CLLocationCoordinate2DMake (26.101797,119.415539); // 西安 locations[1] = CLLocationCoordinate2DMake(34.475422,109.0005); // 西宁 locations [2] = CLLocationCoordinate2DMake(36.69099,101.749523); // 济南 locations[3] = CLLocationCoordinate2DMake (36.761434,117.174328); // 太原 locations[4] = CLLocationCoordinate2DMake(37.949064,112.56007); // 天津 locations [5] = CLLocationCoordinate2DMake(39.117802,117.174328); // 北京 locations[6] = CLLocationCoordinate2DMake

    81140发布于 2020-05-29
  • 来自专栏全栈程序员必看

    win10下使用vs2015编译支持xp系统的libcurl

    1 编译openssl 由于在perl官网里提供的perl版本没有dmake,因此使用我提供的perl5.24带dmake的包,下载地址。 安装好perl后,可以尝试使用ppm install dmake命令来进行安装dmake模块,在我电脑里无法安装,因此直接使用dmake离线包。 将dmake.exe所在目录添加到系统path变量里: 接下来还需要安装nasm,nasm-2.13.01-installer-x64.exe下载地址。

    1.7K20编辑于 2022-09-14
  • 来自专栏一“技”之长

    iOS原生地图开发指南再续——地图覆盖物的应用

    initWithFrame:self.view.frame];     //设置地图     _mapView.region=MKCoordinateRegionMake(CLLocationCoordinate2DMake alloc]initWithFrame:self.view.frame];     _mapView.region=MKCoordinateRegionMake(CLLocationCoordinate2DMake self;     //创建圆形覆盖物对象     MKCircle * cirle = [MKCircle circleWithCenterCoordinate:CLLocationCoordinate2DMake alloc]initWithFrame:self.view.frame];     _mapView.region=MKCoordinateRegionMake(CLLocationCoordinate2DMake 0.01:-0.01));         coor[i]=po;     }     coor[5]=CLLocationCoordinate2DMake(33.23, 113.112);     MKPolygon

    86930发布于 2018-08-16
  • 来自专栏计算机编程

    批处理dtsmake【仅适合win系统】

    5、解决问题 a.重写dmake.bat: ? 重写dmake.bat.png b.书写index.bat 与delete.bat并且将此放到与dmake.bat同等目录下: ? 复制完dmake的bat文件.png e.启动当前目录与子目录下的dmake运行 ? 运行.gif d.退出index.bat ? 退出index.png e.再一次查看生成目录与检查文件 ?

    1.5K20发布于 2019-08-27
  • 来自专栏全栈程序员必看

    火星坐标系统_怎样算自己的上升星座

    * cos(theta) + 0.0065; double bd_lat = z * sin(theta) + 0.006; return CLLocationCoordinate2DMake double gg_lon = z * cos(theta); double gg_lat = z * sin(theta); return CLLocationCoordinate2DMake (temp1 / temp2) * pow((1.0 - esinphi) / (1.0 + esinphi), ee)); 19 } 20 return CLLocationCoordinate2DMake -360, 360); 44 double rlat = CLIP([ALDGeocoder deg:dlat], -90, 90); 45 return CLLocationCoordinate2DMake ); 23 dLon = (dLon * 180.0) / (a / sqrtMagic * cos(radLat) * PI); 24 25 return CLLocationCoordinate2DMake

    62960编辑于 2022-09-20
  • 来自专栏sktj

    IOS MKMapCamera三维地图

    frame:self.view.bounds) 6 mapView.mapType = MKMapType.standard 7 8 let center = CLLocationCoordinate2DMake (39.915352, 116.397105) 9 let fromEye = CLLocationCoordinate2DMake(39.915352+0.1, 116.397105+0.1)

    92060发布于 2019-07-10
  • 来自专栏iOSer

    iOS根据两点经纬度坐标计算指南针方位角

    M_PI / 180.0; } 调用示例 double bearing = [CLLocation ca_getCompassAngleFromCoor1:(CLLocationCoordinate2DMake (20, 20)) coor2:(CLLocationCoordinate2DMake(20, 140))]; NSLog(@"bearing:%.2f", bearing); //设置地图方位角...

    47330编辑于 2023-01-13
  • 来自专栏iOSer

    iOS根据两点经纬度坐标计算指南针方位角

    * M_PI / 180.0;}调用示例double bearing = [CLLocation ca_getCompassAngleFromCoor1:(CLLocationCoordinate2DMake (20, 20)) coor2:(CLLocationCoordinate2DMake(20, 140))];NSLog(@"bearing:%.2f", bearing);//设置地图方位角...结论经测试

    1.1K20编辑于 2023-01-10
  • 来自专栏编程语言

    Swift 打开三方地图 腾讯地图、百度地图、高德地图、Apple 地图

    appleMap(lat:Double,lng:Double,destination:String) { let loc = CLLocationCoordinate2DMake endAddress:String,way:String,lat:Double,lng:Double) { let coordinate = CLLocationCoordinate2DMake (coordinate:CLLocationCoordinate2D) -> CLLocationCoordinate2D { return CLLocationCoordinate2DMake

    4.1K20发布于 2020-09-11
  • 来自专栏全栈程序员必看

    iOS的高德地图标注特定位置

    mapView.mapType = MKMapTypeStandard; 23 24 CLLocationCoordinate2D location = CLLocationCoordinate2DMake 如果不知道怎么查经纬度的,可以参考这个 http://www.doc88.com/p-3157554808098.html 获取到的经纬度是 (经度,纬度),填到 CLLocationCoordinate2DMake

    1.3K30编辑于 2022-08-31
  • 来自专栏娱乐心理测试

    高德与百度地图坐标的相互转化(IOS和h5)

    y, x) + 0.000003 * cos(x * x_pi); CLLocationCoordinate2D coordinate = CLLocationCoordinate2DMake atan2(y, x) - 0.000003 * cos(x * x_pi); CLLocationCoordinate2D coordinate = CLLocationCoordinate2DMake

    1.2K30发布于 2019-03-15
  • 来自专栏一“技”之长

    iOS原生地图开发指南续——大头针与自定义标注

        mapView.delegate=self;     //设置位置     mapView.region=MKCoordinateRegionMake(CLLocationCoordinate2DMake MKPointAnnotation * ann = [[MKPointAnnotation alloc]init];     //设置大头针坐标     ann.coordinate=CLLocationCoordinate2DMake

    1.5K30发布于 2018-08-16
  • 来自专栏一“技”之长

    iOS原生地图开发进阶——使用导航和附近兴趣点检索

    alloc]initWithFrame:self.view.frame];     mapView.region=MKCoordinateRegionMake(CLLocationCoordinate2DMake self.view addSubview:mapView];          //导航设置     CLLocationCoordinate2D fromcoor=CLLocationCoordinate2DMake (39.26, 116.3);     CLLocationCoordinate2D tocoor = CLLocationCoordinate2DMake(33.33, 113.33);     //

    1.3K40发布于 2018-08-16
  • 来自专栏DannyHoo的专栏

    iOS开发中使用百度地图计算两点间的距离

    userLocation.location.coordinate); BMKMapPoint point2 = BMKMapPointForCoordinate(CLLocationCoordinate2DMake

    1.8K21发布于 2018-09-13
  • 来自专栏hrscy

    iOS百度地图开发中遇到的问题

    latitude = 39.915168; CGFloat longitude = 116.403875; anno.coordinate = CLLocationCoordinate2DMake latitude, longitude); //计算所选坐标和当前位置之间的距离 CLLocationCoordinate2D currentAnno = CLLocationCoordinate2DMake

    1.2K20发布于 2018-08-30
  • 来自专栏全栈程序员必看

    iOS关于地图定位基础(二)[通俗易懂]

    withEvent:(UIEvent *)event { // 要监听圆形区域A的中心点 CLLocationCoordinate2D centerA = CLLocationCoordinate2DMake startMonitoringForRegion:regionA]; // 要监听圆形区域B的中心点 CLLocationCoordinate2D centerB = CLLocationCoordinate2DMake withEvent:(UIEvent *)event { // 要监听圆形区域A的中心点 CLLocationCoordinate2D centerA = CLLocationCoordinate2DMake

    1.4K20编辑于 2022-09-17
  • 来自专栏日常技术分享

    iOS 调用苹果自带地图导航不准确问题解决

    NSString *)lat lng:(NSString *)lng { //坐标转换 CLLocationCoordinate2D loc = CLLocationCoordinate2DMake

    4.2K10发布于 2018-12-14
  • 来自专栏腾讯位置服务

    腾讯位置服务地图SDK公交路线规划应用示例

    NSString *northEastLongString = array[3]; CLLocationCoordinate2D northEast = CLLocationCoordinate2DMake northEastLatString.floatValue, northEastLongString.floatValue); CLLocationCoordinate2D southWest = CLLocationCoordinate2DMake

    1.3K51发布于 2020-12-11
  • 来自专栏Alice

    ios地图小例子和手势的使用 供大家参考一下呦

    annotation.title = @"中国"; annotation.subtitle = @"河北"; annotation.coordinate =CLLocationCoordinate2DMake

    1.1K90发布于 2018-02-01
  • 来自专栏算法协议

    PHP安装Swoole支持DTLS协议

    disable-fileinfo --with-config-file-path=/usr/local/php7/etc --with-config-file-scan-dir=/usr/local/php7/etc/php.dMake

    1.7K30编辑于 2022-07-18
领券