Your address will show here +12 34 56 78

Home Forums WP RESIDENCE – Real Estate WordPress Theme FORUM Change Pin Dimension Size in RESIDENCE

This topic contains 0 replies, has 1 voice, and was last updated by  Anna 3 years ago.

  • Author
  • #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 to in order to get a better idea.

You must be logged in to reply to this topic.