allenhwkim / angularjs-google-maps

The Simplest AngularJS Google Maps V3 Directive
http://ngmap.github.io
MIT License
1.52k stars 516 forks source link

Custom markers are not postioned exactly on the point #889

Open MartiniHenry1988 opened 4 years ago

MartiniHenry1988 commented 4 years ago

I have to draw a route between 2 points. I used custom markers. But these markers are not exactly placed on the point, they are placed a bit above or below the point. Here is the code:

<map zoom="14" center="48.8753925,2.3495081">
    <directions
     draggable="true"
     panel="directions-panel"
     travel-mode=""
     origin="48.8753925,2.3495081"
     destination="48.8759562,2.3462943">
    </directions>
    <custom-marker position="48.8753925,2.3495081">
         <img src="assets/images/common/icons/general/marker-loading.png">
    </custom-marker>
    <custom-marker position="48.8759562,2.3462943">
         <img src="assets/images/common/icons/general/marker-delivery.png">
    </custom-marker>
</map>

Is there any fix for this?