OpenMaps Only Works With Satellite And That is All (Empire Template) - Question | JoomShaper
SP Page Builder 6 is Here! Learn More →

OpenMaps Only Works With Satellite And That is All (Empire Template)

S

Sam

Template 4 years ago

We are using the Empire Tempalte and using OpenMaps, but it only shows a grey screen with markers except it works only with Satelite and that is all. It won't show street views.

I am good with PHP and MySQL if you could direct me to the problem.

We have Joomla 3.9.14 & PHP 7.3

We have a MapBox API Token the public one & we also tried to make our own but it still doesn't work.

0
8 Answers
S
Sam
Accepted Answer
4 years ago #4986

It does work on the contact page just fine, just not for the properties.

0
S
Sam
Accepted Answer
4 years ago #4989

I still am looking to find the maps fix

0
S
Sam
Accepted Answer
4 years ago #5420

Hello? Any help?

0
S
Sam
Accepted Answer
4 years ago #5706

Thank you for not helping us. We will cosider using a new company for templates since your tech support has no time to help us out. Do not log into our website we will pay a different company to fix your code for us.

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 4 years ago #5807

Hello Sam

Apology for the delay. Please go to the file location: components/com_spproperty/assets/js and in spmap.js file replace this code

api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?access_token={accessToken}

with this code

api.mapbox.com/styles/v1/{id}/tiles/{z}/{x}/{y}?access_token={accessToken}

Best regards

0
BD
Boris Drozdovskii
Accepted Answer
4 years ago #16948

Hi Ofi Khan!

your solution doesn't work. http://estate.restee.ru/index.php/sp-property/full-map

What are the other options for working with OpenStreetMaps?

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 4 years ago #16985

Please post a new question on the forum about this.

0
Yofie Setiawan
Yofie Setiawan
Accepted Answer
4 years ago #17457

I have same issue, wonder what is the solution for this problem...

0