File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -167,8 +167,6 @@ public function toArray(): array
167
167
*/
168
168
public static function fromArray (array $ map ): self
169
169
{
170
- $ map ['fitBoundsToMarkers ' ] = true ;
171
-
172
170
if (isset ($ map ['options ' ])) {
173
171
$ map ['options ' ] = [] === $ map ['options ' ] ? null : MapOptionsNormalizer::denormalize ($ map ['options ' ]);
174
172
}
@@ -177,10 +175,6 @@ public static function fromArray(array $map): self
177
175
$ map ['center ' ] = Point::fromArray ($ map ['center ' ]);
178
176
}
179
177
180
- if (isset ($ map ['zoom ' ]) || isset ($ map ['center ' ])) {
181
- $ map ['fitBoundsToMarkers ' ] = false ;
182
- }
183
-
184
178
$ map ['markers ' ] ??= [];
185
179
if (!\is_array ($ map ['markers ' ])) {
186
180
throw new InvalidArgumentException ('The "markers" parameter must be an array. ' );
You can’t perform that action at this time.
0 commit comments