Код: Выделить всё
SQLitePCL.SQLite3Provider_dynamic_cdecl.Setup("libspatialite", new CustomSqliteAdapter("libspatialite"));
SQLitePCL.raw.SetProvider(new SQLite3Provider_dynamic_cdecl());
Код: Выделить всё
var insertQuery = @"
INSERT INTO places (name, geom)
VALUES (?, GeomFromText(?, 4326));";
var pointWKT = $"Point({-122.4194} {37.7749})";
await connection.ExecuteAsync(insertQuery, "Sample Point", pointWKT);
MauiSqlite.SQLite.SQLiteException: 'нет такой функции: GeomFromText'
Подробнее здесь: https://stackoverflow.com/questions/787 ... omfromtext
Мобильная версия