Has anyone tried using custom markers for google maps? It somehow always appears slightly off from the actual point. Is there a workaround to this? Here is my code:
To solve the marker offset problem, just set the anchor yourself with
Marker.setIconAnchor(Point2D.Double)
. For example, if I have a 16x16 custom bulls-eye marker and I want it to sit directly on the location, I’d call