-
Zh GoogleMap
-
Component
-
Error with Placemarks
Error with Placemarks
-
moose999
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 12
-
Thank you received: 0
-
-
7 years 9 months ago #10544
by moose999
Hi,
When I have any placemarks published, my map will not show. I can see an error in the console "Uncaught SyntaxError: Unexpected token var".
I am using J3.5.0 and Zh 8.1.2.0.
I have tried enabling compatibility mode in the component options.
Many thanks,
Justin
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 4609
-
Thank you received: 460
-
-
-
-
-
7 years 9 months ago #10547
by Dima
Hi Justin.
Without direct link to your map or page source I can't explain what problem is.
Probably you enter email into placemark body, or enter HTML text with errors.
I need to analyze your page with error.
Please Log in or Create an account to join the conversation.
-
moose999
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 12
-
Thank you received: 0
-
-
Less
More
-
Posts: 4609
-
Thank you received: 460
-
-
-
-
-
7 years 9 months ago - 7 years 9 months ago #10549
by Dima
Very strange.
Lets do this:
1 - set in map details in advanced option load map objects by JQuery (or load infowin content by JQuery)
- I think the map will be displayed
2 - in my code I checked all cases, and everywhere there is ; before var. I think it can caused by some plugin. I suggest to step by step find out what plugin can cause this. Set map to previous state (when it is not displayed). Open in admin panel plugin list, set filter to enabled. And one by one: disable > check map > enable
This can help to find out plugin with error.
Last edit: 7 years 9 months ago by Dima.
Please Log in or Create an account to join the conversation.
-
moose999
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 12
-
Thank you received: 0
-
-
7 years 9 months ago #10550
by moose999
Hi,
I have set "Loading map objects dynamically" to jQuery, and "Loading content data dynamically" to jQuery, but it is still the same.
It will take me a long time to be able to disable every plugin, so I will try tomorrow.
Thanks for your time,
Justin
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 4609
-
Thank you received: 460
-
-
-
-
-
7 years 9 months ago #10551
by Dima
I can see the other error in your page.
Do you install component from JED?
Please Log in or Create an account to join the conversation.
-
Zh GoogleMap
-
Component
-
Error with Placemarks
Time to create page: 0.061 seconds