UIDL selectStateUIDL = statesUIDL.getChildUIDL(1);
GwtMarkerState markerHoverState = getMarkerState(hoverStateUIDL);
GwtMarkerState markerSelectState = getMarkerState(selectStateUIDL);
if (markerHoverState != null || markerSelectState != null) {
VConsole.log("Setting marker states...");
GwtMarkerStates markerStates = GwtMarkerStates.create();
if (markerHoverState != null) {
markerStates.setHover(markerHoverState);
}
if (markerSelectState != null) {
markerStates.setSelect(markerSelectState);
}
marker.setStates(markerStates);
}
}
VConsole.log("Exit [getMarkerOptions]");