Hi, I have a problem with maps, in particular with the maps module.
I create a new map without problems, but if I click on the record from the listview (once created), a blank page appears.
The log does not report errors, but from the browser console this appears:
...index.php?module=jjwg_Maps&action=map_markers&display_module=Accounts&record=ca78e0dc-51c5-0cba-924d-67a0d6a5810e¤t_post=session
[HTTP/1.1 404 Not Found 1157ms]
Google configuration is ok, the maps appear in the Accounts module (thanks to module_routing.yaml).
I’m working on suitecrm 8.4.2 and php 7.4
Up to Suitecrm version 7.14 the maps worked perfectly. Does anyone know how to solve it? Thanks
@rsp I read the documentation you attached, but it only highlights the problem, not a possible solution.
@pstevens I know that from the compatibility table the 8.4.2 version of SuiteCRM starts from PHP 8.1, but it still manages to support the 7.4 version of PHP, in fact I have no problems with other modules or with the entire CRM.
In any case, on the local machine I also installed PHP 8.1 and the problem remains (but instead of the empty page, the XAMPP page appears, bah).
If I search for a quick address, the map appears perfectly, it is only if I click on the record of the listview that nothing appears.
If it is not supported, what is the MAPS module for? And why is there the possibility to configure google map in Admin? How does the quick address map work instead?
It works great in SuiteCRM 7. It hasn’t been developed in SuiteCRM 8 yet. I don’t know the answers to your questions about “why”. That’s just the way it is.
As a work around, you can return the module to legacy mode (essentially SuiteCRM 7) and it will probably work. I haven’t tested this yet, but it does work in SutieCRM 7 and you can use the iframe embed and it will probably work.
I have already brought the modules in which to embed the maps to legacy (Accounts and Contacts) and they work perfectly.
What I would now like is to make the Maps module work, which is already in legacy by default with the compatibility settings for version 7 of SuiteCRM
it means that in the accounts and contcts modules I have inserted the iFrame fields and that I have inserted them in module_routing.yaml, in this way, in the detail of these two modules I can see the reference maps.
Instead, if I go to the MAPS module and set the map area, I would expect to see the map as it happened in SuiteCRM7, but I don’t see it (you are telling me that in SuiteCRM 8, this doesn’t work).
The radius map will work fine and so will Google Maps. The issue is not with Google Maps. The issue is the iframe “generate URL” does not work in SuiteCRM 8. I don’t see how you’re going to get the maps to appear in Accounts and Contacts without it, unless you write your own embed code.