Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

[node] add debug options to node bindings #3840

Merged
merged 1 commit into from
Feb 8, 2016
Merged

Conversation

ansis
Copy link
Contributor

@ansis ansis commented Feb 6, 2016

@@ -25,6 +25,15 @@ struct NodeMap::RenderOptions {
unsigned int width = 512;
unsigned int height = 512;
std::vector<std::string> classes;
bool debugTileBorders = false;
Copy link
Contributor

Choose a reason for hiding this comment

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

Why not use mbgl::MapDebugOptions here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

To keep mbgl stuff out of NodeMap::ParseOptions. Should I switch it?

I replaced these three bools with the nested debug struct and forgot to remove them.

Copy link
Contributor

Choose a reason for hiding this comment

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

Pulling in mbgl::MapDebugOptions here seems 👍 to me.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

switched to using mbgl::MapDebugOptions 1934258

@ansis ansis force-pushed the node-debug-options branch 2 times, most recently from 539c108 to 1934258 Compare February 8, 2016 20:49
@@ -1 +1 @@
Subproject commit 2aede5d8d1577101bf18405246220e7a710df607
Subproject commit 717078fb6b0d02b944a12f4d40fc15567489d23b
Copy link
Contributor

Choose a reason for hiding this comment

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

Accidental submodule update?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah, thanks for catching that

@jfirebaugh
Copy link
Contributor

👍

@ansis ansis merged commit 29d61c0 into master Feb 8, 2016
@ansis ansis deleted the node-debug-options branch February 8, 2016 23:01
@ansis ansis removed the in progress label Feb 8, 2016
@mikemorris mikemorris added this to the node-v3.0.3 milestone Apr 7, 2016
@mikemorris mikemorris mentioned this pull request Apr 11, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add debug options to node bindings
3 participants