giansi/gravstrap-theme

Googlemaps is not working with the newest Version.

Closed this issue · 3 comments

Hello,

I just noticed that the google maps plugin is not working with the newest versions. Regarding the googlemaps plugin docs this is because of a missing assets in the new grav core. Maybe you can add it?
Tried it in my environment and worked fine, before was only a grey background.

Googlemaps Doc

{% block bottom %}
    {{ assets.js('bottom') }}
{% endblock %}

Added the assets.js bottom to the base.html.twig.

@Hanfrey, I made an issue here in the gravstrap github about a googlemaps bug I noticed. I think it is the same bug.

Can you pinpoint exactly where these files that you edited are located to get maps to work?

There is a bug ìn the latest googlemaps plugin. I'm working on a new shortcode to solve the issue

Just released gravstrap plugin v1.0.3 which solves this issue.