-
Notifications
You must be signed in to change notification settings - Fork 286
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
problem with loading KML files in ios #207
Comments
Hi, I had a similar problem working with leaflet and Cordova in iOS. Did you find a solution? Thanks in advance. |
for the ios i had to tranform kml files to geojson files and load them as geojson |
Thanks a lot, I will try that and let you know just for reference. Kind regards, --Dimitris Doukas logo Dr. Dimitris Doukas General Manager Twin Net Information Systems Ltd Mob: +30.6944.964310 Phone: +30.210.6857070, +30.210-6090451 Fax: +30.210.6857070 Web: http://www.twinnet.gr/ http://www.twinnet.gr From: gchristakis [mailto:[email protected]] for the ios i had to tranform kml files to geojson files and load them as geojson — |
In IOS I have tried the following (and variations of that) with no success. The json file is valid I have checked it. var myLayer = new L.GeoJSON().addTo(map); myLayer.addData("file.geojson"); If you do have some suggestions, I would appreciate. Thanks in advance. --Dimitris From: gchristakis [mailto:[email protected]] for the ios i had to tranform kml files to geojson files and load them as geojson — |
You may need security settings to allow the app to fetch from external resources in iOS. Regards, MichMichiaki Tatsubori, PhD. Sent from my iPhone
|
Thank you Mich, we will check that. Basically we use Cordova to generate the build and in Android we use the same Js code which works fine. Regards, --Dimitris Doukas logo Dr. Dimitris Doukas General Manager Twin Net Information Systems Ltd Mob: +30.6944.964310 Phone: +30.210.6857070, +30.210-6090451 Fax: +30.210.6857070 Web: http://www.twinnet.gr/ http://www.twinnet.gr From: tatsubori [mailto:[email protected]] You may need security settings to allow the app to fetch from external resources in iOS. Regards, MichMichiaki Tatsubori, PhD. Sent from my iPhone
— |
Some one solved this issue? |
Hi, no, as far as I know. I have tried almost everything suggested with no success. --Dimitris Doukas From: cicerohellmann [mailto:[email protected]] Some one solved this issue? — |
There goes my init function, the file that I'm using is just a kml file translated to geojson. If you need any further help, I can guide you. I'm also using this plugin: leaflet-ajax-gh-pages/leaflet.ajax.js function initMap() {
// lc.stop(); |
i have made an app with ionic framework leaflet and KML and i have problem to load KML files in ios, in browser and android everything is OK.
do you have an idea why this happening?
The text was updated successfully, but these errors were encountered: