Skip to content
Closed
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 @@ -15,3 +15,4 @@ Michael Lapuebla <[email protected]>
Daniel Kostrzynski <[email protected]>
Christian Ihle <[email protected]>
Gareth Pearce <[email protected]>
Artem Boboshko <[email protected]>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like there are some conflicts in this file that need to be addressed.

4 changes: 4 additions & 0 deletions src/Geometry/GMUGeometryRenderer.h
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ NS_ASSUME_NONNULL_BEGIN
*/
@interface GMUGeometryRenderer : NSObject

/**
* The overlays array returned from the GMUGeometryRenderer, use after render function.
*/
- (NSArray<GMSOverlay *> *)mapOverlays;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please revert this change. The mapOverlays function defined in GMUGeometryRenderer.m was not designed to be exposed in the public interface.

If you need access to this, I recommend creating a class extension similar to GMUGeometryRenderer+Testing.h to expose this method.

/**
* Initializes a new renderer.
*
Expand Down
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