Skip to content

Conversation

@nnngrach
Copy link
Contributor

@nnngrach nnngrach commented Dec 24, 2025

NSString *tag2 = [self getOsmTag2];
NSString *val2 = [self getOsmValue2];
if (tag2 && val2)
tags[tag1] = val1;
Copy link
Contributor

Choose a reason for hiding this comment

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

tag2/val2

return _osmId >> AMENITY_ID_RIGHT_SHIFT;
}

- (NSDictionary<NSString *, NSString *> *)getOsmTags
Copy link
Contributor

Choose a reason for hiding this comment

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

getOsmTags in Java returns LinkedHashMap - so here we must use OrderedDictionary as result

Comment on lines +195 to +196
NSDictionary<NSString *, NSString *> *osmTags = [amenity getOsmTags];
MutableOrderedDictionary<NSString *, NSString *> *tags = [[MutableOrderedDictionary alloc] initWithDictionary:osmTags];
Copy link
Contributor

Choose a reason for hiding this comment

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

How randomized dictionary made ordered? It seems wrong.

Comment on lines +871 to +873
//TODO: is this correct place to this code launch?
[ClickableWayHelper openClickableWayAmenityWithAmenity:poi adjustMapPosition:YES];
return YES;
Copy link
Contributor

Choose a reason for hiding this comment

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

It seems a wrong way to openClickableWayAmenity if multiple ClickableWay found in foundBinaryMapObjects.

@RZR-UA RZR-UA marked this pull request as draft December 26, 2025 09:54
Copy link
Contributor

@RZR-UA RZR-UA left a comment

Choose a reason for hiding this comment

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

Please follow comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants