Commit bd86baa
committed
Fix #93: Do not autocenter if params are passed in the url
if center_lat, center_lng and zoom are passed via GET, it means that we
have generate a link from the map ("Link to this map").
In this case, if the autocenter feature is enabled, the map should not
autocenter.1 parent 14f58e8 commit bd86baa
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
520 | 520 | | |
521 | 521 | | |
522 | 522 | | |
523 | | - | |
| 523 | + | |
524 | 524 | | |
525 | 525 | | |
526 | 526 | | |
| |||
0 commit comments