Closed ghost closed 5 years ago
Hi @Enmaboya ! In this case it is because the spatialType of Point means a 'real' spatial type in the database. I am assuming your coordinates field is a text field? If so then it currently doesn't accomodate that scenario. However it can and should! Are you willing to try and PR a new SpatialType maybe 'LatLonField'?
David
I have added a new spatial type 'LatLonField'
Map::make('Field Title', 'coordinates')
->spatialType('LatLonField')
It is also documented in the readme 😄 Update to v0.0.3 to get it!
Thanks again
hi! I added a field to my resource Map :: make ('Some Point Field', 'coordinates') -> spatialType ('Point'),
but nothing is displayed. my coordinates are written like this: 54.303910, 48.301921.
what could be wrong?