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

convert mapview package to js #6471

Merged
merged 5 commits into from
Mar 29, 2017
Merged

convert mapview package to js #6471

merged 5 commits into from
Mar 29, 2017

Conversation

MartinSchoeler
Copy link
Contributor

@RocketChat/core

@engelgabriel engelgabriel temporarily deployed to rocket-chat-pr-6471 March 24, 2017 16:39 Inactive
@engelgabriel engelgabriel temporarily deployed to rocket-chat-pr-6471 March 24, 2017 17:26 Inactive
@engelgabriel engelgabriel temporarily deployed to rocket-chat-pr-6471 March 27, 2017 13:24 Inactive
@engelgabriel engelgabriel temporarily deployed to rocket-chat-pr-6471 March 27, 2017 14:32 Inactive

// GeoJSON is reversed - ie. [lng, lat]
const longitude = message.location.coordinates[0];
const latitude = message.location.coordinates[1];
Copy link
Member

Choose a reason for hiding this comment

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

Can you replace these 2 lines by?:

		const [longitude, latitude] = message.location.coordinates;

@engelgabriel engelgabriel modified the milestone: 0.55.0 Mar 29, 2017
@engelgabriel engelgabriel merged commit e63ee3c into develop Mar 29, 2017
@engelgabriel engelgabriel deleted the mapview-to-js branch March 29, 2017 15:56
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.

4 participants