• Smoothly animate the map to a new location and zoom.

    Parameters

    • json: {
          center: number[];
          zoom: number;
      } = ...
      • center: number[]

        [longitude, latitude]

      • zoom: number

        zoom value, 0.0 to 18.0

    Returns void

    Example

    {
    "center": [
    -122.54196,
    47.54165
    ],
    "zoom": 11.5394
    }