|
|
@@ -37,7 +37,7 @@ public class DeviceTagsService extends GenericReactiveCrudService<DeviceTagEnti
|
|
|
String[] split = entity.getValue().split(",");
|
|
|
geometry.getCoordinates().add(split[0]);
|
|
|
geometry.getCoordinates().add(split[1]);
|
|
|
- geometry.setType(GeoType.ID);
|
|
|
+ geometry.setType("Point");
|
|
|
instanceService.findById(entity.getDeviceId())
|
|
|
.flatMap(device->{
|
|
|
geoProperty.setFrom("tag");
|