allenhwkim/angularjs-google-maps

Custom markers are not postioned exactly on the point

Opened this issue · 0 comments

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?