There is a marker and label-numbers on it. How can you indent them?

    2 answers 2

    You need to use MarkerWithLabel when creating a marker. The example describes the process of inserting your block into the labelContent field.

    var marker = new MarkerWithLabel({ position: homeLatLng, draggable: true, raiseOnDrag: true, map: map, labelContent: "<div class='arrow'></div><div class='inner'>$425K</div>", labelAnchor: new google.maps.Point(0, 0), labelClass: "labels", // the CSS class for the label isClicked: false }); 

    and then css indent.

       new google.maps.Size(x,y) 

      Please look here:

      https://developers.google.com/maps/documentation/javascript/overlays#Markers

      This is a link to off. Descriptions of exactly what you are asking.