[英]Delphi Google Maps SDK for iOS
i am new to iOS platform, i was trying to use google maps for an iOS application. 我是iOS平台的新手,我试图将google maps用于iOS应用程序。 i have found sample in XE5 \\RAD Studio\\12.0\\Samples\\MobileCodeSnippets\\Location This works but how to i hide the controls on the google maps.
我已经在XE5 \\ RAD Studio \\ 12.0 \\ Samples \\ MobileCodeSnippets \\ Location中找到了示例,但是可以在Google地图上隐藏控件。
**A)**How to disable google default controls using URL links : To disable the default controls is http://www.w3schools.com/googleAPI/google_maps_controls.asp ** A)**如何使用URL链接禁用Google默认控件:要禁用默认控件, 请访问http://www.w3schools.com/googleAPI/google_maps_controls.asp
I have tried like this 我已经试过了
const
LGoogleMapsURL: String = 'https://maps.google.com/maps?q=%s,%s&output=embed';
var
sLatitude ,sLongitude : string;
begin
sLatitude := 'Latitude: ' + '15.4989';
sLongitude := 'Longitude: ' + '73.8278';
WebBrowser1.Navigate(Format(LGoogleMapsURL, [sLatitude, sLongitude]));
end;
but how do i use disableDefaultUI:true to remove the default control and on the maps? 但是如何使用disableDefaultUI:true删除默认控件并在地图上? i had tried something like this
我尝试过这样的事情
maps.google.com/maps?z=12&t=m&q=loc:38.9419&style=feature:all|element:labels|visibility:off
no controls 没有控制
with controls 带控件
B) Goodle SDK for Delphi XE4/XE5 or components for Google maps for iOS in Delphi can any tell me how to use google maps in iOS using google maps API? B)用于Delphi XE4 / XE5的Goodle SDK或用于Delphi中iOS的Google地图的组件可以告诉我如何使用Google Maps API在iOS中使用Google地图吗? like https://developers.google.com/maps/documentation/ios/
像https://developers.google.com/maps/documentation/ios/
i have found iOS components but they have apple maps 我找到了iOS组件,但是它们有苹果地图
https://maps.googleapis.com/maps/api/place/textsearch/xml?radius=50000&query=%@&sensor=true&key=UseYourOwnKey
Use this google Api. 使用此Google Api。 Pass your location in query in this api.
通过此api在查询中传递您的位置。 You will get top 20 results related to your search location.
您将获得与您的搜索位置相关的前20条结果。 No need to pass latitude and longitude.
无需传递纬度和经度。 Just pass the location name.
只需传递位置名称即可。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.