Advertisement:

Author Topic: how to enable google maps on osclass  (Read 134 times)

moinuddin

  • Full Member
  • ***
  • Posts: 102
how to enable google maps on osclass
« 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??


WEBmods

  • Hero Member
  • *****
  • Posts: 936
  • github.com/webmods-croatia/love-osclass/ | patrick
Re: how to enable google maps on osclass
« Reply #1 on: August 02, 2019, 08:35:19 pm »
Hello!

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

Regards.

BritWeb

  • Hero Member
  • *****
  • Posts: 770
  • If it ain't broke, don't fix it.
Re: how to enable google maps on osclass
« Reply #2 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

WEBmods

  • Hero Member
  • *****
  • Posts: 936
  • github.com/webmods-croatia/love-osclass/ | patrick
Re: how to enable google maps on osclass
« Reply #3 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.

moinuddin

  • Full Member
  • ***
  • Posts: 102
Re: how to enable google maps on osclass
« Reply #4 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

BritWeb

  • Hero Member
  • *****
  • Posts: 770
  • If it ain't broke, don't fix it.
Re: how to enable google maps on osclass
« Reply #5 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!

moinuddin

  • Full Member
  • ***
  • Posts: 102
Re: how to enable google maps on osclass
« Reply #6 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 .

moinuddin

  • Full Member
  • ***
  • Posts: 102
Re: how to enable google maps on osclass
« Reply #7 on: August 03, 2019, 10:32:34 pm »
Its taking field from address field from current page.

BritWeb

  • Hero Member
  • *****
  • Posts: 770
  • If it ain't broke, don't fix it.
Re: how to enable google maps on osclass
« Reply #8 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!