@rousen/react-naver-maps 0.0.15 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/DataLayer.d.ts +52 -0
- package/dist/components/DataLayer.d.ts.map +1 -0
- package/dist/components/Map.d.ts.map +1 -1
- package/dist/index.d.ts +101 -50
- package/dist/index.d.ts.map +1 -1
- package/dist/index.esm.js +145 -35
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +145 -34
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
declare const EVENT_TO_PROP: {
|
|
2
|
+
readonly addfeature: "onAddFeature";
|
|
3
|
+
readonly removefeature: "onRemoveFeature";
|
|
4
|
+
readonly setfeature: "onSetFeature";
|
|
5
|
+
readonly setgeometry: "onSetGeometry";
|
|
6
|
+
readonly setproperty: "onSetProperty";
|
|
7
|
+
readonly removeproperty: "onRemoveProperty";
|
|
8
|
+
readonly click: "onClick";
|
|
9
|
+
readonly dblclick: "onDblclick";
|
|
10
|
+
readonly rightclick: "onRightclick";
|
|
11
|
+
readonly mousedown: "onMouseDown";
|
|
12
|
+
readonly mouseup: "onMouseUp";
|
|
13
|
+
readonly mouseover: "onMouseOver";
|
|
14
|
+
readonly mouseout: "onMouseOut";
|
|
15
|
+
readonly mousemove: "onMouseMove";
|
|
16
|
+
};
|
|
17
|
+
type EventKey = keyof typeof EVENT_TO_PROP;
|
|
18
|
+
type PropKey = (typeof EVENT_TO_PROP)[EventKey];
|
|
19
|
+
interface DataLayerCallbacks {
|
|
20
|
+
addfeature?: (event: naver.maps.FeatureEvent) => void;
|
|
21
|
+
removefeature?: (event: naver.maps.FeatureEvent) => void;
|
|
22
|
+
setfeature?: (event: naver.maps.FeatureEvent) => void;
|
|
23
|
+
setgeometry?: (event: naver.maps.FeatureEvent) => void;
|
|
24
|
+
setproperty?: (event: naver.maps.PropertyEvent) => void;
|
|
25
|
+
removeproperty?: (event: naver.maps.PropertyEvent) => void;
|
|
26
|
+
click?: (event: naver.maps.PointerEvent) => void;
|
|
27
|
+
dblclick?: (event: naver.maps.PointerEvent) => void;
|
|
28
|
+
rightclick?: (event: naver.maps.PointerEvent) => void;
|
|
29
|
+
mousedown?: (event: naver.maps.PointerEvent) => void;
|
|
30
|
+
mouseup?: (event: naver.maps.PointerEvent) => void;
|
|
31
|
+
mouseover?: (event: naver.maps.PointerEvent) => void;
|
|
32
|
+
mouseout?: (event: naver.maps.PointerEvent) => void;
|
|
33
|
+
mousemove?: (event: naver.maps.PointerEvent) => void;
|
|
34
|
+
}
|
|
35
|
+
type HandlerOfProp<P extends PropKey> = DataLayerCallbacks[{
|
|
36
|
+
[E in EventKey]: (typeof EVENT_TO_PROP)[E] extends P ? E : never;
|
|
37
|
+
}[EventKey]];
|
|
38
|
+
type DataLayerEventProps = {
|
|
39
|
+
[P in PropKey]?: HandlerOfProp<P>;
|
|
40
|
+
};
|
|
41
|
+
type DataLayerType = "gpx" | "kml" | "geojson";
|
|
42
|
+
export interface DataLayerProps extends DataLayerEventProps {
|
|
43
|
+
type: DataLayerType;
|
|
44
|
+
url: string;
|
|
45
|
+
autoStyle?: boolean;
|
|
46
|
+
style?: naver.maps.StyleOptions | naver.maps.StylingFunction;
|
|
47
|
+
onLoad?: (layer: naver.maps.Data) => void;
|
|
48
|
+
onError?: (error: Error) => void;
|
|
49
|
+
}
|
|
50
|
+
declare const DataLayer: ({ type, url, autoStyle, style, onLoad, onError, ...eventProps }: DataLayerProps) => null;
|
|
51
|
+
export default DataLayer;
|
|
52
|
+
//# sourceMappingURL=DataLayer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataLayer.d.ts","sourceRoot":"","sources":["../../src/components/DataLayer.tsx"],"names":[],"mappings":"AAGA,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;CAeT,CAAC;AAEX,KAAK,QAAQ,GAAG,MAAM,OAAO,aAAa,CAAC;A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C"}
|
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
4
4
|
|
|
5
5
|
type NaverMapsSubmodule = "traffic" | "transit" | "drawing" | "event" | "heatmap" | "marker";
|
|
6
6
|
|
|
7
|
-
declare const EVENT_TO_PROP$
|
|
7
|
+
declare const EVENT_TO_PROP$7: {
|
|
8
8
|
readonly init: "onInit";
|
|
9
9
|
readonly zoomstart: "onZoomStart";
|
|
10
10
|
readonly zoomend: "onZoomEnd";
|
|
@@ -34,8 +34,8 @@ declare const EVENT_TO_PROP$6: {
|
|
|
34
34
|
readonly removeLayer: "onRemoveLayer";
|
|
35
35
|
readonly size_changed: "onSizeChanged";
|
|
36
36
|
};
|
|
37
|
-
type EventKey$
|
|
38
|
-
type PropKey$
|
|
37
|
+
type EventKey$7 = keyof typeof EVENT_TO_PROP$7;
|
|
38
|
+
type PropKey$7 = (typeof EVENT_TO_PROP$7)[EventKey$7];
|
|
39
39
|
interface MapCallbacks {
|
|
40
40
|
addLayer?: (layer: naver.maps.Layer) => void;
|
|
41
41
|
center_changed?: (center: naver.maps.Coord) => void;
|
|
@@ -78,11 +78,11 @@ interface MapCallbacks {
|
|
|
78
78
|
resize?: () => void;
|
|
79
79
|
size_changed?: (size: naver.maps.Size) => void;
|
|
80
80
|
}
|
|
81
|
-
type HandlerOfProp$
|
|
82
|
-
[E in EventKey$
|
|
83
|
-
}[EventKey$
|
|
81
|
+
type HandlerOfProp$7<P extends PropKey$7> = MapCallbacks[{
|
|
82
|
+
[E in EventKey$7]: (typeof EVENT_TO_PROP$7)[E] extends P ? E : never;
|
|
83
|
+
}[EventKey$7]];
|
|
84
84
|
type MapEventProps = {
|
|
85
|
-
[P in PropKey$
|
|
85
|
+
[P in PropKey$7]?: HandlerOfProp$7<P>;
|
|
86
86
|
};
|
|
87
87
|
interface MapProps extends MapEventProps {
|
|
88
88
|
ncpKeyId: string;
|
|
@@ -106,7 +106,7 @@ type MapCollection = {
|
|
|
106
106
|
};
|
|
107
107
|
declare const useMap: () => MapCollection;
|
|
108
108
|
|
|
109
|
-
declare const EVENT_TO_PROP$
|
|
109
|
+
declare const EVENT_TO_PROP$6: {
|
|
110
110
|
readonly click: "onClick";
|
|
111
111
|
readonly position_changed: "onPositionChanged";
|
|
112
112
|
readonly rightclick: "onRightclick";
|
|
@@ -125,8 +125,8 @@ declare const EVENT_TO_PROP$5: {
|
|
|
125
125
|
readonly mouseover: "onMouseOver";
|
|
126
126
|
readonly mouseout: "onMouseOut";
|
|
127
127
|
};
|
|
128
|
-
type EventKey$
|
|
129
|
-
type PropKey$
|
|
128
|
+
type EventKey$6 = keyof typeof EVENT_TO_PROP$6;
|
|
129
|
+
type PropKey$6 = (typeof EVENT_TO_PROP$6)[EventKey$6];
|
|
130
130
|
interface MarkerCallbacks {
|
|
131
131
|
click?: (event: naver.maps.PointerEvent) => void;
|
|
132
132
|
clickable_changed?: (clickable: boolean) => void;
|
|
@@ -146,11 +146,11 @@ interface MarkerCallbacks {
|
|
|
146
146
|
mouseover?: (event: naver.maps.PointerEvent) => void;
|
|
147
147
|
mouseout?: (event: naver.maps.PointerEvent) => void;
|
|
148
148
|
}
|
|
149
|
-
type HandlerOfProp$
|
|
150
|
-
[E in EventKey$
|
|
151
|
-
}[EventKey$
|
|
149
|
+
type HandlerOfProp$6<P extends PropKey$6> = MarkerCallbacks[{
|
|
150
|
+
[E in EventKey$6]: (typeof EVENT_TO_PROP$6)[E] extends P ? E : never;
|
|
151
|
+
}[EventKey$6]];
|
|
152
152
|
type MarkerEventProps = {
|
|
153
|
-
[P in PropKey$
|
|
153
|
+
[P in PropKey$6]?: HandlerOfProp$6<P>;
|
|
154
154
|
};
|
|
155
155
|
type BaseMarkerProps = Omit<naver.maps.MarkerOptions, "map">;
|
|
156
156
|
interface MarkerProps extends BaseMarkerProps, MarkerEventProps {
|
|
@@ -167,6 +167,41 @@ interface Props {
|
|
|
167
167
|
}
|
|
168
168
|
declare const Overlay: ({ children, ...options }: Props) => react_jsx_runtime.JSX.Element;
|
|
169
169
|
|
|
170
|
+
declare const EVENT_TO_PROP$5: {
|
|
171
|
+
readonly click: "onClick";
|
|
172
|
+
readonly dblclick: "onDblclick";
|
|
173
|
+
readonly rightclick: "onRightclick";
|
|
174
|
+
readonly mousedown: "onMouseDown";
|
|
175
|
+
readonly mouseup: "onMouseUp";
|
|
176
|
+
readonly mouseover: "onMouseOver";
|
|
177
|
+
readonly mouseout: "onMouseOut";
|
|
178
|
+
readonly mouseenter: "onMouseEnter";
|
|
179
|
+
readonly mouseleave: "onMouseLeave";
|
|
180
|
+
};
|
|
181
|
+
type EventKey$5 = keyof typeof EVENT_TO_PROP$5;
|
|
182
|
+
type PropKey$5 = (typeof EVENT_TO_PROP$5)[EventKey$5];
|
|
183
|
+
interface PolygonCallbacks {
|
|
184
|
+
click?: (event: naver.maps.PointerEvent) => void;
|
|
185
|
+
dblclick?: (event: naver.maps.PointerEvent) => void;
|
|
186
|
+
rightclick?: (event: naver.maps.PointerEvent) => void;
|
|
187
|
+
mousedown?: (event: naver.maps.PointerEvent) => void;
|
|
188
|
+
mouseup?: (event: naver.maps.PointerEvent) => void;
|
|
189
|
+
mouseover?: (event: naver.maps.PointerEvent) => void;
|
|
190
|
+
mouseout?: (event: naver.maps.PointerEvent) => void;
|
|
191
|
+
mouseenter?: (event: naver.maps.PointerEvent) => void;
|
|
192
|
+
mouseleave?: (event: naver.maps.PointerEvent) => void;
|
|
193
|
+
}
|
|
194
|
+
type HandlerOfProp$5<P extends PropKey$5> = PolygonCallbacks[{
|
|
195
|
+
[E in EventKey$5]: (typeof EVENT_TO_PROP$5)[E] extends P ? E : never;
|
|
196
|
+
}[EventKey$5]];
|
|
197
|
+
type PolygonEventProps = {
|
|
198
|
+
[P in PropKey$5]?: HandlerOfProp$5<P>;
|
|
199
|
+
};
|
|
200
|
+
type BasePolygonProps = Omit<naver.maps.PolygonOptions, "map">;
|
|
201
|
+
interface PolygonProps extends BasePolygonProps, PolygonEventProps {
|
|
202
|
+
}
|
|
203
|
+
declare const Polygon: react.ForwardRefExoticComponent<PolygonProps & react.RefAttributes<naver.maps.Polygon>>;
|
|
204
|
+
|
|
170
205
|
declare const EVENT_TO_PROP$4: {
|
|
171
206
|
readonly click: "onClick";
|
|
172
207
|
readonly dblclick: "onDblclick";
|
|
@@ -180,7 +215,7 @@ declare const EVENT_TO_PROP$4: {
|
|
|
180
215
|
};
|
|
181
216
|
type EventKey$4 = keyof typeof EVENT_TO_PROP$4;
|
|
182
217
|
type PropKey$4 = (typeof EVENT_TO_PROP$4)[EventKey$4];
|
|
183
|
-
interface
|
|
218
|
+
interface PolylineCallbacks {
|
|
184
219
|
click?: (event: naver.maps.PointerEvent) => void;
|
|
185
220
|
dblclick?: (event: naver.maps.PointerEvent) => void;
|
|
186
221
|
rightclick?: (event: naver.maps.PointerEvent) => void;
|
|
@@ -191,16 +226,16 @@ interface PolygonCallbacks {
|
|
|
191
226
|
mouseenter?: (event: naver.maps.PointerEvent) => void;
|
|
192
227
|
mouseleave?: (event: naver.maps.PointerEvent) => void;
|
|
193
228
|
}
|
|
194
|
-
type HandlerOfProp$4<P extends PropKey$4> =
|
|
229
|
+
type HandlerOfProp$4<P extends PropKey$4> = PolylineCallbacks[{
|
|
195
230
|
[E in EventKey$4]: (typeof EVENT_TO_PROP$4)[E] extends P ? E : never;
|
|
196
231
|
}[EventKey$4]];
|
|
197
|
-
type
|
|
232
|
+
type PolylineEventProps = {
|
|
198
233
|
[P in PropKey$4]?: HandlerOfProp$4<P>;
|
|
199
234
|
};
|
|
200
|
-
type
|
|
201
|
-
interface
|
|
235
|
+
type BasePolylineProps = Omit<naver.maps.PolylineOptions, "map">;
|
|
236
|
+
interface PolylineProps extends BasePolylineProps, PolylineEventProps {
|
|
202
237
|
}
|
|
203
|
-
declare const
|
|
238
|
+
declare const Polyline: react.ForwardRefExoticComponent<PolylineProps & react.RefAttributes<naver.maps.Polyline>>;
|
|
204
239
|
|
|
205
240
|
declare const EVENT_TO_PROP$3: {
|
|
206
241
|
readonly click: "onClick";
|
|
@@ -215,7 +250,7 @@ declare const EVENT_TO_PROP$3: {
|
|
|
215
250
|
};
|
|
216
251
|
type EventKey$3 = keyof typeof EVENT_TO_PROP$3;
|
|
217
252
|
type PropKey$3 = (typeof EVENT_TO_PROP$3)[EventKey$3];
|
|
218
|
-
interface
|
|
253
|
+
interface RectangleCallbacks {
|
|
219
254
|
click?: (event: naver.maps.PointerEvent) => void;
|
|
220
255
|
dblclick?: (event: naver.maps.PointerEvent) => void;
|
|
221
256
|
rightclick?: (event: naver.maps.PointerEvent) => void;
|
|
@@ -226,16 +261,16 @@ interface PolylineCallbacks {
|
|
|
226
261
|
mouseenter?: (event: naver.maps.PointerEvent) => void;
|
|
227
262
|
mouseleave?: (event: naver.maps.PointerEvent) => void;
|
|
228
263
|
}
|
|
229
|
-
type HandlerOfProp$3<P extends PropKey$3> =
|
|
264
|
+
type HandlerOfProp$3<P extends PropKey$3> = RectangleCallbacks[{
|
|
230
265
|
[E in EventKey$3]: (typeof EVENT_TO_PROP$3)[E] extends P ? E : never;
|
|
231
266
|
}[EventKey$3]];
|
|
232
|
-
type
|
|
267
|
+
type RectangleEventProps = {
|
|
233
268
|
[P in PropKey$3]?: HandlerOfProp$3<P>;
|
|
234
269
|
};
|
|
235
|
-
type
|
|
236
|
-
interface
|
|
270
|
+
type BaseRectangleProps = Omit<naver.maps.RectangleOptions, "map">;
|
|
271
|
+
interface RectangleProps extends BaseRectangleProps, RectangleEventProps {
|
|
237
272
|
}
|
|
238
|
-
declare const
|
|
273
|
+
declare const Rectangle: react.ForwardRefExoticComponent<RectangleProps & react.RefAttributes<naver.maps.Rectangle>>;
|
|
239
274
|
|
|
240
275
|
declare const EVENT_TO_PROP$2: {
|
|
241
276
|
readonly click: "onClick";
|
|
@@ -250,7 +285,7 @@ declare const EVENT_TO_PROP$2: {
|
|
|
250
285
|
};
|
|
251
286
|
type EventKey$2 = keyof typeof EVENT_TO_PROP$2;
|
|
252
287
|
type PropKey$2 = (typeof EVENT_TO_PROP$2)[EventKey$2];
|
|
253
|
-
interface
|
|
288
|
+
interface CircleCallbacks {
|
|
254
289
|
click?: (event: naver.maps.PointerEvent) => void;
|
|
255
290
|
dblclick?: (event: naver.maps.PointerEvent) => void;
|
|
256
291
|
rightclick?: (event: naver.maps.PointerEvent) => void;
|
|
@@ -261,16 +296,16 @@ interface RectangleCallbacks {
|
|
|
261
296
|
mouseenter?: (event: naver.maps.PointerEvent) => void;
|
|
262
297
|
mouseleave?: (event: naver.maps.PointerEvent) => void;
|
|
263
298
|
}
|
|
264
|
-
type HandlerOfProp$2<P extends PropKey$2> =
|
|
299
|
+
type HandlerOfProp$2<P extends PropKey$2> = CircleCallbacks[{
|
|
265
300
|
[E in EventKey$2]: (typeof EVENT_TO_PROP$2)[E] extends P ? E : never;
|
|
266
301
|
}[EventKey$2]];
|
|
267
|
-
type
|
|
302
|
+
type CircleEventProps = {
|
|
268
303
|
[P in PropKey$2]?: HandlerOfProp$2<P>;
|
|
269
304
|
};
|
|
270
|
-
type
|
|
271
|
-
interface
|
|
305
|
+
type BaseCircleProps = Omit<naver.maps.CircleOptions, "map">;
|
|
306
|
+
interface CircleProps extends BaseCircleProps, CircleEventProps {
|
|
272
307
|
}
|
|
273
|
-
declare const
|
|
308
|
+
declare const Circle: react.ForwardRefExoticComponent<CircleProps & react.RefAttributes<naver.maps.Circle>>;
|
|
274
309
|
|
|
275
310
|
declare const EVENT_TO_PROP$1: {
|
|
276
311
|
readonly click: "onClick";
|
|
@@ -285,7 +320,7 @@ declare const EVENT_TO_PROP$1: {
|
|
|
285
320
|
};
|
|
286
321
|
type EventKey$1 = keyof typeof EVENT_TO_PROP$1;
|
|
287
322
|
type PropKey$1 = (typeof EVENT_TO_PROP$1)[EventKey$1];
|
|
288
|
-
interface
|
|
323
|
+
interface EllipseCallbacks {
|
|
289
324
|
click?: (event: naver.maps.PointerEvent) => void;
|
|
290
325
|
dblclick?: (event: naver.maps.PointerEvent) => void;
|
|
291
326
|
rightclick?: (event: naver.maps.PointerEvent) => void;
|
|
@@ -296,18 +331,24 @@ interface CircleCallbacks {
|
|
|
296
331
|
mouseenter?: (event: naver.maps.PointerEvent) => void;
|
|
297
332
|
mouseleave?: (event: naver.maps.PointerEvent) => void;
|
|
298
333
|
}
|
|
299
|
-
type HandlerOfProp$1<P extends PropKey$1> =
|
|
334
|
+
type HandlerOfProp$1<P extends PropKey$1> = EllipseCallbacks[{
|
|
300
335
|
[E in EventKey$1]: (typeof EVENT_TO_PROP$1)[E] extends P ? E : never;
|
|
301
336
|
}[EventKey$1]];
|
|
302
|
-
type
|
|
337
|
+
type EllipseEventProps = {
|
|
303
338
|
[P in PropKey$1]?: HandlerOfProp$1<P>;
|
|
304
339
|
};
|
|
305
|
-
type
|
|
306
|
-
interface
|
|
340
|
+
type BaseEllipseProps = Omit<naver.maps.EllipseOptions, "map">;
|
|
341
|
+
interface EllipseProps extends BaseEllipseProps, EllipseEventProps {
|
|
307
342
|
}
|
|
308
|
-
declare const
|
|
343
|
+
declare const Ellipse: react.ForwardRefExoticComponent<EllipseProps & react.RefAttributes<naver.maps.Ellipse>>;
|
|
309
344
|
|
|
310
345
|
declare const EVENT_TO_PROP: {
|
|
346
|
+
readonly addfeature: "onAddFeature";
|
|
347
|
+
readonly removefeature: "onRemoveFeature";
|
|
348
|
+
readonly setfeature: "onSetFeature";
|
|
349
|
+
readonly setgeometry: "onSetGeometry";
|
|
350
|
+
readonly setproperty: "onSetProperty";
|
|
351
|
+
readonly removeproperty: "onRemoveProperty";
|
|
311
352
|
readonly click: "onClick";
|
|
312
353
|
readonly dblclick: "onDblclick";
|
|
313
354
|
readonly rightclick: "onRightclick";
|
|
@@ -315,12 +356,17 @@ declare const EVENT_TO_PROP: {
|
|
|
315
356
|
readonly mouseup: "onMouseUp";
|
|
316
357
|
readonly mouseover: "onMouseOver";
|
|
317
358
|
readonly mouseout: "onMouseOut";
|
|
318
|
-
readonly
|
|
319
|
-
readonly mouseleave: "onMouseLeave";
|
|
359
|
+
readonly mousemove: "onMouseMove";
|
|
320
360
|
};
|
|
321
361
|
type EventKey = keyof typeof EVENT_TO_PROP;
|
|
322
362
|
type PropKey = (typeof EVENT_TO_PROP)[EventKey];
|
|
323
|
-
interface
|
|
363
|
+
interface DataLayerCallbacks {
|
|
364
|
+
addfeature?: (event: naver.maps.FeatureEvent) => void;
|
|
365
|
+
removefeature?: (event: naver.maps.FeatureEvent) => void;
|
|
366
|
+
setfeature?: (event: naver.maps.FeatureEvent) => void;
|
|
367
|
+
setgeometry?: (event: naver.maps.FeatureEvent) => void;
|
|
368
|
+
setproperty?: (event: naver.maps.PropertyEvent) => void;
|
|
369
|
+
removeproperty?: (event: naver.maps.PropertyEvent) => void;
|
|
324
370
|
click?: (event: naver.maps.PointerEvent) => void;
|
|
325
371
|
dblclick?: (event: naver.maps.PointerEvent) => void;
|
|
326
372
|
rightclick?: (event: naver.maps.PointerEvent) => void;
|
|
@@ -328,19 +374,24 @@ interface EllipseCallbacks {
|
|
|
328
374
|
mouseup?: (event: naver.maps.PointerEvent) => void;
|
|
329
375
|
mouseover?: (event: naver.maps.PointerEvent) => void;
|
|
330
376
|
mouseout?: (event: naver.maps.PointerEvent) => void;
|
|
331
|
-
|
|
332
|
-
mouseleave?: (event: naver.maps.PointerEvent) => void;
|
|
377
|
+
mousemove?: (event: naver.maps.PointerEvent) => void;
|
|
333
378
|
}
|
|
334
|
-
type HandlerOfProp<P extends PropKey> =
|
|
379
|
+
type HandlerOfProp<P extends PropKey> = DataLayerCallbacks[{
|
|
335
380
|
[E in EventKey]: (typeof EVENT_TO_PROP)[E] extends P ? E : never;
|
|
336
381
|
}[EventKey]];
|
|
337
|
-
type
|
|
382
|
+
type DataLayerEventProps = {
|
|
338
383
|
[P in PropKey]?: HandlerOfProp<P>;
|
|
339
384
|
};
|
|
340
|
-
type
|
|
341
|
-
interface
|
|
385
|
+
type DataLayerType = "gpx" | "kml" | "geojson";
|
|
386
|
+
interface DataLayerProps extends DataLayerEventProps {
|
|
387
|
+
type: DataLayerType;
|
|
388
|
+
url: string;
|
|
389
|
+
autoStyle?: boolean;
|
|
390
|
+
style?: naver.maps.StyleOptions | naver.maps.StylingFunction;
|
|
391
|
+
onLoad?: (layer: naver.maps.Data) => void;
|
|
392
|
+
onError?: (error: Error) => void;
|
|
342
393
|
}
|
|
343
|
-
declare const
|
|
394
|
+
declare const DataLayer: ({ type, url, autoStyle, style, onLoad, onError, ...eventProps }: DataLayerProps) => null;
|
|
344
395
|
|
|
345
|
-
export { Circle, Ellipse, Map, MapProvider, Marker, Overlay, Polygon, Polyline, Rectangle, useMap };
|
|
346
|
-
export type { CircleProps, EllipseProps, MapProps, MarkerProps, PolylineProps, RectangleProps };
|
|
396
|
+
export { Circle, DataLayer, Ellipse, Map, MapProvider, Marker, Overlay, Polygon, Polyline, Rectangle, useMap };
|
|
397
|
+
export type { CircleProps, DataLayerProps, EllipseProps, MapProps, MarkerProps, PolylineProps, RectangleProps };
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,kBAAkB,CAAC;AAClD,YAAY,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEjD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAE1E,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,qBAAqB,CAAC;AACxD,YAAY,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAEvD,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAA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