HOME 首页
SERVICE 服务产品
XINMEITI 新媒体代运营
CASE 服务案例
NEWS 热点资讯
ABOUT 关于我们
CONTACT 联系我们
创意岭
让品牌有温度、有情感
专注品牌策划15年

    地图url是什么意思(地图url是什么意思呀)

    发布时间:2023-04-13 16:32:01     稿源: 创意岭    阅读: 132        

    大家好!今天让创意岭的小编来大家介绍下关于地图url是什么意思的问题,以下是小编对此问题的归纳整理,让我们一起来看看吧。

    开始之前先推荐一个非常厉害的Ai人工智能工具,一键生成原创文章、方案、文案、工作计划、工作报告、论文、代码、作文、做题和对话答疑等等

    只需要输入关键词,就能返回你想要的内容,越精准,写出的就越详细,有微信小程序端、在线网页版、PC客户端

    官网:https://ai.de1919.com

    创意岭作为行业内优秀的企业,服务客户遍布全球各地,如需了解SEO相关业务请拨打电话175-8598-2043,或添加微信:1454722008

    本文目录:

    地图url是什么意思(地图url是什么意思呀)

    一、请问百度地图的tiles url(地图瓦片/切片)是什么?

    这就是图片的网络地址

    二、如何在公司网站中加入百度地图,百度API设置的url是什么?求详细解答

    网上制作个html地图放在首页即可

    三、高德地图,百度地图位置共享那个url地址怎么生成的

    以我在开发中使用导航功能为例,我就没有使用 SDK 进行开发,而是直接调用 (百度,高德,系统自带高德)APP。这样还给了客户多重选择。更加减少了引入 SDK 使 APP 臃肿的问题。如果使用百度或高德的调起方法配置起来感觉比较麻烦 ,他们都提供了 URL API 的方式,这种方式觉得稍微简单一点

    四、Apple Scheme URL Reference

    This document describes several URL schemes that are supported by system apps on iOS, macOS, and watchOS 2 and later. Native iOS apps and web apps running in Safari on any platform can use these schemes to integrate with system apps and provide a more seamless experience for the user. For example, if your iOS app displays telephone numbers, you could use an appropriate URL to launch the Phone app whenever someone taps one of those numbers. Similarly, clicking an iTunes link launches the iTunes app and plays the song specified in the link. When a user clicks a link, what happens depends on the platform and the installed system apps.

    本文档介绍了在 iOS、macOS 和 watchOS2 及以上版本的 watchOS 中所支持的几种系统 URL scheme。在任何平台上运行的 iOS 原生 app 或者 Safari 中的 web app 都可以使用这些 scheme 来提供一种无缝连接的用户体验。打个比方,如果你的 iOS app 显示了一串电话号码,你可以在用户点击电话号码的时候调用适当的URL来启动“电话”这个系统 app 来打电话。同样的,在点击一个 iTunes 链接的时候启动 iTunes app 并播放链接中指定的歌曲。当一个用户点击链接时,具体发生什么事情取决于当前操作系统和系统app。

    This document describes those schemes that require special attributes or special formatting in order to be understood by the associated system app. As a result, this document does not describe all URL schemes supported on different Apple platforms.

    这个文档的目的是帮助读者理解那些必须使用特殊格式才能和系统 app 关联的 scheme。所以,这个文档并没有把所有 Apple 平台上支持的 URL scheme 都列举出来。

    You should read this document if you want to launch a system app from your iOS or macOS app, or from your web app running in Safari. This document contains both Cocoa Touch sample code—using the openURL:options:completionHandler: method of the shared UIApplication object to open URLs—and HTML samples.

    如果你想在 iOS app、macOS app 以及 Safari 的 web app 中启动系统 app,那么应该先读该文档。这个文档包含了 Cocoa Touch 中的例子——使用 UIApplication 单例中的 openURL:options:completionHandler: 方法,以及HTML中的例子。

    Use the mailto scheme to open the Mail app and populate a new email with information.

    使用 mailto scheme 打开邮件 app 并使用附带的信息生成新的邮件。

    The mailto scheme is used to launch the Mail app and open the email compose sheet. When specifying a mailto URL, you must provide the target email address. The following examples show strings formatted for Safari and for native apps.

    mailto scheme 用来启动 邮件 app 并打开邮件编写页面。当指定一个 mailto URL的时候,你必须提供目标邮件的地址。以下的例子里列举了 Safari 和 原生 app 中的 scheme 格式:

    <a href="mailto:frank@wwdcdemo.example.com">John Frank</a>

    mailto:frank@wwdcdemo.example.com

    You can also include a subject field, a message, and multiple recipients in the To, Cc, and Bcc fields. (In iOS, the from attribute is ignored.) The following example shows a mailto URL that includes several different attributes:

    你还可以在scheme中包含主题、邮件内容、多个收件人、多个抄送以及密送人。以下例子中展示了一个包含多种不同属性的 mailto scheme:

    For detailed information on the format of the mailto scheme, see RFC 2368 .

    有关 mailto scheme 的详细格式方案信息,请参阅 RFC 2368 。

    Use the tel and facetime schemes to initiate telephone or video conversations.

    使用 tel 和 facetime scheme 开始通话或发起一个视频会话。

    The tel URL scheme is used to launch the Phone app on iOS devices and initiate dialing of the specified phone number. When a user taps a telephone link in a webpage, iOS displays an alert asking if the user really wants to dial the phone number and initiates dialing if the user accepts. When a user opens a URL with the tel scheme in a native app, iOS 10.3 and later displays an alert and requires user confirmation before dialing. (When this scenario occurs in versions of iOS prior to 10.3, iOS initiates dialing without further prompting the user and does not display an alert, although a native app can be configured to display its own alert.)

    tel URL scheme 用来启动 iOS 上的 电话 app 并向指定的手机号码拨号。当用户点击一个网页上的手机号链接时,iOS系统会弹出一个对话框询问用户是否要拨打当前这个号码,如果用户接受的话,就会向这个手机号拨号。当一个用户在 原生 app 上打开一个 tel scheme 时,如果是 iOS10.3 以及更高的系统版本的话,在拨打之前也会弹出一个确认框。(当这种情况发生在10.3以下的系统中时,iOS 不会提示用户也不会显示一个对话框,而会直接启动 电话 app 并拨打,除非 app 中自行弹出一个对话框。)

    FaceTime in macOS 10.10 and later can also use the tel URL scheme to launch the Phone app on an iOS device by using Handoff. This scenario works when FaceTime is configured to dial phone numbers (the default configuration) and the iOS device is connected to the same iCloud account as the Mac.

    FaceTime 在 macOS 10.10 以及之后的系统中也可以使用 tel URL scheme 然后通过 Handoff 启动 iOS 设备上的 电话 app。这种情况只有在 FaceTime 配置为拨打电话号码(默认配置)并且 iOS 设备和 Mac 的 iCloud 账号为同一个账号时才会发生。(否则在 macOS 上使用 tel scheme 会直接打开 FaceTime app)。

    You can specify phone links explicitly in both web and native iOS apps using the tel URL scheme. The following examples show the strings formatted for Safari and for a native app:

    在 web 和 原生 iOS app 上你都可以使用 tel URL scheme。以下的例子展示了该 scheme 的规则:

    <a href="tel:1-408-555-5555">1-408-555-5555</a>

    tel:1-408-555-5555

    To prevent users from maliciously redirecting phone calls or changing the behavior of a phone or account, the Phone app supports most, but not all, of the special characters in the tel scheme. Specifically, if a URL contains the * or # characters, the Phone app does not attempt to dial the corresponding phone number. If your app receives URL strings from the user or an unknown source, you should also make sure that any special characters that might not be appropriate in a URL are escaped properly. For native apps, use the stringByAddingPercentEscapesUsingEncoding: method of NSString to escape characters, which returns a properly escaped version of your original string.

    为了避免用户拨打恶意重定向电话或者更改电话、账号的行为,电话 app 支持 tel scheme 中大部分但并非全部的特殊字符。具体来说,如果 URL 中包含 * 或者 # 字符,电话 app 不会尝试拨打相应的手机号码。如果你的 app 收到用户或者未知来源的 URL 字符串,你应该确保 URL 中的特殊字符能够被正确转义。在原生 app 中,使用 NSString 类中的 stringByAddingPercentEscapesUsingEncoding: 方法来转义,该方法会返回转义后的字符串。

    In Safari on iOS, telephone number detection is on by default. However, if your webpage contains numbers that can be interpreted as phone numbers, but are not phone numbers, you can turn off telephone number detection. You might also turn off telephone number detection to prevent the DOM document from being modified when parsed by the browser. To turn off telephone number detection in Safari on iOS, use the format-detection meta tag as follows:

    在 iOS 的 Safari 浏览器上,电话号码检测是默认开启的。但是如果你的网页上包含一些被误认为电话号码的数字,你可以关闭电话号码检测。为了防止浏览器解析DOM时篡改电话号码,你也可以关闭电话号码检测功能。使用 format-detection 标签来关闭 iOS 中的 Safari 电话检测功能,如下所示:

    <meta name = "format-detection" content = "telephone=no">

    Listing 2-1 shows a simple webpage in which automatic telephone number detection is off. When displayed in Safari on iOS, the 408-555-5555 telephone number does not appear as a link. However, the 1-408-555-5555 number does appear as a link because it is in a phone link.

    2-1 清单展示了一个关闭电话检测的简单网页。当网页展示在 iOS 的 Safari 中时, 408-555-5555 并不会展示成链接的样子。然而, 1-408-555-5555 会被显示成一个链接因为它确实是一个超链接(标签)。

    Listing 2-1 Turning telephone number detection off

    For more information about the tel URL scheme, see RFC 2806 and RFC 2396 .

    有关 tel URL scheme 的详细信息,请参阅 RFC 2806 和 RFC 2396 。

    The facetime URL scheme is used to initiate a FaceTime call to a specified user. You can use the phone number or email address of a user to initiate the call. When a user taps a FaceTime link in a webpage, iOS confirms that the user really wants to initiate a FaceTime call before proceeding. When an app opens a URL with the facetime scheme, iOS opens the FaceTime app and initiates the call without prompting the user. When opening FaceTime URLs on macOS, the system always prompts the user before initiating a call.

    faceTime URL scheme 用来给指定用户发起 FaceTime 通话。你可以用户的使用电话号码或者邮件地址来发起。当用户点击一个网页上的 FaceTime 链接时, iOS 系统会在继续之前让用户进行确认。当一个 app 打开 facetime URL时, iOS 不会提示用户而是直接打开 FaceTime app。(实测iOS10以下不会提醒,iOS10及以上会弹出确认框)在 macOS 上打开 FaceTime URL 的时候,系统总是会在打开之前提醒用户。)

    You can specify FaceTime links explicitly in both web and native iOS apps using the facetime URL scheme. The following examples show the strings formatted for Safari and for a native app:

    在 web 和 原生 iOS app 上你都可以使用 facetime URL scheme 来制定一个 FaceTime 链接。以下的例子展示了该格式的字符串:

    To prevent users from maliciously redirecting calls or changing the behavior of a phone or account, the FaceTime app supports most, but not all, of the special characters in the facetime schemes. Specifically, if a URL contains the * or # characters, the app ignores those characters when they are included after the phone number. If your app receives URL strings from the user or from an unknown source, use the stringByAddingPercentEscapesUsingEncoding: method of NSString to generate a properly escaped version of the original string before opening the URL.

    为了避免用户拨打恶意重定向电话或者更改电话、账号的行为,FaceTime app 支持 facetime scheme 中大部分但并非全部的特殊字符。具体来说,如果 URL 中包含 * 或者 # 字符,并且当这些字符都在电话号码后面时,FaceTime app会忽略他们 。如果你的 app 收到用户或者未知来源的 URL 字符串,你可以使用 NSString 类中的 stringByAddingPercentEscapesUsingEncoding: 方法来转义后在进行打开。

    Use the sms scheme to compose a text message and specify a recipient.

    使用 sms scheme 来编写短信并指定接收人。

    The sms scheme is used to launch the Messages app. The format for URLs of this type is “ sms: <phone> ”, where <phone> is an optional parameter that specifies the target phone number of the SMS message. This parameter can contain the digits 0 through 9 and the plus ( + ), hyphen ( - ), and period ( . ) characters. The URL string must not include any message text or other information.

    sms scheme 用来启动 短信 app。这个 URL 的格式是 “ sms: <手机号> ”, <手机号> 是一个可选参数,这是用来指定短信发送到谁的手机号上。这个参数里可以包含数字0~9, + , - , . 。这个 URL 字符串中不能包含包括短信文本在内的其他信息。

    The following examples show strings formatted for Safari and for native apps.

    Use specially formatted URLs to open the Maps app and display directions or locations.

    用特定格式的 URL 来打开 地图 app 并显示指定方向或者坐标。

    The maps URL scheme is used to show geographical locations and to generate driving directions between two points. If your app includes address or location information, you can use map links to open that information in the Maps app in iOS or macOS.

    地图 URL scheme 用来显示地理位置以及两个地点之间的导航。如果你的 app 包含地址或者位置信息,你可以使用 map 链接在 iOS、macOS 地图 app 上打开该地址或位置。

    Unlike some schemes, map URLs do not start with a “maps” scheme identifier. Instead, map links are specified as regular http links and are opened either in Safari or the Maps app on the target platform.

    map URL 不像其他一些 scheme 使用 "maps" 开头。取而代之的是使用常规的 http 链接,并在 Safari 或者其他平台的 地图 app 中打开。

    Table 5-1 lists the supported parameters along with a brief description of each.

    表格 5-1 列举了每个支持的参数以及其简要说明。

    Table 5-1 Supported Apple Maps parameters

    You can use the maps URL scheme to help the user:

    你可以使用地图 URL scheme 帮助用户完成下面这些操作:

    To perform a search, supply a properly encoded URL string as the value of the q parameter. For example:

    使用一个经过编码的正确的URL字符串作为 q 参数的值来执行搜索。举个例子:

    http://maps.apple.com/?q=Mexican+Restaurant

    To specify a location for search, you can supply a value for the near parameter, or combine the sll parameter with either the z or sspn parameters. You can also set the map type using the t parameter, as shown here:

    在搜索指定位置时,你可以使用 near 参数,或者结合 z 或者 sspn 和 sll 参数共同使用。当然你也可以使用 t 参数来指定地图类型,比如这样:

    http://maps.apple.com/?q=Mexican+Restaurant&sll=50.894967,4.341626&z=10&t=s

    To provide navigation directions from one location to another, supply the start and destination addresses in the saddr and daddr parameters as shown below. You can also supply much more detail for the start and destination addresses than is shown here.

    使用 saddr 和 daddr 参数来指定起始以及目的地位置,从而提供导航功能。你还可以提供比如下示例中更多的详细参数。

    http://maps.apple.com/?saddr=Cupertino&daddr=San+Francisco

    To specify a transport type, you can use the dirflg parameter as shown here:

    如下所示,你可以使用 dirflg 参数指定交通方式:

    http://maps.apple.com/?saddr=San+Jose&daddr=San+Francisco&dirflg=r

    You can omit the start address when you want to provide directions “from here.” The following example shows a search from here that provides driving directions in a hybrid map.

    当你想从当前位置开始查询线路时,你可以忽略起始位置参数。下面这个例子展示了在混合地图中使用驾车到达指定地点的线路。

    http://maps.apple.com/?daddr=San+Francisco&dirflg=d&t=h

    To display a specific location, use the ll parameter to center the map at the specified position as shown here:

    要显示特定的位置,那么使用 ll 参数来指定地图中心点的坐标,如下所示:

    http://maps.apple.com/?ll=50.894967,4.341626

    Another way to display a location is to specify an address, such as:

    另一种显示特定位置的方式是使用指定的地址,如下所示:

    http://maps.apple.com/?address=1,Infinite+Loop,Cupertino,California

    If you use both the ll and address parameters, ll takes precedence over address . If you include a name in the value of the q parameter, Maps tries to match the name at the specified location.

    如果你同时使用了 ll 和 addres 参数,那么会优先使用 ll 参数。如果你的参数中包含了 q 参数,那么 地图 app 会尝试在指定位置处匹配这个名称。

    Use specially formatted URLs to open iTunes and display items in the iTunes Music Store.

    用特定格式的 URL 来打开 iTunes app 并显示 iTunes 音乐商店中的指定项目。

    The iTunes URL scheme is used to link to content on the iTunes Music Store. The iTunes URL format is complicated to construct, so you create it using an online tool called iTunes Link Maker. The tool allows you to select a country destination and media type, and then search by song, album, or artist. After you select the item you want to link to, it generates the corresponding URL.

    iTunes URL scheme 用来链接到 iTunes 音乐商店。由于 iTunes URL 的格式比较复杂,所以你可以使用 iTunes Link Maker 这个在线工具来创建。通过该工具,你可以对国家、媒体类型进行筛选并搜索歌曲、专辑或艺术家。当你选择了项目后会生成相应的 URL 。

    The following examples show the strings you would use in Safari and in a native iOS app to link to a song on the iTunes Music Store. The HTML example includes the complete link returned by the iTunes Link Maker tool, which includes a link to any appropriate artwork for the target link.

    下面这个例子展示了一个在 Safari 和 原生 iOS app 中可以使用的 URL 字符串。 HTML 例子中就包含了一个使用 iTunes Link Maker 工具生产的指向合适图片的链接。

    http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewAlbum?i=156093464&id=156093462&s=143441

    For more information on creating iTunes links, see iTunes Link Maker FAQ . That webpage contains a link to the iTunes Link Maker tool.

    有关 iTunes 链接 的详细格式方案信息,请参阅 iTunes Link Maker FAQ 。该网站中包含了 iTunes Link Maker 工具的链接。

    Use specially formatted URLs to open YouTube videos in Safari.

    在 Safari 中使用指定格式的 URL 打开 YouTube 视频。

    The YouTube URL scheme is used to connect to the YouTube website to play the specified video. If your app links to YouTube content, you can use this scheme to play videos from your app.

    YouTube URL scheme 用来打开 YouTube 网站并播放指定的视频。如果你的 app 有链接到 YouTube 的内容,那么你可以从 app 中跳转并播放视频。

    Unlike some schemes, YouTube URLs do not start with a “youtube” scheme identifier. Instead, they are specified as regular http links but are targeted at the YouTube server. The following examples show the basic strings you would use in Safari and in an app to show a YouTube video. In each example, you would need to replace the VIDEO_IDENTIFIER value with the identifier of the video you wanted to display:

    YouTube URL 并不像其他 scheme 一样以 "youtube" 开头。而是使用指向 YouTube 服务的常规 http 链接。以下例子中展示了在 Safari 和 app 中用来展示 YouTube 视频的基本字符串。在每个例子中你需要将 VIDEO_IDENTIFIER 替换成你想要播放的视频 id :

    以上就是关于地图url是什么意思相关问题的回答。希望能帮到你,如有更多相关问题,您也可以联系我们的客服进行咨询,客服也会为您讲解更多精彩的知识和内容。


    推荐阅读:

    冰冠堡垒入口景观设计(冰冠堡垒在哪个地图)

    公司位置怎么定位到微信地图上(公司位置怎么定位到微信地图上呢)

    黄浦区景观设计效果图推荐(黄浦区景点地图)

    丸美排行榜(丸美排名)

    家用空调排行榜前十名(家用中央空调排行榜前十名)