Open gustawdaniel opened 5 years ago
It potentially can be connected with #53 because of I have some (three) components on one page.
On production I have error:
This page can't load Google Maps correctly. Do you own this website?
I am also getting the same error. I just integrated this package never used any google cloud services before.
Hi @marufmax. I solved it. There is a description:
1) You should have API_KEY, but not any API_KEY. It has to be API_KEY with proper scope - scope to places google api.
To get it you should go to page
Select one of the options:
In our case places, but you can select more if you want to have more universal API_KEY.
Next, connect it with your account. But look at pricing.
https://developers.google.com/places/web-service/usage-and-billing
Before changes prices were the following:
Standard Plan quota is calculated as the sum of client-side and server-side requests.
Now pricing is changed. The most interesting part here:
I worried about the article
https://www.reddit.com/r/webdev/comments/8vrkm6/google_places_api_new_pricing_from_0_to_2180_per/
It means that when you start using this package and update an address on any key pressed you should consider about 5 - 20 requests for one usage of this component by the user. In worst case 1000 usages mean
20 * 32 USD.
Finally, I resigned from this component and stop using it after changes in pricing, but what you will do it is your decision. In my case, I come back to geocoding api that is cheapest and works like a charm.
https://developers.google.com/maps/documentation/geocoding/intro
Can be 134 line of
https://github.com/olefirenko/vue-google-autocomplete/blob/master/src/VueGoogleAutocomplete.vue
changed to use Geocoding?
I anyway will no use this component and tyme my own, but for further users, pricing issue can make a big difference.
@gustawdaniel Thanks for your nice explanation. Yeah, I've also seen that Google has changed their map API usages price. Do you have anything alternative in your mind? Like, Foursquare or Here.com or other maps?
I mentioned geocoding api. Try a command like this
http "https://maps.google.com/maps/api/geocode/json?key=API_KEY&sensor=false&address=Partęczyny 11"
with httpie and your API_KEY with enabled geocoding api. It is free. But it is my first contact with
and
These services look promising. I don't have any experience and opinion about them.
If your problem is and can't increase Now let create a new project and Make sure that billing is enabled for your Cloud project before the result for u
If your problem is and can't increase Now let create a new project and Make sure that billing is enabled for your Cloud project before the result for u
That's help! Thanks a lot
Thanks @hoanghuychh That's work. I couldn’t figure out why but after I create a new Project with the previous billing account enabled then no longer have "Limit 1 Map loads per day" anymore.
I have the same problem. I create new project under nonprofit account and have geocoding quota of unlimited request per day. After one day, the quota changed to limit 1 request perday. Please guide me on the problem with thanks!
I have the same problem. I create new project under nonprofit account and have geocoding quota of unlimited request per day. After one day, the quota changed to limit 1 request perday. Please guide me on the problem with thanks!
me too, did you solve it?
me too, did you solve it?
Google hiện đã chặn VN, số quotas bị giới hạn đến mức không dùng đc luôn rồi. Hiện tại muốn dùng đc thì phải đổi tài khoản thanh toán thành tài khoản nước ngoài thì mới dùng đc https://tinhte.vn/thread/google-map-api-bi-chan-o-viet-nam-va-giai-phap-cho-cac-ung-dung.2937196/
me too, did you solve it?
Google hiện đã chặn VN, số quotas bị giới hạn đến mức không dùng đc luôn rồi.
Hiện tại muốn dùng đc thì phải đổi tài khoản thanh toán thành tài khoản nước ngoài thì mới dùng đc
https://tinhte.vn/thread/google-map-api-bi-chan-o-viet-nam-va-giai-phap-cho-cac-ung-dung.2937196/
Em cũng có thử nhưng được vài hôm Google cũng limit lại về 1 request bác ạ, cứ vài ngày phải tạo 1 tk khá mất công
Em cũng có thử nhưng được vài hôm Google cũng limit lại về 1 request bác ạ, cứ vài ngày phải tạo 1 tk khá mất công
Bây giờ nếu không có tk nước ngoài thì bỏ google map thôi. Có vài giải pháp thay thế để tham khảo như Goongmap hay EKMap hơi mệt chút nhưng dùng cũng đc
I have error: