Hi everybody,
I manage a private database which is able to generate regurlarly an up-to-date KML file of the position of my products.
This is my problem...
- First, I upload my kml file into phocamapskml folder
- I create a map linked to this kml file following Phoca indications
- My web site shows perfectly the map
- Later, My kml file is updated and uploaded in phocamapskml (so it replaces the previous version of my kml file)
- Unfortunately, my web site shows only the first version of my map and no the new version.
Could someone help me ?
Joomla 2.5
Last version of Phoca Map Component
Joomla Cache disabled
Phoca map Cache disabled
I'va tried to clear my firefox cache (no effects), chrome cache (no effects).
KML Files
-
- Phoca Newbie
- Posts: 3
- Joined: 23 May 2013, 12:25
Re: KML Files
Is there someone who wants to test my problem and tells me if it is similar ?
Please folow these steps :
1. Upload 1 KML file to the rigth folder
2. create a map linked to this file using Phoca Map Composent
3. display the map on your web site
4. modify the KML file
5. re-display the map on your web site
6. Is your map changed ?
Please folow these steps :
1. Upload 1 KML file to the rigth folder
2. create a map linked to this file using Phoca Map Composent
3. display the map on your web site
4. modify the KML file
5. re-display the map on your web site
6. Is your map changed ?
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: KML Files
Hi, confirmed (not changed), this seems like Google Maps have some cache, so I think, you need to call the file other name if changed (not sure how long the cache is stored and if it is a cache )
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 3
- Joined: 23 May 2013, 12:25
Re: KML Files
Hi,
And thanks for your response.
In effect, this problem comes from the cache of google map server.
I've got two solutions :
1- using networklink tab in my KML to link to a php page which construct on the fly my markers...
2- change the filename after each update of my KML file like MyMarkerposition_{date}{hour}.kml
To do this, I would like to parse the phocamapskml folder, to retreive the fullname of the only file in this folder and to give this filename to your module.
My question is : where can I find in your module the source code associated to the filename of the kml file and where this filename is passed to the kml descripter ?
And thanks for your response.
In effect, this problem comes from the cache of google map server.
I've got two solutions :
1- using networklink tab in my KML to link to a php page which construct on the fly my markers...
2- change the filename after each update of my KML file like MyMarkerposition_{date}{hour}.kml
To do this, I would like to parse the phocamapskml folder, to retreive the fullname of the only file in this folder and to give this filename to your module.
My question is : where can I find in your module the source code associated to the filename of the kml file and where this filename is passed to the kml descripter ?
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: KML Files
Hi,
administrator/components/com_phocamaps/helpers/phocamapsmap.php
Jan
administrator/components/com_phocamaps/helpers/phocamapsmap.php
Jan
If you find Phoca extensions useful, please support the project