Draw Rectangles in Area on Google Maps

后端 未结 2 441
傲寒
傲寒 2021-02-06 15:10

I\'m drawing an area on Google Maps using the Geometry API. I want to know if it is possible to draw a repeating element onto an area that is dynamic in size?

For exampl

2条回答
  •  逝去的感伤
    2021-02-06 15:33

    @Joshua M

    Sorry for keeping you wait. Ok, the new code is below. You can specify the small box size at var boxSize = new google.maps.Size(10, 20);


    
    
      
        
        
        
      
      
    
        

    enter image description here

提交回复
热议问题