Fahad Ali Posted May 13, 2014 at 11:34 AM Share Posted May 13, 2014 at 11:34 AM Hi everybody! Hope you all are doing good. I am having issues with the GeoMap add-on. I will briefly give a flow of my work where i am having issues. I had modified the Advance Search module by creating a new template file for the advance search module and added a JS file. in the JS file using jQuery i submit the form using AJAX, on any of the input field change. The AJAX search is working fine and returns all the listings as required. For the listings page, i am using the thumbview layout. The AJAX returns the whole of the HTML page where i use jQuery to find the .jr-page.jrListings div and update the existing jr-page.jrListings div with it. In doing so I had this button which when clicked displays the GeoMap and when clicked again, hides the map. The issue with AJAX search is that it doesn't load the geomap JS file and so doesn't initialize the GeoMap. So when i click the show map button, the map div simply shows the loading animation and doesn't work. Link to comment
Alejandro Posted May 13, 2014 at 12:42 PM Share Posted May 13, 2014 at 12:42 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Fahad Ali Posted May 13, 2014 at 12:46 PM Author Share Posted May 13, 2014 at 12:46 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Alejandro Posted May 13, 2014 at 12:47 PM Share Posted May 13, 2014 at 12:47 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Fahad Ali Posted May 13, 2014 at 01:05 PM Author Share Posted May 13, 2014 at 01:05 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Alejandro Posted May 13, 2014 at 01:17 PM Share Posted May 13, 2014 at 01:17 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Recommended Posts