Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Just installed the latest dev today and went straight to the OPenLayers Test Page.
All of the JS Testing clears fine, but there's no map.
Under Test Behaviours we get:
Error during map rendering: TypeError: str is undefined
I may have missed something in the README, but shouldn't we get a test map straight up?
A quick peek at the Layers list didn't scream out at me "You must enable something" ...
And I also noticed that the API page is still expecting an API rego number for GoogleMpas, but I believe this is no longer required. (Sorry, diff issue)
What am I missing out of the box?
Thanks in advance...
Comment | File | Size | Author |
---|---|---|---|
#3 | atlas-openlayers.jpg | 174.27 KB | boabjohn |
Comments
Comment #1
Vikom CreditAttribution: Vikom commentedI'm having the same error message and my map doesn't render. But only in FF, works fine in chrome.
Comment #2
Vikom CreditAttribution: Vikom commentedProblem solved now. I removed the Zoom to location setting under behaviors when editing the preset.
Comment #3
boabjohn CreditAttribution: boabjohn commentedInteresting approach! I don't actually see a "Zoom to location" setting in my Behaviours. The closest thing is "Zoom to Max Extent"
I turned this off, and got a partially loaded map, but the str error remains. See attached...caches flushed of course.
Comment #4
zzolo CreditAttribution: zzolo commentedIs this still a problem? I haven't seen this in a while.
Comment #5
ken-g CreditAttribution: ken-g as a volunteer and commented