Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught SyntaxError: Unexpected token , in Google map when lat / long is null #25

Open
bobbingwide opened this issue May 27, 2017 · 0 comments
Assignees

Comments

@bobbingwide
Copy link
Owner

bobbingwide commented May 27, 2017

When the "googlemap" virtual field is displayed with lat or long set to null then an Uncaught SyntaxError message is produced in the browser.

This was originally reported as bobbingwide/oik/issues/44

Proposed solution

Only call bw_googlemap_v3() if both $lat and $long are numeric.
See also #2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant