Thomas Feuster
Thomas Feuster
Code above works here without issues :-) My reading was: "return if path and (not gpx and not kml)" since your checking whether picture path & file contains ".gpx" or...
Might be a bit hard to implement but this looks like a good idea: https://www.phase2technology.com/blog/large-scale-server-side-mapping-in-drupal-with-the-leaflet-geocluster-stack-part-1/
Hi, I have added a few outputs of microtime() in functions_map.php: ``` osm_get_items: start - 0.53629400 1448124445 osm_get_items: before query - 0.53640700 1448124445 osm_get_items: after query - 0.72951600 1448124445 osm_get_items:...
Well, after some playing around I would think the slow part is the rendering in the browser and not the php server part. Not sure how to put printing of...
Now I have collected some info - but not sure what to do with it: - Web page as it is sent to the browser: 2.5MB with most of it...
I have uploaded the output under http://www.feuster.com/piwigo/_debug/ - its probably easier if you have a look at it directly... Loading the page takes about 1.6-1.8secs. After loading various js files...
Well, I have now helped myself with the following: If the page doesn't show a category with pictures but only sub-categories => don't load gpx and load only first picture...
I'm planning to complete my change and submit a pull request in the upcoming quiet time :-)
Not sure if things would get faster a lot if you have to open the gpx to find the first point... Also, with support for kml you would need to...
I have now added all my changes to speed up map rendering in my branch - now part of the outstanding pull request "Add kml-support" - Added option "hide gpx...