Skip Navigation

[Resolved] Toolset Maps

This thread is resolved. Here is a description of the problem and solution.

Problem:

Customize Google map style using custom JSON file.

Solution:

You can follow our document to customize Google map style.

Relevant Documentation:

https://toolset.com/documentation/user-guides/display-on-google-maps/using-custom-styles-for-maps/

This support ticket is created 6 years, 1 month ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 4 replies, has 2 voices.

Last updated by michaelW-27 6 years, 1 month ago.

Assisted by: Luo Yang.

Author
Posts
#1150157

Tell us what you are trying to do? upload json file

Is there any documentation that you are following? yours and hidden link

Is there a similar example that we can see? no

What is the link to your site? mentioned above

#1150437

Hello,

You can follow our document to customize Google map style:
https://toolset.com/documentation/user-guides/display-on-google-maps/using-custom-styles-for-maps/
Using custom styles for maps

For your reference.

#1150464

Thank you,
I followed the directions to the "T" as I said before in the original query - it is not allowing me to upload a .json file to the wordpress website it says the file is not allowed as it can be harmful????
so how do I change this, I see other map plugins allow for you to paste the .json code directly inside the UI?
Regards
Michael

#1150488

Dear Michael,

Unfortunately, Toolset Map plugin does not support paste the .json code directly.

For the problem:
t is not allowing me to upload a .json file to the wordpress website it says the file is not allowed as it can be harmful

I have tried it in a fresh wordpress installation, there isn't similar problem, see screenshot json.JPG, I can upload the .json file without any problem.

There might be other plugin/theme disallow uploading .json file, I suggest you try one of below:
1) Locate the problem plugin/theme, add .json file into the white list.
2) Upload the .json file to your website with FTP tools, setup the map shortcode attribute "style_json" manually, for example:

[wpv-map-render map_id="map-1" style_json="<em><u>hidden link</u></em>"][/wpv-map-render]
#1150638

Apologies, It was my fault I was not saving the json file with the correct ext. of .json, apologies - lo siento.