@@ -418,41 +418,6 @@ function setPlotContext(gd, config) {
418
418
}
419
419
}
420
420
421
- function plotGeo ( gd ) {
422
- var fullLayout = gd . _fullLayout ,
423
- fullData = gd . _fullData ,
424
- geoIds = plots . getSubplotIds ( fullLayout , 'geo' ) ;
425
-
426
- var i , geoId , fullGeoData , geo ;
427
-
428
- // if 'plotly-geo-assets.js' is not included,
429
- // initialize object to keep reference to every loaded topojson
430
- if ( window . PlotlyGeoAssets === undefined ) {
431
- window . PlotlyGeoAssets = { topojson : { } } ;
432
- }
433
-
434
- for ( i = 0 ; i < geoIds . length ; i ++ ) {
435
- geoId = geoIds [ i ] ;
436
- fullGeoData = plots . getSubplotData ( fullData , 'geo' , geoId ) ;
437
- geo = fullLayout [ geoId ] . _geo ;
438
-
439
- // If geo is not instantiated, create one!
440
- if ( geo === undefined ) {
441
- geo = new Plotly . Geo (
442
- {
443
- id : geoId ,
444
- container : fullLayout . _geocontainer . node ( ) ,
445
- topojsonURL : gd . _context . topojsonURL
446
- } ,
447
- fullLayout
448
- ) ;
449
- fullLayout [ geoId ] . _geo = geo ;
450
- }
451
-
452
- geo . plot ( fullGeoData , fullLayout , gd . _promises ) ;
453
- }
454
- }
455
-
456
421
function plotGl2d ( gd ) {
457
422
var fullLayout = gd . _fullLayout ,
458
423
fullData = gd . _fullData ,
0 commit comments