OpenMaps only works with Satellite and that is all (Empire Template) - Forum | JoomShaper
Awaiting an answer Templates

OpenMaps only works with Satellite and that is all (Empire Template)

Asked by Sam 5 years ago Last activity 5 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.

8 replies

Sam Asked this

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

Sam Asked this
5 years ago · edited

I still am looking to find the maps fix

Sam Asked this

Hello? Any help?

Sam Asked this

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.

Ofi Khan Staff

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

Ofi Khan Staff

Please post a new question on the forum about this.

Yofie Setiawan

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

Log in to reply.