Placelist Search Triggers an Exception

More
4 years 7 months ago #13311 by cmb
I have a Zh GoogleMap module installed on a Website. In that map module I'm using the Placemark List button to toggle the search and dropdown menu list of placemarks. The menu list works as expected but the search function does not.

Searches performed in the Placemark List produce no results. In my browser, the Console tab shows no errors at first. When I start a search, though, by typing a single letter in the search field, I receive this error message:
Code:
TypeError: r.getClientRects is not a function jquery.min.js:2:84899 jQuery 12 offset getWithinInfo position _suggest e.widget/</h[t]</< __response e.widget/</h[t]</< n __response e.widget/</h[t]</< _response i ZhGMLightwellPlacemarkList https://<the domain>/components/com_zhgooglemap/assets/js/objectmanager-min.js:13 jQuery 6 _search e.widget/</h[t]</< search e.widget/</h[t]</< searching i

Is there anything I need to do to fix the search function?


Joomla 3.9.16, PHP 7.3.13, Zh GoogleMap Package version 11.0.3.0, Zh GoogleMap Module version 6.1.0.0, Zh GoogleMap Administrator version 11.1.0.0.

Please Log in or Create an account to join the conversation.

More
4 years 7 months ago #13316 by Dima
Replied by Dima on topic Placelist Search Triggers an Exception
Probably you activate addition feature for search (for example search in different keyboard layout (with different languages).
If I understand right you have map override, assigned to your map.
First of all go to map override details and disable this feature.
Placemark list tab;
- Character mapping type - set to No
- Synonym applying side - set to None

Don't forget support my developments: post review in JED , donate , help with translation ;)

Please Log in or Create an account to join the conversation.

More
4 years 7 months ago #13321 by cmb
Replied by cmb on topic Placelist Search Triggers an Exception
I had the site language set to English (en-US) version 3.9.15.2 but set the default to English (United Kingdom) version 3.9.16.

On the Zh GoogleMap Manager: Map Overrides page, there is nothing listed.
On the Map > Advanced Options page, Map Override is set to Default. There are no other choices.

In the map's Placemark List tab, the Character Mapping Type setting does not exist.
In the map's Placemark List tab, the Synonym Applying Side setting does not exist.
Neither of these settings are mentioned in the documentation .
Where else shall I look for these settings?

Attempting a search still triggers the JavaScript error. What else shall I try?

Please Log in or Create an account to join the conversation.

More
4 years 7 months ago #13322 by Dima
Replied by Dima on topic Placelist Search Triggers an Exception
Can you give me direct link to your page, I'll check it.

Don't forget support my developments: post review in JED , donate , help with translation ;)

Please Log in or Create an account to join the conversation.

More
4 years 7 months ago - 4 years 7 months ago #13323 by Dima
Replied by Dima on topic Placelist Search Triggers an Exception
Look and first page by query
TypeError: r.getClientRects is not a function

Result
stackoverflow.com/questions/41362670/typ...ts-is-not-a-function

Suggestion

2 OR use jQuery 3.1 with jquery-migrate


I checked my page, my template loads it
If in your page code there is no it, try to do like I suggest if template doesn't load JQuery library
wiki.zhuk.cc/index.php/Zh_GoogleMap_Trou...efined_error_message

But in your case in js file enter
Code:
/media/jui/js/jquery-migrate.min.js

Don't forget support my developments: post review in JED , donate , help with translation ;)
Last edit: 4 years 7 months ago by Dima.
The following user(s) said Thank You: cmb

Please Log in or Create an account to join the conversation.

More
4 years 7 months ago #13324 by cmb
Replied by cmb on topic Placelist Search Triggers an Exception
I just upgraded Zh GoogleMap Administrator from 11.1.0.0 to 11.1.1.0.
Also the Zh GoogleMap Package went from 11.0.3.0 to 11.1.1.0.

I have a new error now. zhgmObjMgr.setPlacemarkDateFormat is not a function.

Is that as a result of the new Zh GoogleMap versions?

I'll continue to work on the jQuery problem.

Please Log in or Create an account to join the conversation.

Time to create page: 0.206 seconds
Powered by Kunena Forum