• Anna
    September 3, 2014 at 2:23 pm #74059

    In mapfunctions.js arond line 600 you have

    function custompinchild(){
    “use strict”;
    var custom_img;
    custom_img= mapfunctions_vars.path+’/’+’userpin’+’.png’;

    var image = {
    url: custom_img,
    size: new google.maps.Size(59, 59),
    origin: new google.maps.Point(0,0),
    anchor: new google.maps.Point(16,59 )
    return image;


    this line sets the pin size

    size: new google.maps.Size(59, 59),

    And at line 1089 also

    For the pin image you need to adjust also the origin and anchor values of the image object. You should read here https://developers.google.com/maps/documentation/javascript/markers to in order to get a better idea.

You must be logged in to reply to this topic.