首页 > flask web development,换成百度地图后仍然无法显示地理位置?

flask web development,换成百度地图后仍然无法显示地理位置?

{% extends "base.html" %}
{% block title %}Flasky-{{ user.username }}{% endblock %}

{% block page_content %}
<div class="page-header">
    <h1>{{ user.username }}</h1>
    {% if user.name or user.location %}
    <p>
        {% if user.name %}{{ user.name }}{% endif %}
        {% if user.location %}
        From <a href="http://map.baidu.com/?q={{ user.location }}">
            {{ user.location }}
        </a>
    {% endif %}
    </p>
    {% endif %}
{% if current_user.is_administrator() %}
<p><a href="mainto:{{ user.email }}">{{ user.email }}</a></p>
{% endif %}
{% if user.about_me %}<p>{{ user.about_me }}</p>{% endif %}
<p>
    Member since {{ moment(user.member_since).format('L') }}.
    Last seen {{ moment(user.last_seen).fromNow() }}.
</p>
</div>
{% endblock %}

应该是地图的api使用的不对吧

【热门文章】
【热门文章】