code: public void accept(PainterVisitor visitor, Object group, Bbox bounds, boolean recursive) {
  		if (googleMap == null) {
  			// create as first child of raster group
  			map.getRasterContext().drawGroup(null, this);
  			String id = map.getRasterContext().getId(this);
  			String graphicsId = map.getVectorContext().getId();
  
  			googleMap = createGoogleMap(id, graphicsId, type.name(), showMap, getVerticalMargin(),
  					getHorizontalMargin(), getVerticalAlignmentString());
  		}
  	}
docs: MapAddon implementation: