Categories

有特色的模板

Joomla 3.x排忧解难. 谷歌地图不显示(API关键问题)

丹尼尔·莫拉莱斯 2016年7月13日
Rating: 4.7/5. 从3票开始.
请稍等...

本教程将向您展示如何处理 “此页无法显示谷歌地图元素” error in Joomla模板.

谷歌宣布了谷歌地图api的一些变化 认证和使用限制.

使用谷歌地图 api现在需要一个密钥. 如果您正在使用 谷歌地图 API on localhost or your domain 在2016年6月22日之前没有激活,它将需要一个密钥向前推进. 这就是发生这种错误的原因.

Joomla_故障诊断程序_Google_maps_do_not_show_up_0

要解决此问题,请遵循以下步骤:

  1. Go to http://developers.google.com/maps/documentation/javascript/get-api-key website 创建身份验证密钥 “拿钥匙” button;

    Joomla_故障诊断程序_Google_maps_do_not_show_up_1
  2. Select “创建一个项目” 选项,然后点击 ‘Continue’;

    Joomla_故障诊断程序_Google_maps_do_not_show_up_2
  3. 指定所需的凭据: Name, Website URL 然后点击 ‘Create’ button;

    Joomla_故障诊断程序_Google_maps_do_not_show_up_3
  4. 复制你的新 API Key:

    Joomla_故障诊断程序_Google_maps_do_not_show_up_4
  5. Login to Joomla Dashboard 然后导航到 Extensions > Plugins section;

    Joomla_故障诊断程序_Google_maps_do_not_show_up_5
  6. Open the “谷歌地图” plugin 编辑:

    Joomla_故障诊断程序_Google_maps_do_not_show_up_6
  7. 导航到 “一般设置” tab;

    Joomla_故障诊断程序_Google_maps_do_not_show_up_7
  8. 向下滚动并粘贴新创建的 API 钥匙 ‘Googlemaps API Key’ 字段并保存更改;

    Joomla_故障诊断程序_Google_maps_do_not_show_up_8
  9. 刷新你的 website. 谷歌地图现在工作正常.

    Joomla_故障诊断程序_Google_maps_do_not_show_up_9
Joomla专业模板
这个条目被张贴了出来 Joomla! Tutorials and tagged api, Joomla, map, 故障诊断程序. 书签的 permalink.

提交罚单

如果您仍然无法找到关于您的问题的足够的教程,请使用以下链接向我们的技术支持团队提交请求. 我们将在接下来的24小时内为您提供我们的帮助和协助: 提交罚单