-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add kml-support #72
base: master
Are you sure you want to change the base?
Add kml-support #72
Conversation
Probably, gpx.inc.php should be renamed as well...
Could you avoid the cloudfare call? Why is it need? Maybe we should use a different Leaflet plugin: The first array_push should be Could you provide a sample KML file link that I could download so I could test. |
I have simply taken the kml.js that I could find. Whatever works is fine with me :-) Fine to change the array_push - as I said, I don't really speak php |
BTW, I have noticed that for kml the start and end markers can't be set. Have removed that. In addition, I don't think that kml has info for a profile. But I didn't dared to remove that from the template... |
it won't work
Should be
As in |
Where is |
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 ".kml" extension. With your code you would return if either gpx or kml - thats not what we want, right? |
Following options included: - hide gpx of sub-categories - show only first image of sub-categories Additional changes: - add option to specify link target of popup - Bugfix for outdated map provider links
# Conflicts: # include/functions_map.php
What is the status of this? I was trying to get lots of gpx files working again. |
- removed smarty parameter
# Conflicts: # CHANGELOG # admin/admin_config.php # admin/admin_config.tpl # category.inc.php # include/functions_map.php # language/br_FR/plugin.lang.php # language/nl_NL/plugin.lang.php # language/pl_PL/plugin.lang.php # main.inc.php # maintain.inc.php
Probably, gpx.inc.php should be renamed as well...