谷歌地图与wordpress页面上的指示 [英] Google maps with directions on a wordpress page

查看:123
本文介绍了谷歌地图与wordpress页面上的指示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我怎样才能得到一张简单地展示如何在我的WordPress页面上使用汽车从A到B的地图?



我曾经在Google地图直接地,我制作了一张地图,显示从A到B的道路并将其嵌入到页面中。它曾经很容易。在地图下方,我有一个链接到Google地图中的相同地图,您也可以获得书面指示。但就像一个月前,Google改变了他们的地图,我的地图全部搞砸了。链接也是如此。现在我正试图解决这个问题并制作新的地图。



我曾经在谷歌地图上直接尝试过,就像我以前所做的那样,这是最接近我所寻找的内容: https://developers.google.com/maps/documentation/embed/start 。但我觉得很难定制,因为很少有选择。我也尝试了很多不同的插件,但到目前为止没有运气。

有没有更好的方法来做到这一点? 如果您想自定义地图,我只能强烈建议您使用Google地图API。 这里是一个很好的例子,说明如何整合方向服务到地图并显示在您的网页上。


How can I get a map that simply shows how to get from A to B with a car on my WordPress page?

I used to do this in Google maps directly, I made a map showing the road from A to B and embed it on the page. It used to be so easy. And under the map I had a link to the same map in Google Maps where you also could get written directions. But like a month ago, Google changed their maps and all my maps got messed up. The links as well. Now I am trying to fix this and make new maps.

I have tried in Google maps directly like i used to do, and this is the closest I get to what I am looking for: https://developers.google.com/maps/documentation/embed/start. But I find that very hard to customize, because there are very few options. I have also tried a lot of different plugins, but so far no luck.

Is there a better way to do this?

解决方案

If you want to customize the map, I can only strongly recommend you the Google Maps API. Here is a good example of how to integrate the directions service into a map and display it on your web page.

这篇关于谷歌地图与wordpress页面上的指示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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