Advertisement:

Author Topic: OpenStreetMap Maps  (Read 1139 times)

Hartenheer

  • Guest
Re: OpenStreetMap Maps
« Reply #15 on: June 23, 2018, 04:38:07 pm »
Switch to Bender theme and check again. I definitely see map holder, even with no map loaded.
I don't understand about keys, you can generate them in MQ's dashboard. Secret key is not used.

I have condoned it in Bender, unfortunately only an empty card.
I have the key, which you have to fill in index.php
The secret key, no idea where to enter it.

I'm afraid there's the fault somewhere.
If I do not use a key, I have the same result as with a key

Even though a new key unfortunately did not try anything

Ik heb het gecondoleerd in Bender, helaas ook alleen een lege kaart.
De sleutel heb ik, die moet je invullen in index.php
De geheime sleutel, geen idee waar die ingevuld moet worden.

Ik ben bang dat daar ergens de fout zit.
Als ik geen sleutel gebruik dan heb ik hetzelfde resultaat als met sleutel

Ook al een nieuwe sleutel geprobeerd helaas niets
« Last Edit: June 23, 2018, 04:45:42 pm by Hartenheer »

dev101

  • Osclass Hero
  • Hero Member
  • *
  • Posts: 2118
  • osclass.work
Re: OpenStreetMap Maps
« Reply #16 on: June 25, 2018, 03:03:10 pm »
Sorry, I have no idea from your description what could be wrong on your side. I have checked the plugin, and it is working. Again, secret key is not used, you don't need it for plugin. I suggest you install a fresh Osclass and test it again, preferably on new domain and server.

Regards
dev101

Hartenheer

  • Guest
Re: OpenStreetMap Maps
« Reply #17 on: June 25, 2018, 03:54:38 pm »
Then it would be the second time that I start again.

Lost all members and ads.
Will think about this, maybe I'll stop right away.


Dan zou het de tweede keer zijn dat ik opnieuw begin.

Alle leden en advertenties kwijt.
Zal hier over denken, misschien stop ik wel helemaal.

Hartenheer

  • Guest
Re: OpenStreetMap Maps
« Reply #18 on: June 25, 2018, 05:39:51 pm »
I have tried again, is really on OpenStreetMap Maps.
Is blocked because it is http.
Show blockade unsafe script and see the result.

Does not work on a https site


Ik heb het opnieuw geprobeerd, ligt echt aan OpenStreetMap Maps.
Wordt geblokkeerd omdat het http is.
Blokkade onveilige script tonen en zie het resultaat.

Werkt dus niet op een https site




dev101

  • Osclass Hero
  • Hero Member
  • *
  • Posts: 2118
  • osclass.work
Re: OpenStreetMap Maps
« Reply #19 on: June 25, 2018, 06:04:04 pm »
Hi, all I can say is to give it a try with my plugin version (green right button > Clone or Download > select .zip)

https://github.com/dev-101/open_street_maps

Replace your public API key in index.php file. This version also has a debug function to see what you get for a response directly on item page; you can use it as per README.md file instructions.

Regards
dev101

dev101

  • Osclass Hero
  • Hero Member
  • *
  • Posts: 2118
  • osclass.work
Re: OpenStreetMap Maps
« Reply #20 on: June 25, 2018, 06:05:50 pm »
I have tested it in localhost (without a real domain) and on plain http, it worked. Maybe their API detects localhost and white lists it, for dev / testing purposes, but if it's on a real domain, then it gets blocked. I don't really know, don't have much time to test all that now.

Regards
dev101

Hartenheer

  • Guest
Re: OpenStreetMap Maps
« Reply #21 on: June 25, 2018, 06:45:47 pm »
Many thanks for your help.
Unfortunately it does not work yet.

Give it up to get this on my site.


Heel veel dank voor uw hulp.
Helaas lukt het nog niet.

Geef het maar op om dit op mijn site te krijgen.

felipel

  • Newbie
  • *
  • Posts: 2
Re: OpenStreetMap Maps
« Reply #22 on: November 03, 2018, 10:19:15 pm »
I have been trying to get OSM working and my experiences seem to fit in with what I am hearing. So, consider me another data point. What I am looking for are tome debugging tips.

First, let me say that the block for the map gets included in some themes but not in others. But, that's a different subject.
I looked at the generated page source (that is, HTML with coordinates and such plugged into the JavaScropt) and it looked fine. So, I copied it, pasted in in a local HTML page and accessed it. The map displayed just fine. But, the page I grabbed the code from doesn't display it. The space is allocated but no map.