File tree 2 files changed +11
-5
lines changed
2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 1
1
bower_components
2
+ .idea
Original file line number Diff line number Diff line change 331
331
additionalMapOptions : {
332
332
type : Object ,
333
333
value : function ( ) { return { } ; }
334
+ } ,
335
+
336
+ /**
337
+ * The markers on the map.
338
+ */
339
+ markers : {
340
+ type : Array ,
341
+ value : function ( ) { return [ ] ; } ,
342
+ readOnly : true
334
343
}
335
344
336
345
} ,
347
356
'_debounceUpdateCenter(latitude, longitude)'
348
357
] ,
349
358
350
- created : function ( ) {
351
- this . markers = [ ] ;
352
- } ,
353
-
354
359
attached : function ( ) {
355
360
this . _initGMap ( ) ;
356
361
} ,
441
446
442
447
this . _observeMarkers ( ) ;
443
448
444
- this . markers = newMarkers ;
449
+ this . markers = this . _setMarkers ( newMarkers ) ;
445
450
446
451
// Set the map on each marker and zoom viewport to ensure they're in view.
447
452
if ( this . markers . length && this . map ) {
You can’t perform that action at this time.
0 commit comments