Osclass forums

Support forums => General help => Topic started by: moinuddin on August 02, 2019, 06:44:11 pm

Title: how to enable google maps on osclass
Post by: moinuddin on August 02, 2019, 06:44:11 pm
hi all,

i tried google maps plugin ..but it gets disappeared after 2 seconds .

does any one knows why this happened??

Title: Re: how to enable google maps on osclass
Post by: WEBmods on August 02, 2019, 08:35:19 pm
Hello!

Check your console for errors by pressing F12 and selecting "Console".

Regards.
Title: Re: how to enable google maps on osclass
Post by: BritWeb on August 03, 2019, 01:01:03 am
hi all,

i tried google maps plugin ..but it gets disappeared after 2 seconds .

does any one knows why this happened??

It's worth looking at this thread -> https://forums.osclass.org/general-help/important-google-is-going-to-charge-developers-for-using-their-map-api/

Regards
Title: Re: how to enable google maps on osclass
Post by: WEBmods on August 03, 2019, 01:12:04 am
hi all,

i tried google maps plugin ..but it gets disappeared after 2 seconds .

does any one knows why this happened??

It's worth looking at this thread -> https://forums.osclass.org/general-help/important-google-is-going-to-charge-developers-for-using-their-map-api/

Regards

Can you even get an API key if you don't enable billing?

Regards.
Title: Re: how to enable google maps on osclass
Post by: moinuddin on August 03, 2019, 11:45:53 am
hi webmods and britweb,

thanks for the solution.

google is asking for payment and credit card details to generate api key for maps.

i have used your solution ..but it showed the php codes on live page ..hence please let me know where exactly i have to enter those php codes.

i want to use it in public user profile page.

there is one doubt which i want to ask is that i have used html codes and its showing perfectly fine (still i need to enter php codes?).

i have attached the file

thanks in advance
Title: Re: how to enable google maps on osclass
Post by: BritWeb on August 03, 2019, 12:45:33 pm
@moinuddin

If you are referring to my reply, that thread is for placing google map on 'item.php' and all the details as how to do it are on that thread. You don't need an API Key from Google if you implement this.


Best of luck!
Title: Re: how to enable google maps on osclass
Post by: moinuddin on August 03, 2019, 10:30:39 pm
Thanks for codes britweb,

https://footwearwholesale.in/index.php?page=user&action=pub_profile&id=10

I have implemented only html codes (above comments) in the above page without the php codes..and its working fine .
Title: Re: how to enable google maps on osclass
Post by: moinuddin on August 03, 2019, 10:32:34 pm
Its taking field from address field from current page.
Title: Re: how to enable google maps on osclass
Post by: BritWeb on August 03, 2019, 11:50:19 pm
Thanks for codes britweb,

https://footwearwholesale.in/index.php?page=user&action=pub_profile&id=10

I have implemented only html codes (above comments) in the above page without the php codes..and its working fine .

Well done!