@Override
protected void populateParams() {
super.populateParams();
//si hay mas propiedades inflarlas aqui
Map m = (Map)component;
//events
m.setEventOnClick(eventOnClick);
m.setEventOnDblclick(eventOnDblclick);
m.setEventOnMouseOut(eventOnMouseOut);
m.setEventOnMouseOver(eventOnMouseOver);
m.setEventOnRightClick(eventOnRightClick);
//data
m.setMarkers2(markers2);
m.setMarkers(markers);
m.setGeocercas(geocercas);
m.setWidth(width);
m.setHeight(height);
m.setPolylines(polylines);
m.setPolylinesStrokeColor(polylinesStrokeColor);
m.setPolylinesStrokeOpacity(polylinesStrokeOpacity);
m.setPolylinesStrokeWeight(polylinesStrokeWeight);
m.setPolygon(polygon);
m.setPolygonStrokeColor(polygonStrokeColor);
m.setPolygonStrokeOpacity(polygonStrokeOpacity);
m.setPolygonStrokeWeight(polygonStrokeWeight);
m.setPolygonFillColor(polygonFillColor);
m.setPolygonFillOpacity(polygonFillOpacity);
//options
m.setBackgroundColor(backgroundColor);
m.setCenter(center);
m.setDisableDefaultUI(disableDefaultUI);
m.setDraggable(draggable);
m.setDraggableCursor(draggableCursor);
m.setDraggingCursor(draggingCursor);
m.setHeading(heading);
m.setKeyboardShortcuts(keyboardShortcuts);
m.setMapMaker(mapMaker);
m.setMapTypeControl(mapTypeControl);
m.setMapTypeControlOptions(mapTypeControlOptions);
m.setMapTypeId(mapTypeId);
m.setMaxZoom(maxZoom);
m.setMinZoom(minZoom);
m.setNoClear(noClear);
m.setOverviewMapControl(overviewMapControl);
m.setOverviewMapControlOptions(overviewMapControlOptions);
m.setPanControl(panControl);
m.setPanControlOptions(panControlOptions);
m.setScaleControl(scaleControl);
m.setScaleControlOptions(scaleControlOptions);
m.setScrollwhell(scrollwhell);
m.setStreetView(streetView);
m.setStreetViewControl(streetViewControl);
m.setStreetViewControlOptions(streetViewControlOptions);
m.setStyles(styles);
m.setTilt(tilt);
m.setZoom(zoom);
m.setZoomControl(zoomControl);
m.setZoomControlOptions(zoomControlOptions);
}