在手机上打开此处地图网址 [英] Open here map url from mobile

查看:114
本文介绍了在手机上打开此处地图网址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发混合应用程序,并希望从任何设备(Android/iOS/Windows Phone/Web)访问HERE映射网址

I'm developing hybrid application and want to access to HERE map url from any device (android / ios / windows phone / web)

我试图按照以下答案进行操作:创建指向here.com的URL

I tried to follow this answer : Create URL to here.com

但并非在所有情况下都有效.

But It's not working in all cases.

就我而言,我尝试了以下网址: https://www.here.com/directions/drive/start:48.85,2.35/end:​​52.51,13.38

In my case, i tried this url : https://www.here.com/directions/drive/start:48.85,2.35/end:52.51,13.38

  • 未安装此处地图应用的Android:打开m.here.com-> 确定
  • 已安装这里"地图的Android:打开m.here.com,但未找到已安装的应用-> 失败
  • 未安装Here Map应用程序的iOS:打开m.here.com-> 确定
  • 安装了Here map应用程序的iOS:打开m.here.com,询问我们是否要使用安装的应用程序,但是如果我单击是",应用程序说我找不到行程"-> 失败
  • 未安装Here Map应用程序的Windows Phone 10:请我安装Here Map应用程序,如果我回答是",则重定向到存储,没有结果(失败),如果我回答否",则错误页面-> 失败
  • 已安装这里地图"应用程序的Windows Phone 10:打开应用程序,但说我找不到行程"-> 失败
  • 网络:确定
  • Android without Here map app installed : open m.here.com -> ok
  • Android with Here map installed : open m.here.com but do not find app installed -> failed
  • iOS without Here map app installed : open m.here.com -> ok
  • iOS with Here map app installed : open m.here.com and ask if we want to use app installed, but if i click yes, app say me 'cannot find itinerary' -> failed
  • Windows Phone 10 without Here map app installed : ask me to install Here map app, if i say yes, redirect to store with no result (failed), if i say no, error page -> failed
  • Windows Phone 10 with Here map app installed : open app but say me 'cannot find itinerary' -> failed
  • Web : ok

我遇到的错误比成功案例要多,所以我不能使用这种网址.

I have more errors than success cases, so i can't use this kind of url.

如果没有安装的应用程序,是否可以使用其他类型的URL打开m.here.com,如果已安装,则可以启动该应用程序? (或者至少在所有情况下都打开m.here.com)

Is there a different kind of URL that I can use to open m.here.com if there is no installed application, and launch application if it is installed? (or open m.here.com in all cases at least)

推荐答案

深度链接开发者指南最近已公开,您可以使用它.

The deeplinking developer guide has been recently made public, you could use that.

  • https://github.com/heremaps/map-linkbuilder-app
  • http://heremaps.github.io/map-linkbuilder-app/

因此,请尝试创建共享网址

So, try creating share urls

(您将得到类似这样的信息:

(You'll get something like this: https://share.here.com/r/52.51607,13.37699,Berlin%2C%20Germany/51.05364,13.74082,Dresden%2C%20Saxony%2C%20Germany?m=d&t=normal)

这篇关于在手机上打开此处地图网址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆