I am using the Zh GoogleMap extension on a Joomla version 3.9.15 Website to build a map. I suggest some modifications to the
Using KML Layer
text in the Wiki.
A. The current first line is:
If you have KML-file, you can put into accessible folder on site and fill URL in map field KML Layer.
I have successfully used an absolute reference to load my KML file. (www.mysite.com/images/mykmlfile.kml) I have not been successful with a relative URL. (/images/mykmlfile.kml) Can Zh GoogleMap use a relative URL?
B. The next line is:
If you want to use more than one file, you can use "featute", that path field of Paths is not required
Did you mean feature when you wrote featute?
C. In place of go to Paths tab, I suggest Go to Administrator > Components > Zh GoogleMap > Paths.
As for A:
Google Elevation API doesn't process relative URL, therefore you need to enter full path. I think I wrote about that. If not - I'll check my docs and fix it.
As for B:
for KML files yor can have 2 options
- if you have only 1 file, and you want to show it by defaults - just enter its URL in map details
- if you want to show more than one file, or configure options, you need to create one path for each file. In paths field path is not required, then you just enter data only in KML layer tab with your parameters
As for C - probably previous answer get you information