问题标签 [commercial-application]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
36 浏览

ios - 使用谷歌地图路线网址可免费用于商业用途吗?

例如https://www.google.com/maps/dir/?api=1&travelmode=driving&origin=37.785310,-122.406096&destination=37.179518,-120.467905&waypoints=37.185310,-122.106096%7C37.279518,-121.86709%C37 .279518,-121.067905

这是使用以下代码从 ios 应用程序打开的

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:routeUrlString] options:@{} completionHandler:nil];

这将根据可用性在谷歌地图应用程序或浏览器中打开 URL。

需要确认将这种方式用于商业目的是合法且免费的吗?谷歌官方来源网址,提到这将非常有帮助