You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
KML Layer loading KMZ file should load icons included in it #716
I've had a similar issue where a KML file has defined icons for placemarks, but the default icon briefly shows and then is replaced with the one specified in the file. The default should never show. On Google Earth it displays as expected, while the KmlLayer in the library doesn't match rendering.
I don't consider this a feature as much as an unexpected bug. See the attached sample.
another sample. rename to .kmz
KmlFeatureParser should probably do a trim() to be sure and a check perhaps if the value is empty or not? else Integer.parseInt will also return an error
line 136-137
} else if (parser.getName().equals("visibility")) {
visibility = Integer.parseInt(parser.nextText());
the sample kmz file returns
Caused by: java.lang.NumberFormatException: For input string: "
1
"
This issue has been automatically marked as stale because it has not had recent activity. Please comment here if it is still valid so that we can reprioritize. Thank you!
This issue has been automatically marked as stale because it has not had recent activity. Please comment here if it is still valid so that we can reprioritize. Thank you!
This issue has been automatically marked as stale because it has not had recent activity. Please comment here if it is still valid so that we can reprioritize. Thank you!
This issue has been automatically marked as stale because it has not had recent activity. Please comment here if it is still valid so that we can reprioritize. Thank you!
Activity
ryust commentedon Jun 17, 2020
I've had a similar issue where a KML file has defined icons for placemarks, but the default icon briefly shows and then is replaced with the one specified in the file. The default should never show. On Google Earth it displays as expected, while the KmlLayer in the library doesn't match rendering.
I don't consider this a feature as much as an unexpected bug. See the attached sample.
MO Delorme.kml.zip
chitgoks commentedon Sep 2, 2020
another sample. rename to .kmz
KmlFeatureParser should probably do a trim() to be sure and a check perhaps if the value is empty or not? else Integer.parseInt will also return an error
the sample kmz file returns
sample.zip
stale commentedon Dec 31, 2020
This issue has been automatically marked as stale because it has not had recent activity. Please comment here if it is still valid so that we can reprioritize. Thank you!
chitgoks commentedon Dec 31, 2020
up
stale commentedon Jun 2, 2021
This issue has been automatically marked as stale because it has not had recent activity. Please comment here if it is still valid so that we can reprioritize. Thank you!
chitgoks commentedon Jun 2, 2021
valis
stale commentedon Oct 2, 2021
This issue has been automatically marked as stale because it has not had recent activity. Please comment here if it is still valid so that we can reprioritize. Thank you!
stale commentedon Apr 16, 2022
Closing this. Please reopen if you believe it should be addressed. Thank you for your contribution.
chitgoks commentedon Apr 16, 2022
urgent! how to reopen?!?
stale commentedon Sep 21, 2022
This issue has been automatically marked as stale because it has not had recent activity. Please comment here if it is still valid so that we can reprioritize. Thank you!
chitgoks commentedon Sep 21, 2022
Please re-open
ryust commentedon May 2, 2023
In case the stale bot wants to interfere again... this hasn't been fixed and needs to be.