示例#1
0
 @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);
 }
示例#2
0
 @Override
 public Value createValue(final Value value, final InputTypeConfig config) {
   return ValueFactory.newGeoPoint(value.asGeoPoint());
 }