react-map4d-map 1.0.0 → 1.0.2

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/index.js CHANGED
@@ -3,1105 +3,6 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'defau
3
3
  var React = require('react');
4
4
  var React__default = _interopDefault(React);
5
5
 
6
- function createCommonjsModule(fn, module) {
7
- return module = { exports: {} }, fn(module, module.exports), module.exports;
8
- }
9
-
10
- /** @license React v16.13.1
11
- * react-is.production.min.js
12
- *
13
- * Copyright (c) Facebook, Inc. and its affiliates.
14
- *
15
- * This source code is licensed under the MIT license found in the
16
- * LICENSE file in the root directory of this source tree.
17
- */
18
- var b="function"===typeof Symbol&&Symbol.for,c=b?Symbol.for("react.element"):60103,d=b?Symbol.for("react.portal"):60106,e=b?Symbol.for("react.fragment"):60107,f=b?Symbol.for("react.strict_mode"):60108,g=b?Symbol.for("react.profiler"):60114,h=b?Symbol.for("react.provider"):60109,k=b?Symbol.for("react.context"):60110,l=b?Symbol.for("react.async_mode"):60111,m=b?Symbol.for("react.concurrent_mode"):60111,n=b?Symbol.for("react.forward_ref"):60112,p=b?Symbol.for("react.suspense"):60113,q=b?
19
- Symbol.for("react.suspense_list"):60120,r=b?Symbol.for("react.memo"):60115,t=b?Symbol.for("react.lazy"):60116,v=b?Symbol.for("react.block"):60121,w=b?Symbol.for("react.fundamental"):60117,x=b?Symbol.for("react.responder"):60118,y=b?Symbol.for("react.scope"):60119;
20
- function z(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}var AsyncMode=l;var ConcurrentMode=m;var ContextConsumer=k;var ContextProvider=h;var Element=c;var ForwardRef=n;var Fragment=e;var Lazy=t;var Memo=r;var Portal=d;
21
- var Profiler=g;var StrictMode=f;var Suspense=p;var isAsyncMode=function(a){return A(a)||z(a)===l};var isConcurrentMode=A;var isContextConsumer=function(a){return z(a)===k};var isContextProvider=function(a){return z(a)===h};var isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===c};var isForwardRef=function(a){return z(a)===n};var isFragment=function(a){return z(a)===e};var isLazy=function(a){return z(a)===t};
22
- var isMemo=function(a){return z(a)===r};var isPortal=function(a){return z(a)===d};var isProfiler=function(a){return z(a)===g};var isStrictMode=function(a){return z(a)===f};var isSuspense=function(a){return z(a)===p};
23
- var isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||"object"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};var typeOf=z;
24
-
25
- var reactIs_production_min = {
26
- AsyncMode: AsyncMode,
27
- ConcurrentMode: ConcurrentMode,
28
- ContextConsumer: ContextConsumer,
29
- ContextProvider: ContextProvider,
30
- Element: Element,
31
- ForwardRef: ForwardRef,
32
- Fragment: Fragment,
33
- Lazy: Lazy,
34
- Memo: Memo,
35
- Portal: Portal,
36
- Profiler: Profiler,
37
- StrictMode: StrictMode,
38
- Suspense: Suspense,
39
- isAsyncMode: isAsyncMode,
40
- isConcurrentMode: isConcurrentMode,
41
- isContextConsumer: isContextConsumer,
42
- isContextProvider: isContextProvider,
43
- isElement: isElement,
44
- isForwardRef: isForwardRef,
45
- isFragment: isFragment,
46
- isLazy: isLazy,
47
- isMemo: isMemo,
48
- isPortal: isPortal,
49
- isProfiler: isProfiler,
50
- isStrictMode: isStrictMode,
51
- isSuspense: isSuspense,
52
- isValidElementType: isValidElementType,
53
- typeOf: typeOf
54
- };
55
-
56
- var reactIs_development = createCommonjsModule(function (module, exports) {
57
-
58
-
59
-
60
- if (process.env.NODE_ENV !== "production") {
61
- (function() {
62
-
63
- // The Symbol used to tag the ReactElement-like types. If there is no native Symbol
64
- // nor polyfill, then a plain number is used for performance.
65
- var hasSymbol = typeof Symbol === 'function' && Symbol.for;
66
- var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
67
- var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
68
- var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
69
- var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
70
- var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
71
- var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
72
- var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
73
- // (unstable) APIs that have been removed. Can we remove the symbols?
74
-
75
- var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
76
- var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
77
- var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
78
- var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
79
- var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
80
- var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
81
- var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
82
- var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
83
- var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
84
- var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
85
- var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
86
-
87
- function isValidElementType(type) {
88
- return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
89
- type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
90
- }
91
-
92
- function typeOf(object) {
93
- if (typeof object === 'object' && object !== null) {
94
- var $$typeof = object.$$typeof;
95
-
96
- switch ($$typeof) {
97
- case REACT_ELEMENT_TYPE:
98
- var type = object.type;
99
-
100
- switch (type) {
101
- case REACT_ASYNC_MODE_TYPE:
102
- case REACT_CONCURRENT_MODE_TYPE:
103
- case REACT_FRAGMENT_TYPE:
104
- case REACT_PROFILER_TYPE:
105
- case REACT_STRICT_MODE_TYPE:
106
- case REACT_SUSPENSE_TYPE:
107
- return type;
108
-
109
- default:
110
- var $$typeofType = type && type.$$typeof;
111
-
112
- switch ($$typeofType) {
113
- case REACT_CONTEXT_TYPE:
114
- case REACT_FORWARD_REF_TYPE:
115
- case REACT_LAZY_TYPE:
116
- case REACT_MEMO_TYPE:
117
- case REACT_PROVIDER_TYPE:
118
- return $$typeofType;
119
-
120
- default:
121
- return $$typeof;
122
- }
123
-
124
- }
125
-
126
- case REACT_PORTAL_TYPE:
127
- return $$typeof;
128
- }
129
- }
130
-
131
- return undefined;
132
- } // AsyncMode is deprecated along with isAsyncMode
133
-
134
- var AsyncMode = REACT_ASYNC_MODE_TYPE;
135
- var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
136
- var ContextConsumer = REACT_CONTEXT_TYPE;
137
- var ContextProvider = REACT_PROVIDER_TYPE;
138
- var Element = REACT_ELEMENT_TYPE;
139
- var ForwardRef = REACT_FORWARD_REF_TYPE;
140
- var Fragment = REACT_FRAGMENT_TYPE;
141
- var Lazy = REACT_LAZY_TYPE;
142
- var Memo = REACT_MEMO_TYPE;
143
- var Portal = REACT_PORTAL_TYPE;
144
- var Profiler = REACT_PROFILER_TYPE;
145
- var StrictMode = REACT_STRICT_MODE_TYPE;
146
- var Suspense = REACT_SUSPENSE_TYPE;
147
- var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated
148
-
149
- function isAsyncMode(object) {
150
- {
151
- if (!hasWarnedAboutDeprecatedIsAsyncMode) {
152
- hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
153
-
154
- console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');
155
- }
156
- }
157
-
158
- return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
159
- }
160
- function isConcurrentMode(object) {
161
- return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
162
- }
163
- function isContextConsumer(object) {
164
- return typeOf(object) === REACT_CONTEXT_TYPE;
165
- }
166
- function isContextProvider(object) {
167
- return typeOf(object) === REACT_PROVIDER_TYPE;
168
- }
169
- function isElement(object) {
170
- return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
171
- }
172
- function isForwardRef(object) {
173
- return typeOf(object) === REACT_FORWARD_REF_TYPE;
174
- }
175
- function isFragment(object) {
176
- return typeOf(object) === REACT_FRAGMENT_TYPE;
177
- }
178
- function isLazy(object) {
179
- return typeOf(object) === REACT_LAZY_TYPE;
180
- }
181
- function isMemo(object) {
182
- return typeOf(object) === REACT_MEMO_TYPE;
183
- }
184
- function isPortal(object) {
185
- return typeOf(object) === REACT_PORTAL_TYPE;
186
- }
187
- function isProfiler(object) {
188
- return typeOf(object) === REACT_PROFILER_TYPE;
189
- }
190
- function isStrictMode(object) {
191
- return typeOf(object) === REACT_STRICT_MODE_TYPE;
192
- }
193
- function isSuspense(object) {
194
- return typeOf(object) === REACT_SUSPENSE_TYPE;
195
- }
196
-
197
- exports.AsyncMode = AsyncMode;
198
- exports.ConcurrentMode = ConcurrentMode;
199
- exports.ContextConsumer = ContextConsumer;
200
- exports.ContextProvider = ContextProvider;
201
- exports.Element = Element;
202
- exports.ForwardRef = ForwardRef;
203
- exports.Fragment = Fragment;
204
- exports.Lazy = Lazy;
205
- exports.Memo = Memo;
206
- exports.Portal = Portal;
207
- exports.Profiler = Profiler;
208
- exports.StrictMode = StrictMode;
209
- exports.Suspense = Suspense;
210
- exports.isAsyncMode = isAsyncMode;
211
- exports.isConcurrentMode = isConcurrentMode;
212
- exports.isContextConsumer = isContextConsumer;
213
- exports.isContextProvider = isContextProvider;
214
- exports.isElement = isElement;
215
- exports.isForwardRef = isForwardRef;
216
- exports.isFragment = isFragment;
217
- exports.isLazy = isLazy;
218
- exports.isMemo = isMemo;
219
- exports.isPortal = isPortal;
220
- exports.isProfiler = isProfiler;
221
- exports.isStrictMode = isStrictMode;
222
- exports.isSuspense = isSuspense;
223
- exports.isValidElementType = isValidElementType;
224
- exports.typeOf = typeOf;
225
- })();
226
- }
227
- });
228
-
229
- var reactIs = createCommonjsModule(function (module) {
230
-
231
- if (process.env.NODE_ENV === 'production') {
232
- module.exports = reactIs_production_min;
233
- } else {
234
- module.exports = reactIs_development;
235
- }
236
- });
237
-
238
- /*
239
- object-assign
240
- (c) Sindre Sorhus
241
- @license MIT
242
- */
243
- /* eslint-disable no-unused-vars */
244
- var getOwnPropertySymbols = Object.getOwnPropertySymbols;
245
- var hasOwnProperty = Object.prototype.hasOwnProperty;
246
- var propIsEnumerable = Object.prototype.propertyIsEnumerable;
247
-
248
- function toObject(val) {
249
- if (val === null || val === undefined) {
250
- throw new TypeError('Object.assign cannot be called with null or undefined');
251
- }
252
-
253
- return Object(val);
254
- }
255
-
256
- function shouldUseNative() {
257
- try {
258
- if (!Object.assign) {
259
- return false;
260
- }
261
-
262
- // Detect buggy property enumeration order in older V8 versions.
263
-
264
- // https://bugs.chromium.org/p/v8/issues/detail?id=4118
265
- var test1 = new String('abc'); // eslint-disable-line no-new-wrappers
266
- test1[5] = 'de';
267
- if (Object.getOwnPropertyNames(test1)[0] === '5') {
268
- return false;
269
- }
270
-
271
- // https://bugs.chromium.org/p/v8/issues/detail?id=3056
272
- var test2 = {};
273
- for (var i = 0; i < 10; i++) {
274
- test2['_' + String.fromCharCode(i)] = i;
275
- }
276
- var order2 = Object.getOwnPropertyNames(test2).map(function (n) {
277
- return test2[n];
278
- });
279
- if (order2.join('') !== '0123456789') {
280
- return false;
281
- }
282
-
283
- // https://bugs.chromium.org/p/v8/issues/detail?id=3056
284
- var test3 = {};
285
- 'abcdefghijklmnopqrst'.split('').forEach(function (letter) {
286
- test3[letter] = letter;
287
- });
288
- if (Object.keys(Object.assign({}, test3)).join('') !==
289
- 'abcdefghijklmnopqrst') {
290
- return false;
291
- }
292
-
293
- return true;
294
- } catch (err) {
295
- // We don't expect any of the above to throw, but better to be safe.
296
- return false;
297
- }
298
- }
299
-
300
- var objectAssign = shouldUseNative() ? Object.assign : function (target, source) {
301
- var from;
302
- var to = toObject(target);
303
- var symbols;
304
-
305
- for (var s = 1; s < arguments.length; s++) {
306
- from = Object(arguments[s]);
307
-
308
- for (var key in from) {
309
- if (hasOwnProperty.call(from, key)) {
310
- to[key] = from[key];
311
- }
312
- }
313
-
314
- if (getOwnPropertySymbols) {
315
- symbols = getOwnPropertySymbols(from);
316
- for (var i = 0; i < symbols.length; i++) {
317
- if (propIsEnumerable.call(from, symbols[i])) {
318
- to[symbols[i]] = from[symbols[i]];
319
- }
320
- }
321
- }
322
- }
323
-
324
- return to;
325
- };
326
-
327
- /**
328
- * Copyright (c) 2013-present, Facebook, Inc.
329
- *
330
- * This source code is licensed under the MIT license found in the
331
- * LICENSE file in the root directory of this source tree.
332
- */
333
-
334
- var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
335
-
336
- var ReactPropTypesSecret_1 = ReactPropTypesSecret;
337
-
338
- var has = Function.call.bind(Object.prototype.hasOwnProperty);
339
-
340
- var printWarning = function() {};
341
-
342
- if (process.env.NODE_ENV !== 'production') {
343
- var ReactPropTypesSecret$1 = ReactPropTypesSecret_1;
344
- var loggedTypeFailures = {};
345
- var has$1 = has;
346
-
347
- printWarning = function(text) {
348
- var message = 'Warning: ' + text;
349
- if (typeof console !== 'undefined') {
350
- console.error(message);
351
- }
352
- try {
353
- // --- Welcome to debugging React ---
354
- // This error was thrown as a convenience so that you can use this stack
355
- // to find the callsite that caused this warning to fire.
356
- throw new Error(message);
357
- } catch (x) { /**/ }
358
- };
359
- }
360
-
361
- /**
362
- * Assert that the values match with the type specs.
363
- * Error messages are memorized and will only be shown once.
364
- *
365
- * @param {object} typeSpecs Map of name to a ReactPropType
366
- * @param {object} values Runtime values that need to be type-checked
367
- * @param {string} location e.g. "prop", "context", "child context"
368
- * @param {string} componentName Name of the component for error messages.
369
- * @param {?Function} getStack Returns the component stack.
370
- * @private
371
- */
372
- function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
373
- if (process.env.NODE_ENV !== 'production') {
374
- for (var typeSpecName in typeSpecs) {
375
- if (has$1(typeSpecs, typeSpecName)) {
376
- var error;
377
- // Prop type validation may throw. In case they do, we don't want to
378
- // fail the render phase where it didn't fail before. So we log it.
379
- // After these have been cleaned up, we'll let them throw.
380
- try {
381
- // This is intentionally an invariant that gets caught. It's the same
382
- // behavior as without this statement except with a better message.
383
- if (typeof typeSpecs[typeSpecName] !== 'function') {
384
- var err = Error(
385
- (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +
386
- 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' +
387
- 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'
388
- );
389
- err.name = 'Invariant Violation';
390
- throw err;
391
- }
392
- error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret$1);
393
- } catch (ex) {
394
- error = ex;
395
- }
396
- if (error && !(error instanceof Error)) {
397
- printWarning(
398
- (componentName || 'React class') + ': type specification of ' +
399
- location + ' `' + typeSpecName + '` is invalid; the type checker ' +
400
- 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +
401
- 'You may have forgotten to pass an argument to the type checker ' +
402
- 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +
403
- 'shape all require an argument).'
404
- );
405
- }
406
- if (error instanceof Error && !(error.message in loggedTypeFailures)) {
407
- // Only monitor this failure once because there tends to be a lot of the
408
- // same error.
409
- loggedTypeFailures[error.message] = true;
410
-
411
- var stack = getStack ? getStack() : '';
412
-
413
- printWarning(
414
- 'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')
415
- );
416
- }
417
- }
418
- }
419
- }
420
- }
421
-
422
- /**
423
- * Resets warning cache when testing.
424
- *
425
- * @private
426
- */
427
- checkPropTypes.resetWarningCache = function() {
428
- if (process.env.NODE_ENV !== 'production') {
429
- loggedTypeFailures = {};
430
- }
431
- };
432
-
433
- var checkPropTypes_1 = checkPropTypes;
434
-
435
- var printWarning$1 = function() {};
436
-
437
- if (process.env.NODE_ENV !== 'production') {
438
- printWarning$1 = function(text) {
439
- var message = 'Warning: ' + text;
440
- if (typeof console !== 'undefined') {
441
- console.error(message);
442
- }
443
- try {
444
- // --- Welcome to debugging React ---
445
- // This error was thrown as a convenience so that you can use this stack
446
- // to find the callsite that caused this warning to fire.
447
- throw new Error(message);
448
- } catch (x) {}
449
- };
450
- }
451
-
452
- function emptyFunctionThatReturnsNull() {
453
- return null;
454
- }
455
-
456
- var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
457
- /* global Symbol */
458
- var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
459
- var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.
460
-
461
- /**
462
- * Returns the iterator method function contained on the iterable object.
463
- *
464
- * Be sure to invoke the function with the iterable as context:
465
- *
466
- * var iteratorFn = getIteratorFn(myIterable);
467
- * if (iteratorFn) {
468
- * var iterator = iteratorFn.call(myIterable);
469
- * ...
470
- * }
471
- *
472
- * @param {?object} maybeIterable
473
- * @return {?function}
474
- */
475
- function getIteratorFn(maybeIterable) {
476
- var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);
477
- if (typeof iteratorFn === 'function') {
478
- return iteratorFn;
479
- }
480
- }
481
-
482
- /**
483
- * Collection of methods that allow declaration and validation of props that are
484
- * supplied to React components. Example usage:
485
- *
486
- * var Props = require('ReactPropTypes');
487
- * var MyArticle = React.createClass({
488
- * propTypes: {
489
- * // An optional string prop named "description".
490
- * description: Props.string,
491
- *
492
- * // A required enum prop named "category".
493
- * category: Props.oneOf(['News','Photos']).isRequired,
494
- *
495
- * // A prop named "dialog" that requires an instance of Dialog.
496
- * dialog: Props.instanceOf(Dialog).isRequired
497
- * },
498
- * render: function() { ... }
499
- * });
500
- *
501
- * A more formal specification of how these methods are used:
502
- *
503
- * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)
504
- * decl := ReactPropTypes.{type}(.isRequired)?
505
- *
506
- * Each and every declaration produces a function with the same signature. This
507
- * allows the creation of custom validation functions. For example:
508
- *
509
- * var MyLink = React.createClass({
510
- * propTypes: {
511
- * // An optional string or URI prop named "href".
512
- * href: function(props, propName, componentName) {
513
- * var propValue = props[propName];
514
- * if (propValue != null && typeof propValue !== 'string' &&
515
- * !(propValue instanceof URI)) {
516
- * return new Error(
517
- * 'Expected a string or an URI for ' + propName + ' in ' +
518
- * componentName
519
- * );
520
- * }
521
- * }
522
- * },
523
- * render: function() {...}
524
- * });
525
- *
526
- * @internal
527
- */
528
-
529
- var ANONYMOUS = '<<anonymous>>';
530
-
531
- // Important!
532
- // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.
533
- var ReactPropTypes = {
534
- array: createPrimitiveTypeChecker('array'),
535
- bigint: createPrimitiveTypeChecker('bigint'),
536
- bool: createPrimitiveTypeChecker('boolean'),
537
- func: createPrimitiveTypeChecker('function'),
538
- number: createPrimitiveTypeChecker('number'),
539
- object: createPrimitiveTypeChecker('object'),
540
- string: createPrimitiveTypeChecker('string'),
541
- symbol: createPrimitiveTypeChecker('symbol'),
542
-
543
- any: createAnyTypeChecker(),
544
- arrayOf: createArrayOfTypeChecker,
545
- element: createElementTypeChecker(),
546
- elementType: createElementTypeTypeChecker(),
547
- instanceOf: createInstanceTypeChecker,
548
- node: createNodeChecker(),
549
- objectOf: createObjectOfTypeChecker,
550
- oneOf: createEnumTypeChecker,
551
- oneOfType: createUnionTypeChecker,
552
- shape: createShapeTypeChecker,
553
- exact: createStrictShapeTypeChecker,
554
- };
555
-
556
- /**
557
- * inlined Object.is polyfill to avoid requiring consumers ship their own
558
- * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is
559
- */
560
- /*eslint-disable no-self-compare*/
561
- function is(x, y) {
562
- // SameValue algorithm
563
- if (x === y) {
564
- // Steps 1-5, 7-10
565
- // Steps 6.b-6.e: +0 != -0
566
- return x !== 0 || 1 / x === 1 / y;
567
- } else {
568
- // Step 6.a: NaN == NaN
569
- return x !== x && y !== y;
570
- }
571
- }
572
- /*eslint-enable no-self-compare*/
573
-
574
- /**
575
- * We use an Error-like object for backward compatibility as people may call
576
- * PropTypes directly and inspect their output. However, we don't use real
577
- * Errors anymore. We don't inspect their stack anyway, and creating them
578
- * is prohibitively expensive if they are created too often, such as what
579
- * happens in oneOfType() for any type before the one that matched.
580
- */
581
- function PropTypeError(message, data) {
582
- this.message = message;
583
- this.data = data && typeof data === 'object' ? data: {};
584
- this.stack = '';
585
- }
586
- // Make `instanceof Error` still work for returned errors.
587
- PropTypeError.prototype = Error.prototype;
588
-
589
- function createChainableTypeChecker(validate) {
590
- if (process.env.NODE_ENV !== 'production') {
591
- var manualPropTypeCallCache = {};
592
- var manualPropTypeWarningCount = 0;
593
- }
594
- function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {
595
- componentName = componentName || ANONYMOUS;
596
- propFullName = propFullName || propName;
597
-
598
- if (secret !== ReactPropTypesSecret_1) {
599
- if (throwOnDirectAccess) {
600
- // New behavior only for users of `prop-types` package
601
- var err = new Error(
602
- 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
603
- 'Use `PropTypes.checkPropTypes()` to call them. ' +
604
- 'Read more at http://fb.me/use-check-prop-types'
605
- );
606
- err.name = 'Invariant Violation';
607
- throw err;
608
- } else if (process.env.NODE_ENV !== 'production' && typeof console !== 'undefined') {
609
- // Old behavior for people using React.PropTypes
610
- var cacheKey = componentName + ':' + propName;
611
- if (
612
- !manualPropTypeCallCache[cacheKey] &&
613
- // Avoid spamming the console because they are often not actionable except for lib authors
614
- manualPropTypeWarningCount < 3
615
- ) {
616
- printWarning$1(
617
- 'You are manually calling a React.PropTypes validation ' +
618
- 'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +
619
- 'and will throw in the standalone `prop-types` package. ' +
620
- 'You may be seeing this warning due to a third-party PropTypes ' +
621
- 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'
622
- );
623
- manualPropTypeCallCache[cacheKey] = true;
624
- manualPropTypeWarningCount++;
625
- }
626
- }
627
- }
628
- if (props[propName] == null) {
629
- if (isRequired) {
630
- if (props[propName] === null) {
631
- return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));
632
- }
633
- return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));
634
- }
635
- return null;
636
- } else {
637
- return validate(props, propName, componentName, location, propFullName);
638
- }
639
- }
640
-
641
- var chainedCheckType = checkType.bind(null, false);
642
- chainedCheckType.isRequired = checkType.bind(null, true);
643
-
644
- return chainedCheckType;
645
- }
646
-
647
- function createPrimitiveTypeChecker(expectedType) {
648
- function validate(props, propName, componentName, location, propFullName, secret) {
649
- var propValue = props[propName];
650
- var propType = getPropType(propValue);
651
- if (propType !== expectedType) {
652
- // `propValue` being instance of, say, date/regexp, pass the 'object'
653
- // check, but we can offer a more precise error message here rather than
654
- // 'of type `object`'.
655
- var preciseType = getPreciseType(propValue);
656
-
657
- return new PropTypeError(
658
- 'Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'),
659
- {expectedType: expectedType}
660
- );
661
- }
662
- return null;
663
- }
664
- return createChainableTypeChecker(validate);
665
- }
666
-
667
- function createAnyTypeChecker() {
668
- return createChainableTypeChecker(emptyFunctionThatReturnsNull);
669
- }
670
-
671
- function createArrayOfTypeChecker(typeChecker) {
672
- function validate(props, propName, componentName, location, propFullName) {
673
- if (typeof typeChecker !== 'function') {
674
- return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');
675
- }
676
- var propValue = props[propName];
677
- if (!Array.isArray(propValue)) {
678
- var propType = getPropType(propValue);
679
- return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));
680
- }
681
- for (var i = 0; i < propValue.length; i++) {
682
- var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret_1);
683
- if (error instanceof Error) {
684
- return error;
685
- }
686
- }
687
- return null;
688
- }
689
- return createChainableTypeChecker(validate);
690
- }
691
-
692
- function createElementTypeChecker() {
693
- function validate(props, propName, componentName, location, propFullName) {
694
- var propValue = props[propName];
695
- if (!isValidElement(propValue)) {
696
- var propType = getPropType(propValue);
697
- return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));
698
- }
699
- return null;
700
- }
701
- return createChainableTypeChecker(validate);
702
- }
703
-
704
- function createElementTypeTypeChecker() {
705
- function validate(props, propName, componentName, location, propFullName) {
706
- var propValue = props[propName];
707
- if (!reactIs.isValidElementType(propValue)) {
708
- var propType = getPropType(propValue);
709
- return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement type.'));
710
- }
711
- return null;
712
- }
713
- return createChainableTypeChecker(validate);
714
- }
715
-
716
- function createInstanceTypeChecker(expectedClass) {
717
- function validate(props, propName, componentName, location, propFullName) {
718
- if (!(props[propName] instanceof expectedClass)) {
719
- var expectedClassName = expectedClass.name || ANONYMOUS;
720
- var actualClassName = getClassName(props[propName]);
721
- return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));
722
- }
723
- return null;
724
- }
725
- return createChainableTypeChecker(validate);
726
- }
727
-
728
- function createEnumTypeChecker(expectedValues) {
729
- if (!Array.isArray(expectedValues)) {
730
- if (process.env.NODE_ENV !== 'production') {
731
- if (arguments.length > 1) {
732
- printWarning$1(
733
- 'Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' +
734
- 'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).'
735
- );
736
- } else {
737
- printWarning$1('Invalid argument supplied to oneOf, expected an array.');
738
- }
739
- }
740
- return emptyFunctionThatReturnsNull;
741
- }
742
-
743
- function validate(props, propName, componentName, location, propFullName) {
744
- var propValue = props[propName];
745
- for (var i = 0; i < expectedValues.length; i++) {
746
- if (is(propValue, expectedValues[i])) {
747
- return null;
748
- }
749
- }
750
-
751
- var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {
752
- var type = getPreciseType(value);
753
- if (type === 'symbol') {
754
- return String(value);
755
- }
756
- return value;
757
- });
758
- return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + String(propValue) + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));
759
- }
760
- return createChainableTypeChecker(validate);
761
- }
762
-
763
- function createObjectOfTypeChecker(typeChecker) {
764
- function validate(props, propName, componentName, location, propFullName) {
765
- if (typeof typeChecker !== 'function') {
766
- return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');
767
- }
768
- var propValue = props[propName];
769
- var propType = getPropType(propValue);
770
- if (propType !== 'object') {
771
- return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));
772
- }
773
- for (var key in propValue) {
774
- if (has(propValue, key)) {
775
- var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret_1);
776
- if (error instanceof Error) {
777
- return error;
778
- }
779
- }
780
- }
781
- return null;
782
- }
783
- return createChainableTypeChecker(validate);
784
- }
785
-
786
- function createUnionTypeChecker(arrayOfTypeCheckers) {
787
- if (!Array.isArray(arrayOfTypeCheckers)) {
788
- process.env.NODE_ENV !== 'production' ? printWarning$1('Invalid argument supplied to oneOfType, expected an instance of array.') : void 0;
789
- return emptyFunctionThatReturnsNull;
790
- }
791
-
792
- for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
793
- var checker = arrayOfTypeCheckers[i];
794
- if (typeof checker !== 'function') {
795
- printWarning$1(
796
- 'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +
797
- 'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.'
798
- );
799
- return emptyFunctionThatReturnsNull;
800
- }
801
- }
802
-
803
- function validate(props, propName, componentName, location, propFullName) {
804
- var expectedTypes = [];
805
- for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
806
- var checker = arrayOfTypeCheckers[i];
807
- var checkerResult = checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret_1);
808
- if (checkerResult == null) {
809
- return null;
810
- }
811
- if (checkerResult.data && has(checkerResult.data, 'expectedType')) {
812
- expectedTypes.push(checkerResult.data.expectedType);
813
- }
814
- }
815
- var expectedTypesMessage = (expectedTypes.length > 0) ? ', expected one of type [' + expectedTypes.join(', ') + ']': '';
816
- return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`' + expectedTypesMessage + '.'));
817
- }
818
- return createChainableTypeChecker(validate);
819
- }
820
-
821
- function createNodeChecker() {
822
- function validate(props, propName, componentName, location, propFullName) {
823
- if (!isNode(props[propName])) {
824
- return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));
825
- }
826
- return null;
827
- }
828
- return createChainableTypeChecker(validate);
829
- }
830
-
831
- function invalidValidatorError(componentName, location, propFullName, key, type) {
832
- return new PropTypeError(
833
- (componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' +
834
- 'it must be a function, usually from the `prop-types` package, but received `' + type + '`.'
835
- );
836
- }
837
-
838
- function createShapeTypeChecker(shapeTypes) {
839
- function validate(props, propName, componentName, location, propFullName) {
840
- var propValue = props[propName];
841
- var propType = getPropType(propValue);
842
- if (propType !== 'object') {
843
- return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
844
- }
845
- for (var key in shapeTypes) {
846
- var checker = shapeTypes[key];
847
- if (typeof checker !== 'function') {
848
- return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
849
- }
850
- var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret_1);
851
- if (error) {
852
- return error;
853
- }
854
- }
855
- return null;
856
- }
857
- return createChainableTypeChecker(validate);
858
- }
859
-
860
- function createStrictShapeTypeChecker(shapeTypes) {
861
- function validate(props, propName, componentName, location, propFullName) {
862
- var propValue = props[propName];
863
- var propType = getPropType(propValue);
864
- if (propType !== 'object') {
865
- return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
866
- }
867
- // We need to check all keys in case some are required but missing from props.
868
- var allKeys = objectAssign({}, props[propName], shapeTypes);
869
- for (var key in allKeys) {
870
- var checker = shapeTypes[key];
871
- if (has(shapeTypes, key) && typeof checker !== 'function') {
872
- return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
873
- }
874
- if (!checker) {
875
- return new PropTypeError(
876
- 'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +
877
- '\nBad object: ' + JSON.stringify(props[propName], null, ' ') +
878
- '\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')
879
- );
880
- }
881
- var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret_1);
882
- if (error) {
883
- return error;
884
- }
885
- }
886
- return null;
887
- }
888
-
889
- return createChainableTypeChecker(validate);
890
- }
891
-
892
- function isNode(propValue) {
893
- switch (typeof propValue) {
894
- case 'number':
895
- case 'string':
896
- case 'undefined':
897
- return true;
898
- case 'boolean':
899
- return !propValue;
900
- case 'object':
901
- if (Array.isArray(propValue)) {
902
- return propValue.every(isNode);
903
- }
904
- if (propValue === null || isValidElement(propValue)) {
905
- return true;
906
- }
907
-
908
- var iteratorFn = getIteratorFn(propValue);
909
- if (iteratorFn) {
910
- var iterator = iteratorFn.call(propValue);
911
- var step;
912
- if (iteratorFn !== propValue.entries) {
913
- while (!(step = iterator.next()).done) {
914
- if (!isNode(step.value)) {
915
- return false;
916
- }
917
- }
918
- } else {
919
- // Iterator will provide entry [k,v] tuples rather than values.
920
- while (!(step = iterator.next()).done) {
921
- var entry = step.value;
922
- if (entry) {
923
- if (!isNode(entry[1])) {
924
- return false;
925
- }
926
- }
927
- }
928
- }
929
- } else {
930
- return false;
931
- }
932
-
933
- return true;
934
- default:
935
- return false;
936
- }
937
- }
938
-
939
- function isSymbol(propType, propValue) {
940
- // Native Symbol.
941
- if (propType === 'symbol') {
942
- return true;
943
- }
944
-
945
- // falsy value can't be a Symbol
946
- if (!propValue) {
947
- return false;
948
- }
949
-
950
- // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'
951
- if (propValue['@@toStringTag'] === 'Symbol') {
952
- return true;
953
- }
954
-
955
- // Fallback for non-spec compliant Symbols which are polyfilled.
956
- if (typeof Symbol === 'function' && propValue instanceof Symbol) {
957
- return true;
958
- }
959
-
960
- return false;
961
- }
962
-
963
- // Equivalent of `typeof` but with special handling for array and regexp.
964
- function getPropType(propValue) {
965
- var propType = typeof propValue;
966
- if (Array.isArray(propValue)) {
967
- return 'array';
968
- }
969
- if (propValue instanceof RegExp) {
970
- // Old webkits (at least until Android 4.0) return 'function' rather than
971
- // 'object' for typeof a RegExp. We'll normalize this here so that /bla/
972
- // passes PropTypes.object.
973
- return 'object';
974
- }
975
- if (isSymbol(propType, propValue)) {
976
- return 'symbol';
977
- }
978
- return propType;
979
- }
980
-
981
- // This handles more types than `getPropType`. Only used for error messages.
982
- // See `createPrimitiveTypeChecker`.
983
- function getPreciseType(propValue) {
984
- if (typeof propValue === 'undefined' || propValue === null) {
985
- return '' + propValue;
986
- }
987
- var propType = getPropType(propValue);
988
- if (propType === 'object') {
989
- if (propValue instanceof Date) {
990
- return 'date';
991
- } else if (propValue instanceof RegExp) {
992
- return 'regexp';
993
- }
994
- }
995
- return propType;
996
- }
997
-
998
- // Returns a string that is postfixed to a warning about an invalid type.
999
- // For example, "undefined" or "of type array"
1000
- function getPostfixForTypeWarning(value) {
1001
- var type = getPreciseType(value);
1002
- switch (type) {
1003
- case 'array':
1004
- case 'object':
1005
- return 'an ' + type;
1006
- case 'boolean':
1007
- case 'date':
1008
- case 'regexp':
1009
- return 'a ' + type;
1010
- default:
1011
- return type;
1012
- }
1013
- }
1014
-
1015
- // Returns class name of the object, if any.
1016
- function getClassName(propValue) {
1017
- if (!propValue.constructor || !propValue.constructor.name) {
1018
- return ANONYMOUS;
1019
- }
1020
- return propValue.constructor.name;
1021
- }
1022
-
1023
- ReactPropTypes.checkPropTypes = checkPropTypes_1;
1024
- ReactPropTypes.resetWarningCache = checkPropTypes_1.resetWarningCache;
1025
- ReactPropTypes.PropTypes = ReactPropTypes;
1026
-
1027
- return ReactPropTypes;
1028
- };
1029
-
1030
- function emptyFunction() {}
1031
- function emptyFunctionWithReset() {}
1032
- emptyFunctionWithReset.resetWarningCache = emptyFunction;
1033
-
1034
- var factoryWithThrowingShims = function() {
1035
- function shim(props, propName, componentName, location, propFullName, secret) {
1036
- if (secret === ReactPropTypesSecret_1) {
1037
- // It is still safe when called from React.
1038
- return;
1039
- }
1040
- var err = new Error(
1041
- 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
1042
- 'Use PropTypes.checkPropTypes() to call them. ' +
1043
- 'Read more at http://fb.me/use-check-prop-types'
1044
- );
1045
- err.name = 'Invariant Violation';
1046
- throw err;
1047
- } shim.isRequired = shim;
1048
- function getShim() {
1049
- return shim;
1050
- } // Important!
1051
- // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
1052
- var ReactPropTypes = {
1053
- array: shim,
1054
- bigint: shim,
1055
- bool: shim,
1056
- func: shim,
1057
- number: shim,
1058
- object: shim,
1059
- string: shim,
1060
- symbol: shim,
1061
-
1062
- any: shim,
1063
- arrayOf: getShim,
1064
- element: shim,
1065
- elementType: shim,
1066
- instanceOf: getShim,
1067
- node: shim,
1068
- objectOf: getShim,
1069
- oneOf: getShim,
1070
- oneOfType: getShim,
1071
- shape: getShim,
1072
- exact: getShim,
1073
-
1074
- checkPropTypes: emptyFunctionWithReset,
1075
- resetWarningCache: emptyFunction
1076
- };
1077
-
1078
- ReactPropTypes.PropTypes = ReactPropTypes;
1079
-
1080
- return ReactPropTypes;
1081
- };
1082
-
1083
- var propTypes = createCommonjsModule(function (module) {
1084
- /**
1085
- * Copyright (c) 2013-present, Facebook, Inc.
1086
- *
1087
- * This source code is licensed under the MIT license found in the
1088
- * LICENSE file in the root directory of this source tree.
1089
- */
1090
-
1091
- if (process.env.NODE_ENV !== 'production') {
1092
- var ReactIs = reactIs;
1093
-
1094
- // By explicitly using `prop-types` you are opting into new development behavior.
1095
- // http://fb.me/prop-types-in-prod
1096
- var throwOnDirectAccess = true;
1097
- module.exports = factoryWithTypeCheckers(ReactIs.isElement, throwOnDirectAccess);
1098
- } else {
1099
- // By explicitly using `prop-types` you are opting into new production behavior.
1100
- // http://fb.me/prop-types-in-prod
1101
- module.exports = factoryWithThrowingShims();
1102
- }
1103
- });
1104
-
1105
6
  var defaultCt = {
1106
7
  map: null
1107
8
  };
@@ -1261,25 +162,6 @@ var MFBuilding = function MFBuilding(props) {
1261
162
  return null;
1262
163
  };
1263
164
 
1264
- MFBuilding.propTypes = {
1265
- position: propTypes.any.isRequired,
1266
- name: propTypes.string,
1267
- scale: propTypes.number,
1268
- bearing: propTypes.number,
1269
- elevation: propTypes.number,
1270
- height: propTypes.number,
1271
- model: propTypes.string,
1272
- texture: propTypes.string,
1273
- coordinates: propTypes.array,
1274
- visible: propTypes.bool,
1275
- draggable: propTypes.bool,
1276
- userInteractionEnabled: propTypes.bool,
1277
- selected: propTypes.bool,
1278
- growUp: propTypes.bool,
1279
- map: propTypes.any,
1280
- onCreated: propTypes.func
1281
- };
1282
-
1283
165
  var MFBuildingOverlay = function MFBuildingOverlay(props) {
1284
166
  var getUrl = props.getUrl,
1285
167
  visible = props.visible,
@@ -1347,15 +229,6 @@ var MFBuildingOverlay = function MFBuildingOverlay(props) {
1347
229
  return null;
1348
230
  };
1349
231
 
1350
- MFBuildingOverlay.propTypes = {
1351
- getUrl: propTypes.func.isRequired,
1352
- visible: propTypes.bool,
1353
- parserData: propTypes.func.isRequired,
1354
- prefixId: propTypes.string,
1355
- map: propTypes.any,
1356
- onCreated: propTypes.func
1357
- };
1358
-
1359
232
  var VariableTool = function VariableTool() {};
1360
233
 
1361
234
  VariableTool.hasValue = function (variable) {
@@ -1513,22 +386,6 @@ var MFCircle = function MFCircle(props) {
1513
386
  return null;
1514
387
  };
1515
388
 
1516
- MFCircle.propTypes = {
1517
- center: propTypes.any.isRequired,
1518
- radius: propTypes.number.isRequired,
1519
- fillColor: propTypes.string,
1520
- fillOpacity: propTypes.number,
1521
- visible: propTypes.bool,
1522
- strokeColor: propTypes.string,
1523
- strokeWidth: propTypes.number,
1524
- draggable: propTypes.bool,
1525
- zIndex: propTypes.number,
1526
- elevation: propTypes.number,
1527
- userInteractionEnabled: propTypes.bool,
1528
- map: propTypes.any,
1529
- onCreated: propTypes.func
1530
- };
1531
-
1532
389
  var MFDataLayer = function MFDataLayer(props) {
1533
390
  var geoJsonString = props.geoJsonString,
1534
391
  map = props.map,
@@ -1568,12 +425,6 @@ var MFDataLayer = function MFDataLayer(props) {
1568
425
  return null;
1569
426
  };
1570
427
 
1571
- MFDataLayer.propTypes = {
1572
- geoJsonString: propTypes.string.isRequired,
1573
- map: propTypes.any,
1574
- onCreated: propTypes.func
1575
- };
1576
-
1577
428
  var MFDirectionsRenderer = function MFDirectionsRenderer(props) {
1578
429
  var routes = props.routes,
1579
430
  activedIndex = props.activedIndex,
@@ -1699,27 +550,6 @@ var MFDirectionsRenderer = function MFDirectionsRenderer(props) {
1699
550
  return null;
1700
551
  };
1701
552
 
1702
- MFDirectionsRenderer.propTypes = {
1703
- routes: propTypes.any,
1704
- activedIndex: propTypes.number,
1705
- activeStrokeWidth: propTypes.number,
1706
- activeStrokeColor: propTypes.string,
1707
- activeOutlineWidth: propTypes.number,
1708
- activeOutlineColor: propTypes.string,
1709
- activeStrokePattern: propTypes.any,
1710
- inactiveStrokeWidth: propTypes.number,
1711
- inactiveStrokeColor: propTypes.string,
1712
- inactiveOutlineWidth: propTypes.number,
1713
- inactiveOutlineColor: propTypes.string,
1714
- inactiveStrokePattern: propTypes.any,
1715
- originMarkerOptions: propTypes.any,
1716
- destinationMarkerOptions: propTypes.any,
1717
- waypointMarkerOptions: propTypes.any,
1718
- onMarkerDragEnd: propTypes.func,
1719
- map: propTypes.any,
1720
- onCreated: propTypes.func
1721
- };
1722
-
1723
553
  var MFGroundOverlay = function MFGroundOverlay(props) {
1724
554
  var bounds = props.bounds,
1725
555
  getUrl = props.getUrl,
@@ -1803,17 +633,6 @@ var MFGroundOverlay = function MFGroundOverlay(props) {
1803
633
  return null;
1804
634
  };
1805
635
 
1806
- MFGroundOverlay.propTypes = {
1807
- bounds: propTypes.any.isRequired,
1808
- getUrl: propTypes.func.isRequired,
1809
- override: propTypes.bool,
1810
- visible: propTypes.bool,
1811
- zIndex: propTypes.number,
1812
- opacity: propTypes.number,
1813
- map: propTypes.any,
1814
- onCreated: propTypes.func
1815
- };
1816
-
1817
636
  var MFImageOverlay = function MFImageOverlay(props) {
1818
637
  var url = props.url,
1819
638
  bounds = props.bounds,
@@ -1890,33 +709,6 @@ var MFImageOverlay = function MFImageOverlay(props) {
1890
709
  return null;
1891
710
  };
1892
711
 
1893
- MFImageOverlay.propTypes = {
1894
- url: propTypes.any.isRequired,
1895
- bounds: propTypes.func.isRequired,
1896
- visible: propTypes.bool,
1897
- zIndex: propTypes.number,
1898
- opacity: propTypes.number,
1899
- map: propTypes.any,
1900
- onCreated: propTypes.func
1901
- };
1902
-
1903
- function _extends() {
1904
- _extends = Object.assign ? Object.assign.bind() : function (target) {
1905
- for (var i = 1; i < arguments.length; i++) {
1906
- var source = arguments[i];
1907
-
1908
- for (var key in source) {
1909
- if (Object.prototype.hasOwnProperty.call(source, key)) {
1910
- target[key] = source[key];
1911
- }
1912
- }
1913
- }
1914
-
1915
- return target;
1916
- };
1917
- return _extends.apply(this, arguments);
1918
- }
1919
-
1920
712
  function _inheritsLoose(subClass, superClass) {
1921
713
  subClass.prototype = Object.create(superClass.prototype);
1922
714
  subClass.prototype.constructor = subClass;
@@ -1993,7 +785,7 @@ var MFMap = /*#__PURE__*/function (_React$Component) {
1993
785
  };
1994
786
 
1995
787
  _proto.destroy = function destroy() {
1996
- var _this$mapRef;
788
+ var _this$eventClickMarke, _this$eventRightClick, _this$eventDragEndMar, _this$mapRef;
1997
789
 
1998
790
  delete window[this.callback];
1999
791
 
@@ -2001,10 +793,39 @@ var MFMap = /*#__PURE__*/function (_React$Component) {
2001
793
  this.scriptElement.remove();
2002
794
  }
2003
795
 
796
+ (_this$eventClickMarke = this.eventClickMarker) === null || _this$eventClickMarke === void 0 ? void 0 : _this$eventClickMarke.remove();
797
+ (_this$eventRightClick = this.eventRightClickMarker) === null || _this$eventRightClick === void 0 ? void 0 : _this$eventRightClick.remove();
798
+ (_this$eventDragEndMar = this.eventDragEndMarker) === null || _this$eventDragEndMar === void 0 ? void 0 : _this$eventDragEndMar.remove();
2004
799
  ((_this$mapRef = this.mapRef) === null || _this$mapRef === void 0 ? void 0 : _this$mapRef.destroy) && this.mapRef.destroy();
2005
800
  this.url = null;
2006
801
  };
2007
802
 
803
+ _proto.registerEvent = function registerEvent() {
804
+ var _this$mapRef2, _this$mapRef3, _this$mapRef4;
805
+
806
+ this.eventClickMarker = (_this$mapRef2 = this.mapRef) === null || _this$mapRef2 === void 0 ? void 0 : _this$mapRef2.addListener("click", function (args) {
807
+ var _args$marker, _args$marker2;
808
+
809
+ ((_args$marker = args.marker) === null || _args$marker === void 0 ? void 0 : _args$marker.onClick) && ((_args$marker2 = args.marker) === null || _args$marker2 === void 0 ? void 0 : _args$marker2.onClick());
810
+ }, {
811
+ marker: true
812
+ });
813
+ this.eventRightClickMarker = (_this$mapRef3 = this.mapRef) === null || _this$mapRef3 === void 0 ? void 0 : _this$mapRef3.addListener("rightClick", function (args) {
814
+ var _args$marker3, _args$marker4;
815
+
816
+ ((_args$marker3 = args.marker) === null || _args$marker3 === void 0 ? void 0 : _args$marker3.onRightClick) && ((_args$marker4 = args.marker) === null || _args$marker4 === void 0 ? void 0 : _args$marker4.onRightClick());
817
+ }, {
818
+ marker: true
819
+ });
820
+ this.eventDragEndMarker = (_this$mapRef4 = this.mapRef) === null || _this$mapRef4 === void 0 ? void 0 : _this$mapRef4.addListener("dragEnd", function (args) {
821
+ var _args$marker5, _args$marker6;
822
+
823
+ ((_args$marker5 = args.marker) === null || _args$marker5 === void 0 ? void 0 : _args$marker5.onDragEnd) && ((_args$marker6 = args.marker) === null || _args$marker6 === void 0 ? void 0 : _args$marker6.onDragEnd());
824
+ }, {
825
+ marker: true
826
+ });
827
+ };
828
+
2008
829
  _proto.createCallback = function createCallback() {
2009
830
  var _this2 = this;
2010
831
 
@@ -2017,6 +838,8 @@ var MFMap = /*#__PURE__*/function (_React$Component) {
2017
838
  _this2.props.onMapReady(_this2.mapRef, _this2.mapKey);
2018
839
  }
2019
840
 
841
+ _this2.registerEvent();
842
+
2020
843
  _this2.setState({
2021
844
  map: _this2.mapRef
2022
845
  });
@@ -2027,7 +850,7 @@ var MFMap = /*#__PURE__*/function (_React$Component) {
2027
850
  };
2028
851
 
2029
852
  _proto.render = function render() {
2030
- var url = "https://api.map4d.vn/sdk/map/js?version=" + this.props.version + "&key=" + this.props.accessKey + "&callback=" + this.callback;
853
+ var url = "https://api" + (this.props.environment ? "-" + this.props.environment : "") + ".map4d.vn/sdk/map/js?version=" + this.props.version + "&key=" + this.props.accessKey + "&callback=" + this.callback;
2031
854
 
2032
855
  if (this.props.mapid) {
2033
856
  url += "&mapId=" + this.props.mapid;
@@ -2044,10 +867,9 @@ var MFMap = /*#__PURE__*/function (_React$Component) {
2044
867
  }
2045
868
 
2046
869
  this.url = url;
2047
-
2048
- var newContext = _extends({}, this.context);
2049
-
2050
- newContext.map = this.state.map;
870
+ var newContext = {
871
+ map: this.state.map
872
+ };
2051
873
  return React__default.createElement(Map4dContext.Provider, {
2052
874
  value: newContext
2053
875
  }, React__default.createElement("div", {
@@ -2084,7 +906,8 @@ var MFMarker = function MFMarker(props) {
2084
906
  iconView = props.iconView,
2085
907
  userInteractionEnabled = props.userInteractionEnabled,
2086
908
  map = props.map,
2087
- onCreated = props.onCreated;
909
+ onCreated = props.onCreated,
910
+ onClick = props.onClick;
2088
911
  var map4dContext = React.useContext(Map4dContext);
2089
912
  var markerClusterContext = React.useContext(MarkerClusterContext);
2090
913
  var theMap = map || map4dContext.map;
@@ -2119,11 +942,12 @@ var MFMarker = function MFMarker(props) {
2119
942
  markerRef.current = new map4d.Marker(option);
2120
943
 
2121
944
  if (!(markerClusterContext !== null && markerClusterContext !== void 0 && markerClusterContext.addMarker)) {
2122
- var _markerRef$current;
2123
-
2124
- (_markerRef$current = markerRef.current) === null || _markerRef$current === void 0 ? void 0 : _markerRef$current.setMap(theMap);
945
+ markerRef.current.setMap(theMap);
2125
946
  }
2126
947
 
948
+ markerRef.current.onClick = onClick;
949
+ markerRef.current.onRightClick = props.onRightClick;
950
+ markerRef.current.onDragEnd = props.onDragEnd;
2127
951
  onCreated && onCreated(markerRef.current);
2128
952
  (markerClusterContext === null || markerClusterContext === void 0 ? void 0 : markerClusterContext.addMarker) && (markerClusterContext === null || markerClusterContext === void 0 ? void 0 : markerClusterContext.addMarker(markerRef.current));
2129
953
  }
@@ -2131,129 +955,109 @@ var MFMarker = function MFMarker(props) {
2131
955
  React.useEffect(function () {
2132
956
  if (theMap) {
2133
957
  if (!(markerClusterContext !== null && markerClusterContext !== void 0 && markerClusterContext.addMarker)) {
2134
- var _markerRef$current2;
958
+ var _markerRef$current;
2135
959
 
2136
- (_markerRef$current2 = markerRef.current) === null || _markerRef$current2 === void 0 ? void 0 : _markerRef$current2.setMap(theMap);
960
+ (_markerRef$current = markerRef.current) === null || _markerRef$current === void 0 ? void 0 : _markerRef$current.setMap(theMap);
2137
961
  }
2138
962
  }
2139
963
 
2140
964
  return function () {
2141
965
  if (!(markerClusterContext !== null && markerClusterContext !== void 0 && markerClusterContext.addMarker)) {
2142
- var _markerRef$current3;
966
+ var _markerRef$current2;
2143
967
 
2144
- (_markerRef$current3 = markerRef.current) === null || _markerRef$current3 === void 0 ? void 0 : _markerRef$current3.setMap(null);
968
+ (_markerRef$current2 = markerRef.current) === null || _markerRef$current2 === void 0 ? void 0 : _markerRef$current2.setMap(null);
2145
969
  }
2146
970
  };
2147
971
  }, [theMap]);
2148
972
  React.useEffect(function () {
2149
973
  return function () {
2150
974
  if (!(markerClusterContext !== null && markerClusterContext !== void 0 && markerClusterContext.addMarker)) {
2151
- var _markerRef$current4;
975
+ var _markerRef$current3;
2152
976
 
2153
- (_markerRef$current4 = markerRef.current) === null || _markerRef$current4 === void 0 ? void 0 : _markerRef$current4.setMap(null);
977
+ (_markerRef$current3 = markerRef.current) === null || _markerRef$current3 === void 0 ? void 0 : _markerRef$current3.setMap(null);
2154
978
  }
2155
979
 
2156
980
  markerRef.current && (markerClusterContext === null || markerClusterContext === void 0 ? void 0 : markerClusterContext.removeMarker) && (markerClusterContext === null || markerClusterContext === void 0 ? void 0 : markerClusterContext.removeMarker(markerRef.current));
2157
981
  };
2158
982
  }, []);
2159
983
  React.useEffect(function () {
2160
- var _markerRef$current5;
984
+ var _markerRef$current4;
2161
985
 
2162
- (_markerRef$current5 = markerRef.current) === null || _markerRef$current5 === void 0 ? void 0 : _markerRef$current5.setPosition(position);
986
+ (_markerRef$current4 = markerRef.current) === null || _markerRef$current4 === void 0 ? void 0 : _markerRef$current4.setPosition(position);
2163
987
  }, [position]);
2164
988
  React.useEffect(function () {
2165
- var _markerRef$current6;
989
+ var _markerRef$current5;
2166
990
 
2167
- (_markerRef$current6 = markerRef.current) === null || _markerRef$current6 === void 0 ? void 0 : _markerRef$current6.setVisible(visible);
991
+ (_markerRef$current5 = markerRef.current) === null || _markerRef$current5 === void 0 ? void 0 : _markerRef$current5.setVisible(visible);
2168
992
  }, [visible]);
2169
993
  React.useEffect(function () {
2170
- var _markerRef$current7;
994
+ var _markerRef$current6;
2171
995
 
2172
- anchor != undefined && ((_markerRef$current7 = markerRef.current) === null || _markerRef$current7 === void 0 ? void 0 : _markerRef$current7.setAnchor(anchor));
996
+ anchor != undefined && ((_markerRef$current6 = markerRef.current) === null || _markerRef$current6 === void 0 ? void 0 : _markerRef$current6.setAnchor(anchor));
2173
997
  }, [anchor]);
2174
998
  React.useEffect(function () {
2175
- var _markerRef$current8;
999
+ var _markerRef$current7;
2176
1000
 
2177
- labelAnchor != undefined && ((_markerRef$current8 = markerRef.current) === null || _markerRef$current8 === void 0 ? void 0 : _markerRef$current8.setLabelAnchor(labelAnchor));
1001
+ labelAnchor != undefined && ((_markerRef$current7 = markerRef.current) === null || _markerRef$current7 === void 0 ? void 0 : _markerRef$current7.setLabelAnchor(labelAnchor));
2178
1002
  }, [labelAnchor]);
2179
1003
  React.useEffect(function () {
2180
- var _markerRef$current9;
1004
+ var _markerRef$current8;
2181
1005
 
2182
- icon != undefined && ((_markerRef$current9 = markerRef.current) === null || _markerRef$current9 === void 0 ? void 0 : _markerRef$current9.setIcon(icon));
1006
+ icon != undefined && ((_markerRef$current8 = markerRef.current) === null || _markerRef$current8 === void 0 ? void 0 : _markerRef$current8.setIcon(icon));
2183
1007
  }, [icon]);
2184
1008
  React.useEffect(function () {
2185
- var _markerRef$current10;
1009
+ var _markerRef$current9;
2186
1010
 
2187
- elevation != undefined && ((_markerRef$current10 = markerRef.current) === null || _markerRef$current10 === void 0 ? void 0 : _markerRef$current10.setElevation(elevation));
1011
+ elevation != undefined && ((_markerRef$current9 = markerRef.current) === null || _markerRef$current9 === void 0 ? void 0 : _markerRef$current9.setElevation(elevation));
2188
1012
  }, [elevation]);
2189
1013
  React.useEffect(function () {
2190
- var _markerRef$current11;
1014
+ var _markerRef$current10;
2191
1015
 
2192
- rotation != undefined && ((_markerRef$current11 = markerRef.current) === null || _markerRef$current11 === void 0 ? void 0 : _markerRef$current11.setRotation(rotation));
1016
+ rotation != undefined && ((_markerRef$current10 = markerRef.current) === null || _markerRef$current10 === void 0 ? void 0 : _markerRef$current10.setRotation(rotation));
2193
1017
  }, [rotation]);
2194
1018
  React.useEffect(function () {
2195
- var _markerRef$current12;
1019
+ var _markerRef$current11;
2196
1020
 
2197
- title != undefined && ((_markerRef$current12 = markerRef.current) === null || _markerRef$current12 === void 0 ? void 0 : _markerRef$current12.setTitle(title));
1021
+ title != undefined && ((_markerRef$current11 = markerRef.current) === null || _markerRef$current11 === void 0 ? void 0 : _markerRef$current11.setTitle(title));
2198
1022
  }, [title]);
2199
1023
  React.useEffect(function () {
2200
- var _markerRef$current13;
1024
+ var _markerRef$current12;
2201
1025
 
2202
- snippet != undefined && ((_markerRef$current13 = markerRef.current) === null || _markerRef$current13 === void 0 ? void 0 : _markerRef$current13.setSnippet(snippet));
1026
+ snippet != undefined && ((_markerRef$current12 = markerRef.current) === null || _markerRef$current12 === void 0 ? void 0 : _markerRef$current12.setSnippet(snippet));
2203
1027
  }, [snippet]);
2204
1028
  React.useEffect(function () {
2205
- var _markerRef$current14;
1029
+ var _markerRef$current13;
2206
1030
 
2207
- windowAnchor != undefined && ((_markerRef$current14 = markerRef.current) === null || _markerRef$current14 === void 0 ? void 0 : _markerRef$current14.setWindowAnchor(windowAnchor));
1031
+ windowAnchor != undefined && ((_markerRef$current13 = markerRef.current) === null || _markerRef$current13 === void 0 ? void 0 : _markerRef$current13.setWindowAnchor(windowAnchor));
2208
1032
  }, [windowAnchor]);
2209
1033
  React.useEffect(function () {
2210
- var _markerRef$current15;
1034
+ var _markerRef$current14;
2211
1035
 
2212
- zIndex != undefined && ((_markerRef$current15 = markerRef.current) === null || _markerRef$current15 === void 0 ? void 0 : _markerRef$current15.setZIndex(zIndex));
1036
+ zIndex != undefined && ((_markerRef$current14 = markerRef.current) === null || _markerRef$current14 === void 0 ? void 0 : _markerRef$current14.setZIndex(zIndex));
2213
1037
  }, [zIndex]);
2214
1038
  React.useEffect(function () {
2215
- var _markerRef$current16;
1039
+ var _markerRef$current15;
2216
1040
 
2217
- label != undefined && ((_markerRef$current16 = markerRef.current) === null || _markerRef$current16 === void 0 ? void 0 : _markerRef$current16.setLabel(label));
1041
+ label != undefined && ((_markerRef$current15 = markerRef.current) === null || _markerRef$current15 === void 0 ? void 0 : _markerRef$current15.setLabel(label));
2218
1042
  }, [label]);
2219
1043
  React.useEffect(function () {
2220
- var _markerRef$current17;
1044
+ var _markerRef$current16;
2221
1045
 
2222
- draggable != undefined && ((_markerRef$current17 = markerRef.current) === null || _markerRef$current17 === void 0 ? void 0 : _markerRef$current17.setDraggable(draggable));
1046
+ draggable != undefined && ((_markerRef$current16 = markerRef.current) === null || _markerRef$current16 === void 0 ? void 0 : _markerRef$current16.setDraggable(draggable));
2223
1047
  }, [draggable]);
2224
1048
  React.useEffect(function () {
2225
- var _markerRef$current18;
1049
+ var _markerRef$current17;
2226
1050
 
2227
- iconView != undefined && ((_markerRef$current18 = markerRef.current) === null || _markerRef$current18 === void 0 ? void 0 : _markerRef$current18.setIconView(iconView));
1051
+ iconView != undefined && ((_markerRef$current17 = markerRef.current) === null || _markerRef$current17 === void 0 ? void 0 : _markerRef$current17.setIconView(iconView));
2228
1052
  }, [iconView]);
2229
1053
  React.useEffect(function () {
2230
- var _markerRef$current19;
1054
+ var _markerRef$current18;
2231
1055
 
2232
- userInteractionEnabled != undefined && ((_markerRef$current19 = markerRef.current) === null || _markerRef$current19 === void 0 ? void 0 : _markerRef$current19.setUserInteraction(userInteractionEnabled));
1056
+ userInteractionEnabled != undefined && ((_markerRef$current18 = markerRef.current) === null || _markerRef$current18 === void 0 ? void 0 : _markerRef$current18.setUserInteraction(userInteractionEnabled));
2233
1057
  }, [userInteractionEnabled]);
2234
1058
  return null;
2235
1059
  };
2236
1060
 
2237
- MFMarker.propTypes = {
2238
- position: propTypes.any.isRequired,
2239
- visible: propTypes.bool,
2240
- anchor: propTypes.any,
2241
- labelAnchor: propTypes.any,
2242
- icon: propTypes.any,
2243
- elevation: propTypes.number,
2244
- rotation: propTypes.number,
2245
- title: propTypes.string,
2246
- snippet: propTypes.string,
2247
- windowAnchor: propTypes.any,
2248
- zIndex: propTypes.number,
2249
- label: propTypes.any,
2250
- draggable: propTypes.bool,
2251
- iconView: propTypes.oneOfType([propTypes.instanceOf(Node), propTypes.string]),
2252
- userInteractionEnabled: propTypes.bool,
2253
- map: propTypes.any,
2254
- onCreated: propTypes.func
2255
- };
2256
-
2257
1061
  var MFMarkerCluster = function MFMarkerCluster(props) {
2258
1062
  var _props$minZoom = props.minZoom,
2259
1063
  minZoom = _props$minZoom === void 0 ? 0 : _props$minZoom,
@@ -2347,15 +1151,6 @@ var MFMarkerCluster = function MFMarkerCluster(props) {
2347
1151
  }, props === null || props === void 0 ? void 0 : props.children);
2348
1152
  };
2349
1153
 
2350
- MFMarkerCluster.propTypes = {
2351
- minZoom: propTypes.number,
2352
- maxZoom: propTypes.number,
2353
- radius: propTypes.number,
2354
- zoomOnClick: propTypes.bool,
2355
- map: propTypes.any,
2356
- onCreated: propTypes.func
2357
- };
2358
-
2359
1154
  var MFPOI = function MFPOI(props) {
2360
1155
  var position = props.position,
2361
1156
  title = props.title,
@@ -2481,22 +1276,6 @@ var MFPOI = function MFPOI(props) {
2481
1276
  return null;
2482
1277
  };
2483
1278
 
2484
- MFPOI.propTypes = {
2485
- position: propTypes.any.isRequired,
2486
- title: propTypes.string,
2487
- subtitle: propTypes.string,
2488
- color: propTypes.string,
2489
- type: propTypes.string,
2490
- icon: propTypes.string,
2491
- elevation: propTypes.number,
2492
- zIndex: propTypes.number,
2493
- visible: propTypes.bool,
2494
- draggable: propTypes.bool,
2495
- userInteractionEnabled: propTypes.bool,
2496
- map: propTypes.any,
2497
- onCreated: propTypes.func
2498
- };
2499
-
2500
1279
  var MFPOIOverlay = function MFPOIOverlay(props) {
2501
1280
  var getUrl = props.getUrl,
2502
1281
  _props$visible = props.visible,
@@ -2565,15 +1344,6 @@ var MFPOIOverlay = function MFPOIOverlay(props) {
2565
1344
  return null;
2566
1345
  };
2567
1346
 
2568
- MFPOIOverlay.propTypes = {
2569
- getUrl: propTypes.func.isRequired,
2570
- visible: propTypes.bool,
2571
- parserData: propTypes.func.isRequired,
2572
- prefixId: propTypes.string,
2573
- map: propTypes.any,
2574
- onCreated: propTypes.func
2575
- };
2576
-
2577
1347
  var MFPolygon = function MFPolygon(props) {
2578
1348
  var paths = props.paths,
2579
1349
  fillColor = props.fillColor,
@@ -2690,21 +1460,6 @@ var MFPolygon = function MFPolygon(props) {
2690
1460
  return null;
2691
1461
  };
2692
1462
 
2693
- MFPolygon.propTypes = {
2694
- paths: propTypes.any.isRequired,
2695
- fillColor: propTypes.string,
2696
- fillOpacity: propTypes.number,
2697
- visible: propTypes.bool,
2698
- strokeColor: propTypes.string,
2699
- strokeWidth: propTypes.number,
2700
- draggable: propTypes.number,
2701
- elevation: propTypes.number,
2702
- zIndex: propTypes.number,
2703
- userInteractionEnabled: propTypes.bool,
2704
- map: propTypes.any,
2705
- onCreated: propTypes.func
2706
- };
2707
-
2708
1463
  var MFPolyline = function MFPolyline(props) {
2709
1464
  var path = props.path,
2710
1465
  strokeWidth = props.strokeWidth,
@@ -2831,22 +1586,6 @@ var MFPolyline = function MFPolyline(props) {
2831
1586
  return null;
2832
1587
  };
2833
1588
 
2834
- MFPolyline.propTypes = {
2835
- path: propTypes.any.isRequired,
2836
- strokeWidth: propTypes.number,
2837
- strokeColor: propTypes.string,
2838
- strokeOpacity: propTypes.number,
2839
- visible: propTypes.bool,
2840
- closed: propTypes.bool,
2841
- draggable: propTypes.bool,
2842
- zIndex: propTypes.number,
2843
- elevation: propTypes.number,
2844
- strokePattern: propTypes.any,
2845
- userInteractionEnabled: propTypes.bool,
2846
- map: propTypes.any,
2847
- onCreated: propTypes.func
2848
- };
2849
-
2850
1589
  var MFTileOverlay = function MFTileOverlay(props) {
2851
1590
  var getUrl = props.getUrl,
2852
1591
  _props$visible = props.visible,
@@ -2930,15 +1669,6 @@ var MFTileOverlay = function MFTileOverlay(props) {
2930
1669
  return null;
2931
1670
  };
2932
1671
 
2933
- MFTileOverlay.propTypes = {
2934
- getUrl: propTypes.func.isRequired,
2935
- visible: propTypes.bool,
2936
- zIndex: propTypes.number,
2937
- opacity: propTypes.number,
2938
- map: propTypes.any,
2939
- onCreated: propTypes.func
2940
- };
2941
-
2942
1672
  exports.MFBuilding = MFBuilding;
2943
1673
  exports.MFBuildingOverlay = MFBuildingOverlay;
2944
1674
  exports.MFCircle = MFCircle;