我正在从Google的PlacesAPI获取位置数据(例如下面使用的坐标)。当从我的应用程序链接到Applemap进行导航时,我目前正在使用:https://maps.apple.com/?daddr=[latitude],[longitude]本地图打开时,它会在解析为地址之前显示一小段时间的坐标。我想要的是显示目的地的名称,而不是坐标或地址。因为我使用的是ReactNative,所以我更喜欢仅使用javascript的解决方案(知道这实质上将这个问题的解决方案限制在一个url上)。我已经尝试了列出的其他参数的组合here无济于事。 最佳答案
我有要在我的map应用程序中打开的纬度和经度。我尝试了来自HERE的这段代码.funcgoToMap(){varlat1:NSString=self.venueLatvarlng1:NSString=self.venueLngvarlatitude:CLLocationDegrees=lat1.doubleValuevarlongitude:CLLocationDegrees=lng1.doubleValuevarcoordinate=CLLocationCoordinate2DMake(latitude,longitude)varplacemark:MKPlacemark=MKPla
我有要在我的map应用程序中打开的纬度和经度。我尝试了来自HERE的这段代码.funcgoToMap(){varlat1:NSString=self.venueLatvarlng1:NSString=self.venueLngvarlatitude:CLLocationDegrees=lat1.doubleValuevarlongitude:CLLocationDegrees=lng1.doubleValuevarcoordinate=CLLocationCoordinate2DMake(latitude,longitude)varplacemark:MKPlacemark=MKPla