Okay
  Public Ticket #968770
google map pointer
Closed

Comments

  •  2
    Les Majszki started the conversation

    Hi there

     So i tried to change the map pointer to a custom one i made but when the page loads the map pointer is the same as it came with the template. What do i have to do in order to change the pointer? I even changed the name of the image and also changed the path in the js to the new image name but still shows the old pointer.

    Thanks

    Lester

  •  850
    Jelly replied

    Hi,

    Please open file: default.js, then search: pointer and you will see the code look like below:

    var marker = new google.maps.Marker({
                    position: new google.maps.LatLng(40.6700, -73.9400),
                    map: map,
                    title: 'Your company',
                    icon: 'images/map/pointer.png'
                });
    

    Change the icon with link to your icon and make sure change the position to your position.

    You can check more details here: http://stackoverflow.com/questions/10376617/how-do-you-create-a-marker-with-a-custom-icon-for-google-maps-api-v3.

    Best Regards,
    Jelly Team