raykeating / strapi-location-field-plugin Goto Github PK
View Code? Open in Web Editor NEWA Strapi plugin to enable a custom location field with autocomplete input
License: MIT License
A Strapi plugin to enable a custom location field with autocomplete input
License: MIT License
Fresh install, no requests are firing to google maps.
Config.json and Middleware.json are configured as your readme states. The plugin does appear in the admin but isn't making any API requests to the Places API as I'd expect.
Fresh Google Maps key, no console errors either. From what I can tell there is no request firing on input but also no JS errors. Looking for validation that this functions on the newest version of Strapi before I dig in further to what might be going wrong.
Hi Ray
Thank you for the great plugin.
Do you plan to add the ability to have multiple location selections?
Hi,
We are trying to include some additional fields in out implementation like price_level or reviews. Unfortunately our response is not including these fields. Do somebody have experience with this issue? Thanks for any advice!
I am not able to see the location field when "Create an entry"
Content-Type Builder
Content Manager
Install package
Add config/plugins.js & add settings to file
Adjust middlevares.js
Add GOOGLE_MAPS_API_KEY in .env
Build project
Start project with strapi develop
When "Create an entry" location field is available
OS: [Linux Ubuntu 20.04]
strapi: v4.11.1
node: v16.20.0
npm: v8.19.4
Edit:
I don't know what the issue was, but i solved it by reinstalled the project with preferred language as javascript instead.
Do you have a nice solution to autofill content types like: city, houseNumber, country, postalCode, etc. Based on the google location autocomplete return (field: address_components)?
In what table is the information of latitude and location saved?
i could not find the table in the database.
I have meilisearch installed and i want to can search for those field saved. I only see the field "lcoation" as null in the main content-type table
Hi,
How should send the data thought REST api to create or update this custom field?
Really thanks for this work, works perfect.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.