Google maps marker slightly off center
Hi ,
Having just one little problem with google maps. When ever i search a location the marker is always a slightly off center. Take a look at the gif to understand my problem more. As you can see when a search for location has been entered the location comes up but the marker is not placed on the correct location.
when using this html code by it self it works. but when using this inside a template in wordpress i'm getting the problem where the marker is not centered.
even on codepen the marker is working and is centered back to position when a location has been searched, but using the same code in a template with wordpress i'm getting the above problem i explained. could this be a css problem or a interference with the template(newsmag). The white address info box is showing correctly, the marker should be beneath that Address box but as you can see in the gif the marker slightly goes to a different location.
any help would be great. I put everything on codepen hope this is a simple solution.
Thanks in advance