{"action":"created","issue":{"url":"https://api.github.com/repos/jawj/OverlappingMarkerSpiderfier/issues/85","repository_url":"https://api.github.com/repos/jawj/OverlappingMarkerSpiderfier","labels_url":"https://api.github.com/repos/jawj/OverlappingMarkerSpiderfier/issues/85/labels{/name}","comments_url":"https://api.github.com/repos/jawj/OverlappingMarkerSpiderfier/issues/85/comments","events_url":"https://api.github.com/repos/jawj/OverlappingMarkerSpiderfier/issues/85/events","html_url":"https://github.com/jawj/OverlappingMarkerSpiderfier/issues/85","id":57290318,"number":85,"title":"OverlappingMarkerSpiderfier is not defined","user":{"login":"ludal74","id":4600920,"avatar_url":"https://avatars.githubusercontent.com/u/4600920?v=3","gravatar_id":"","url":"https://api.github.com/users/ludal74","html_url":"https://github.com/ludal74","followers_url":"https://api.github.com/users/ludal74/followers","following_url":"https://api.github.com/users/ludal74/following{/other_user}","gists_url":"https://api.github.com/users/ludal74/gists{/gist_id}","starred_url":"https://api.github.com/users/ludal74/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ludal74/subscriptions","organizations_url":"https://api.github.com/users/ludal74/orgs","repos_url":"https://api.github.com/users/ludal74/repos","events_url":"https://api.github.com/users/ludal74/events{/privacy}","received_events_url":"https://api.github.com/users/ludal74/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2015-02-11T08:56:32Z","updated_at":"2016-10-03T14:56:35Z","closed_at":null,"body":"Hi, \r\n\r\nI dowloaded the min js file lib and include the code directly in my JS file ( on top ). But when I tried to instanciate the OverlappingMarkerSpiderfier Object I have the following error : \r\n\r\nUncaught ReferenceError: OverlappingMarkerSpiderfier is not defined\r\n\r\nThanks in advance"},"comment":{"url":"https://api.github.com/repos/jawj/OverlappingMarkerSpiderfier/issues/comments/251129127","html_url":"https://github.com/jawj/OverlappingMarkerSpiderfier/issues/85#issuecomment-251129127","issue_url":"https://api.github.com/repos/jawj/OverlappingMarkerSpiderfier/issues/85","id":251129127,"user":{"login":"SatdayaStudios","id":247637,"avatar_url":"https://avatars.githubusercontent.com/u/247637?v=3","gravatar_id":"","url":"https://api.github.com/users/SatdayaStudios","html_url":"https://github.com/SatdayaStudios","followers_url":"https://api.github.com/users/SatdayaStudios/followers","following_url":"https://api.github.com/users/SatdayaStudios/following{/other_user}","gists_url":"https://api.github.com/users/SatdayaStudios/gists{/gist_id}","starred_url":"https://api.github.com/users/SatdayaStudios/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SatdayaStudios/subscriptions","organizations_url":"https://api.github.com/users/SatdayaStudios/orgs","repos_url":"https://api.github.com/users/SatdayaStudios/repos","events_url":"https://api.github.com/users/SatdayaStudios/events{/privacy}","received_events_url":"https://api.github.com/users/SatdayaStudios/received_events","type":"User","site_admin":false},"created_at":"2016-10-03T14:56:35Z","updated_at":"2016-10-03T14:56:35Z","body":"Google maps must load before OMS, and this can be a problem if using async defer. This is what I did to resolve the issue - first, load the Google Map in the head:\r\n\r\n`<script async defer src=\"https://maps.googleapis.com/maps/api/js?library=places\"></script>`\r\n\r\nThen load OMS with just defer in the footer or before the closing body tag:\r\n\r\n`<script defer src=\"[your_url]/oms.min.js\"></script>`\r\n\r\nThis solved the OMS undefined problem for me by deferring the loading of OMS until after all preceding scripts have been loaded."}}
{"actor":{"display_login":"SatdayaStudios"}}