class OverviewMapItem extends Item
Add an overview map to a carto document
| Type | Name and description | 
|---|---|
Style  | 
                            areaStyle | 
                        
Map  | 
                            linkedMap | 
                        
Map  | 
                            overviewMap | 
                        
double  | 
                            scaleFactor | 
                        
boolean  | 
                            zoomIntoBounds | 
                        
| Constructor and description | 
|---|
                                OverviewMapItem(int x, int y, int width, int height)Create a Overview Map from the top left with the given width and height.  | 
                        
| Type Params | Return Type | Name and description | 
|---|---|---|
 | 
                            OverviewMapItem | 
                            areaStyle(Style style)Set the area Style  | 
                        
 | 
                            OverviewMapItem | 
                            linkedMap(Map map)Set the linked Map  | 
                        
 | 
                            OverviewMapItem | 
                            overviewMap(Map map)Set the overview Map  | 
                        
 | 
                            OverviewMapItem | 
                            scaleFactor(double scaleFactor)Set the scale factor for expanding the linked Map bounds  | 
                        
 | 
                            java.lang.String | 
                            toString() | 
                        
 | 
                            OverviewMapItem | 
                            zoomIntoBounds(boolean zoomIntoBounds)Set whether to zoom into the bounds of the linked Map or not  | 
                        
| Methods inherited from class | Name | 
|---|---|
class Item | 
                            getRectangle | 
                        
Create a Overview Map from the top left with the given width and height.
x -  The number of pixels from the lefty -  The number of pixels from the topwidth -  The width in pixelsheight -  The height in pixelsSet the area Style
style -  The area StyleSet the linked Map
map -  The linked MapSet the overview Map
map -  The overview MapSet the scale factor for expanding the linked Map bounds
scaleFactor -  The scale factorSet whether to zoom into the bounds of the linked Map or not
zoomIntoBounds -  Whether to zoom into the bounds of the linked Map or notGroovy Documentation