Skip to content
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

Fix problem with parse pair element ("key") and make mapOverlays function public #259

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CONTRIBUTORS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
# Names should be added to this file as:
# Name <email address>

Artem Boboshko <[email protected]>
Brett Morgan <[email protected]>
Christian Ihle <[email protected]>
Christopher Arriola <[email protected]>
Expand Down
Empty file modified src/Geometry/GMUGeometryRenderer.h
100644 → 100755
Empty file.
11 changes: 10 additions & 1 deletion src/Geometry/GMUKMLParser.m
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,10 @@ - (void)parser:(NSXMLParser *)parser
range:NSMakeRange(0, elementName.length)] ||
[_compassRegex firstMatchInString:elementName
options:0
range:NSMakeRange(0, elementName.length)]) {
range:NSMakeRange(0, elementName.length)] ||
[_pairAttributeRegex firstMatchInString:elementName
options:0
range:NSMakeRange(0, elementName.length)]) {
[self parseBeginLeafNode];
}
}
Expand All @@ -672,6 +675,12 @@ - (void)parser:(NSXMLParser *)parser
options:0
range:NSMakeRange(0, elementName.length)]) {
[self parseEndStyleAttribute:elementName];
} else if ([elementName isEqual:kGMUPairElementName]) {
[self parseEndPair];
} else if ([_pairAttributeRegex firstMatchInString:elementName
options:0
range:NSMakeRange(0, elementName.length)]) {
[self parseEndPairAttribute:elementName];
} else if ([elementName isEqual:kGMUPlacemarkElementName]) {
[self parseEndPlacemark];
} else if ([elementName isEqual:kGMUGroundOverlayElementName]) {
Expand Down