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

Add geographic position property to event #66

Closed
wants to merge 2 commits into from

Conversation

psztucz
Copy link

@psztucz psztucz commented Feb 15, 2016

I know that you already have geolocation in event with X-APPLE-STRUCTURED-LOCATION, however this does not work with non-apple devices. This commit simply adds RFC compliant property GEO to event(see RFC 5545)

@psztucz
Copy link
Author

psztucz commented Feb 15, 2016

I realised that we need a new property type, since semicolons in normal strings are escaped.

@@ -273,6 +274,10 @@ public function buildPropertyBag()
}
}

if (null != $this->locationGeo) {
$propertyBag->set('GEO', new GeoValue($this->locationGeo));
Copy link
Owner

Choose a reason for hiding this comment

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

@psztucz Why do we need a ValueObject when there is no logic at all in there?

@sgehrig
Copy link
Contributor

sgehrig commented Jun 1, 2016

Isn't that already implemented with 7a3751f?

@markuspoerschke
Copy link
Owner

@sgehrig right. I will close this one. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants