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
167167 */
168168 public static function fromArray (array $ map ): self
169169 {
170- $ map ['fitBoundsToMarkers ' ] = true ;
171-
172170 if (isset ($ map ['options ' ])) {
173171 $ map ['options ' ] = [] === $ map ['options ' ] ? null : MapOptionsNormalizer::denormalize ($ map ['options ' ]);
174172 }
@@ -177,10 +175,6 @@ public static function fromArray(array $map): self
177175 $ map ['center ' ] = Point::fromArray ($ map ['center ' ]);
178176 }
179177
180- if (isset ($ map ['zoom ' ]) || isset ($ map ['center ' ])) {
181- $ map ['fitBoundsToMarkers ' ] = false ;
182- }
183-
184178 $ map ['markers ' ] ??= [];
185179 if (!\is_array ($ map ['markers ' ])) {
186180 throw new InvalidArgumentException ('The "markers" parameter must be an array. ' );
You can’t perform that action at this time.
0 commit comments