File tree Expand file tree Collapse file tree 1 file changed +1
-15
lines changed Expand file tree Collapse file tree 1 file changed +1
-15
lines changed Original file line number Diff line number Diff line change @@ -560,21 +560,6 @@ Napi::Value VectorTile::getDataSync(Napi::CallbackInfo const& info)
560
560
}
561
561
return env.Undefined ();
562
562
}
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
- */
578
563
579
564
/* *
580
565
* Get the data in this vector tile as a buffer (asynchronous)
@@ -597,6 +582,7 @@ typedef struct
597
582
* console.log(data); // buffer
598
583
* });
599
584
*/
585
+
600
586
Napi::Value VectorTile::getData (Napi::CallbackInfo const & info)
601
587
{
602
588
if (info.Length () == 0 || !info[info.Length () - 1 ].IsFunction ())
You can’t perform that action at this time.
0 commit comments