@Override public Value createDefaultValue(final Input input) { final String rootValue = input.getDefaultValue().getRootValue(); if (rootValue != null) { return ValueFactory.newGeoPoint(GeoPoint.from(rootValue)); } return super.createDefaultValue(input); }
@Override public Value createValue(final Value value, final InputTypeConfig config) { return ValueFactory.newGeoPoint(value.asGeoPoint()); }