func NewGeo(mapType string, routers ...RouterOpts) *Geo {
	chart := new(Geo)
	chart.initBaseOpts(routers...)
	chart.HasGeo = true
	chart.JSAssets.Add("maps/" + datasets.MapFileNames[mapType] + ".js")
	chart.GeoComponentOpts.Map = mapType
	return chart
}
// NewGeo creates a new geo chart.
NewGeo creates a new geo chart.
// NewGeo creates a new geo chart .
func NewGeo(mapType string, routers ...RouterOpts) *Geo {
	chart := new(Geo)
	chart.initBaseOpts(routers...)
	chart.HasGeo = true
	chart.JSAssets.Add("maps/" + datasets.MapFileNames[mapType] + ".js")
	chart.GeoComponentOpts.Map = mapType
	return chart
}
func NewGeo ( mapType string , routers ... RouterOpts ) * Geo { chart := new ( Geo ) chart . initBaseOpts ( routers ... ) chart . HasGeo = true chart . JSAssets . Add ( " " + datasets . MapFileNames [ mapType ] + " " ) chart . GeoComponentOpts . Map = mapType return chart }
NewGeo creates a new geo chart.
NewGeo creates a new geo chart .