Skip to content

removed sensor parameter in googlemaps js link, moved javascript incl…#20

Open
link82 wants to merge 1 commit intobeyondthestory:masterfrom
link82:feature/gmaps-api-fix
Open

removed sensor parameter in googlemaps js link, moved javascript incl…#20
link82 wants to merge 1 commit intobeyondthestory:masterfrom
link82:feature/gmaps-api-fix

Conversation

@link82
Copy link
Copy Markdown

@link82 link82 commented Nov 8, 2017

I noticed Google Maps deprecated the usage of "sensor" parameter inhibiting the initialization of the map if present, so i removed it:
https://developers.google.com/maps/documentation/javascript/error-messages#sensor-not-required

Sometimes I've received initialization errors apparently because init_map_field definition was invoked too soon by google maps script, before it has been defined so i moved gmap script include tag after it.

Thanks,
Davide

…ude tag after int_map_field function definition
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant