pH7Software / pH7-Social-Dating-CMS

😻 pH7Builder (formerly pH7CMS) is a Professional & Open Source Social Dating CMS written in PHP 8 🚀 This Social Dating Script aims to be low resource-intensive, powerful and secure. pH7Builder includes over 40 modules. It is the first Professional, Free & Open Source Social Dating Site Builder Software and the first choice for enterprise level Da
https://pH7Builder.com
MIT License
952 stars 574 forks source link

Google maps is a bad example of use. Allow alternative such as OSM #380

Open yuri25 opened 5 years ago

yuri25 commented 5 years ago

Due to the commercialization of using google api cards, please make an alternative to google maps, for example OSM (OpenStreetMap). $ 7 for every 1000 map downloads makes it difficult to use their technology on a less visited site. Charges for the use of maps are simply huge ...

pH-7 commented 5 years ago

Hi there,

Very good question! I already investigated for alternative maps, in order to offer different map providers in the software.

However, right now there is no plan for implementing an alternative map because of lack of time.

If there is an awesome developer here 💪, feel free to implement an alternative map to pH7CMS, and open a PR. I will be pleased to review it 😊

Note: From v14.8, I added the possibility to disable the "maps" features (admin panel -> Mods -> Enable/disable modules -> uncheck "Google Maps"). So you won’t have broken maps if you didn’t setup a billing account at your Google API account. This might be a solution for you...

Hope this helps! 🤞 And welcome to the community! 🎉

P.S. I think, your subject "Google is a bad example of use" looks wrong to me... Before, Google Maps was number one for maps. It was by far the best (and it is still the best map service available on the market!). It didn’t even required an api key before June 2016. That’s why "Google Maps was the first choice. Now, I can agree with you that it might not be the best choice for people who just start and are not willing to pay if they exceed 25,000 free requests per day (but 25,000 requests is still a lot, before you sill have to pay per request).

Thank you for your suggestion anyway 😀 Highly appreciated!

GigaaG commented 5 years ago

Hi there! @pH-7 where can I find the Google Maps code? Maybe I can have a look at it later this week.

pH-7 commented 5 years ago

@yuri25 Here https://github.com/pH7Software/pH7-Social-Dating-CMS/tree/master/_protected/framework/Geo/Map You will have to create a new dedicated class for it.

Then, the maps are displayed in two different places (for the profile page and the country "nearby" page):

Awesome if you could do it 💪

OttoKoester commented 4 years ago

Hi there,

Very good question! ( ... ) Thank you for your suggestion anyway 😀 Highly appreciated!

Hi, I'm trying to configure the Google API, I know that there is free request, but still giving that message, “For development purposes only” ... I could find some topics about it, but it looks like Google ask a Billing Address or a Credit Card to allow a minimum free usage, if I#m correct, is there any possibility to allow a minimum free usage API without a billing address or billing account by Google ...???