-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Remove feature.properties data type limits
- Loading branch information
1 parent
5f14f6f
commit abe3ae9
Showing
8 changed files
with
197 additions
and
228 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Language: Cpp | ||
BasedOnStyle: Google | ||
IndentWidth: 2 | ||
MaxEmptyLinesToKeep: 1 | ||
NamespaceIndentation: None | ||
ColumnLimit: 80 | ||
PenaltyBreakAssignment: 2 | ||
PenaltyReturnTypeOnItsOwnLine: 200 | ||
PointerAlignment: Left | ||
SpaceBeforeParens: Never |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,26 @@ | ||
#pragma once | ||
|
||
#include <jsi/jsi.h> | ||
|
||
#include "helpers.h" | ||
#include "supercluster.hpp" | ||
#include <jsi/jsi.h> | ||
|
||
using namespace std; | ||
using namespace facebook; | ||
|
||
namespace clusterer { | ||
class JSI_EXPORT SuperclusterHostObject : public jsi::HostObject { | ||
public: | ||
public: | ||
SuperclusterHostObject(jsi::Runtime &rt, const jsi::Value *args, | ||
size_t count); | ||
~SuperclusterHostObject(); | ||
|
||
public: | ||
public: | ||
jsi::Value get(jsi::Runtime &, const jsi::PropNameID &name) override; | ||
std::vector<jsi::PropNameID> getPropertyNames(jsi::Runtime &rt) override; | ||
|
||
private: | ||
private: | ||
mapbox::supercluster::Supercluster *instance; | ||
jsi::Array featuresInput; | ||
}; | ||
} // namespace clusterer | ||
} // namespace clusterer |
Oops, something went wrong.