Skip to content

Commit 597cc15

Browse files
committed
cleanup
1 parent d7b8b8e commit 597cc15

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

src/mapnik_vector_tile_data.cpp

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -560,21 +560,6 @@ Napi::Value VectorTile::getDataSync(Napi::CallbackInfo const& info)
560560
}
561561
return env.Undefined();
562562
}
563-
/*
564-
typedef struct
565-
{
566-
uv_work_t request;
567-
VectorTile* d;
568-
bool error;
569-
std::unique_ptr<std::string> data;
570-
bool compress;
571-
bool release;
572-
int level;
573-
int strategy;
574-
std::string error_name;
575-
Napi::FunctionReference cb;
576-
} vector_tile_get_data_baton_t;
577-
*/
578563

579564
/**
580565
* Get the data in this vector tile as a buffer (asynchronous)
@@ -597,6 +582,7 @@ typedef struct
597582
* console.log(data); // buffer
598583
* });
599584
*/
585+
600586
Napi::Value VectorTile::getData(Napi::CallbackInfo const& info)
601587
{
602588
if (info.Length() == 0 || !info[info.Length() - 1].IsFunction())

0 commit comments

Comments
 (0)