I would like to show two goofle maps in the same page…
I am using "tugmaks\GoogleMaps\Map" and when I use twice the following code it works only one.
<?= Map::widget([
'center' => $address,
'zoom' => 16,
'apiKey'=> 'XXX',
'width' => '100%',
'height' => 400,
'mapType' => Map::MAP_TYPE_ROADMAP,
'markers' => [
['position' => $address],
]
]);
?>