Change viewpoint

View on GitHub

Set the map view to a new viewpoint.

Image of change viewpoint 1 Image of change viewpoint 2

Use case

Programmatically navigate to a specified location in the map or scene. Use this to focus on a particular point or area of interest.

How to use the sample

The map view has several methods for setting its current viewpoint. Select a viewpoint from the UI to see the viewpoint changed using that method.

How it works

  1. Create a Map object and set it to the MapView object.
  2. Change the map's viewpoint using one of the available methods:
    • Use MapViewProxy.setViewpoint(_:duration:) to pan to a viewpoint over the specified length of time.
    • Use MapViewProxy.setViewpointCenter(_:scale:) to center the viewpoint on an Point and set a distance from the ground using a scale.
    • Use MapViewProxy.setViewpointGeometry(_:padding:) to set the viewpoint to a given Geometry.

Relevant API

  • Geometry
  • Map
  • MapView
  • Point
  • Viewpoint

Additional information

See the various "setViewpoint" methods on MapViewProxy and SceneViewProxy here.

Tags

animate, extent, pan, rotate, scale, view, zoom

Sample Code

ChangeViewpointView.swift
Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
// Copyright 2023 Esri
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//   https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

import ArcGIS
import SwiftUI

struct ChangeViewpointView: View {
    /// The view model for this sample.
    @StateObject private var model = Model()

    /// The visible area on the map.
    @State private var visibleArea: ArcGIS.Polygon?

    /// The scale of the map view.
    @State private var scale: Double = 0

    /// The current viewpoint type.
    @State private var viewpointType: ViewpointType = .centerAndScale

    enum ViewpointType: CaseIterable {
        case geometry, centerAndScale, animate

        /// A human-readable label for the viewpoint type.
        var label: String {
            switch self {
            case .geometry: return "Geometry"
            case .centerAndScale: return "Center & Scale"
            case .animate: return "Animate"
            }
        }
    }

    var body: some View {
        MapViewReader { mapViewProxy in
            VStack {
                MapView(map: model.map, graphicsOverlays: [model.graphicsOverlay])
                    .onScaleChanged { scale = $0 }
                    .onVisibleAreaChanged { visibleArea = $0 }
                    .task(id: viewpointType) {
                        switch viewpointType {
                        case .centerAndScale:
                            await mapViewProxy.setViewpointCenter(model.londonEast, scale: 4e4)
                        case .geometry:
                            await mapViewProxy.setViewpointGeometry(
                                model.griffithParkGeometry,
                                padding: 50
                            )
                        case .animate:
                            if let center = visibleArea?.extent.center {
                                let currentScale = scale
                                let targetScale = currentScale / 2
                                // Zoom in at the current location with animation.
                                let finishedWithoutInterruption = await mapViewProxy.setViewpoint(
                                    Viewpoint(center: center, scale: targetScale),
                                    duration: 5
                                )
                                if finishedWithoutInterruption {
                                    // If the zoom in finishes, zoom out with animation.
                                    await mapViewProxy.setViewpoint(
                                        Viewpoint(center: center, scale: currentScale),
                                        duration: 5
                                    )
                                }
                            }
                        }
                    }
                HStack {
                    Picker("Viewpoint Type", selection: $viewpointType) {
                        ForEach(ViewpointType.allCases, id: \.self) { mode in
                            Text(mode.label)
                        }
                    }
                    .pickerStyle(.segmented)
                    .frame(maxWidth: 540)
                    .padding()
                }
            }
        }
    }
}

extension ChangeViewpointView {
    /// The model used to store the geo model and other expensive objects
    /// used in this view.
    class Model: ObservableObject {
        /// A map with an imagery basemap style.
        let map = Map(basemapStyle: .arcGISImagery)

        /// A polygon representing the area of Griffith Park.
        let griffithParkGeometry: ArcGIS.Polygon!

        /// A point representing a location in east London.
        let londonEast = Point(x: 0.1275, y: 51.5072, spatialReference: .wgs84)

        /// The graphics overlay containing a graphic.
        let graphicsOverlay = GraphicsOverlay()

        init() {
            let geometry = try? Geometry.fromJSON(Self.griffithParkJsonString)
            griffithParkGeometry = geometry as? ArcGIS.Polygon
            let griffithParkSymbol = SimpleFillSymbol(
                style: .solid,
                color: UIColor(red: 0, green: 0.5, blue: 0, alpha: 0.7)
            )
            let griffithParkGraphic = Graphic(
                geometry: griffithParkGeometry,
                symbol: griffithParkSymbol
            )
            graphicsOverlay.addGraphic(griffithParkGraphic)
        }

        /// A JSON string for the simulated path.
        private static var griffithParkJsonString: String {
        """
        {"rings":[[[6480315.80857952,1864616.07153907],[6480339.15992424,1864519.57036407],[6480466.15613459,1864130.20051135],[6480573.79410478,1863858.42924455],[6480578.55000353,1863825.66387123],[6480575.14154381,1863796.19540922],[6480566.90795971,1863773.29091427],[6480553.8187395,1863745.66759399],[6480527.39226793,1863711.16567458],[6480445.1496028,1863631.32294044],[6480256.90413578,1863868.73730074],[6479996.88974202,1863641.98434259],[6479822.49727365,1863851.70714125],[6479692.56012261,1864045.66224582],[6479377.67343161,1864012.3036975],[6479338.932345,1864013.50021809],[6479322.43138424,1864067.76916975],[6479305.58068644,1864104.57062656],[6479276.95703949,1864153.41340482],[6479248.31830072,1864196.43335672],[6479213.93744414,1864242.74464253],[6479182.25605878,1864279.95029823],[6479126.37818554,1864323.77241436],[6479120.96152659,1864335.43250275],[6479881.9332127,1864342.47547174],[6479821.01630464,1864426.34050986],[6479630.25378083,1864736.91421488],[6479555.53111814,1864863.7598349],[6479491.42031698,1864997.12742727],[6479436.6224947,1865104.26769474],[6479378.07959901,1865169.56779866],[6479322.28046581,1865242.13888961],[6479312.71486263,1865286.56336708],[6479286.49541175,1865328.48489535],[6479174.59301195,1865472.53685571],[6479146.83320892,1865504.27303101],[6479131.44543554,1865522.14669324],[6479071.74440502,1865606.3739356],[6479021.39506722,1865678.93091895],[6478991.28126493,1865735.42033988],[6478931.56383023,1865924.45714435],[6478804.55974586,1866412.09162103],[6478777.05978501,1866538.8106008],[6478741.0765685,1866662.27696054],[6478738.29507639,1866641.17758112],[6478734.01128984,1866624.08541383],[6478725.49719433,1866609.55164187],[6478712.74458781,1866594.66583627],[6478697.58876948,1866586.33677989],[6478676.39030884,1866582.0277309],[6478659.43528047,1866579.89026675],[6478638.24928699,1866579.94800945],[6478616.77195536,1866584.37352809],[6478604.0659367,1866586.59202887],[6478591.38321196,1866597.18059647],[6478585.05021572,1866605.56772365],[6478578.71721949,1866613.9551789],[6478572.10535225,1866631.07752986],[6478558.56108019,1866658.77204426],[6478563.30615218,1866623.09525776],[6478567.8195972,1866613.25701717],[6478574.71984985,1866591.03920102],[6478613.83462358,1866506.13873129],[6478691.50577289,1866353.44472286],[6478715.51820591,1866279.86707166],[6478731.09725198,1866221.23329683],[6478350.23755775,1866072.70365255],[6477886.98887315,1866122.74065484],[6477825.25110012,1866125.09399794],[6477532.12651725,1866073.8634278],[6477282.28894627,1866025.06231615],[6477113.30001353,1865989.139467],[6476977.90519308,1865952.7599256],[6476972.75362562,1865950.59063736],[6476962.15718399,1865949.52830291],[6476655.42796169,1865904.89418007],[6476341.09146677,1865846.45495877],[6475993.64773548,1865746.98954913],[6475572.34124841,1865751.81795433],[6475054.08345574,1865722.71989863],[6475046.77801993,1865814.44844264],[6474997.5963314,1865868.44902197],[6474892.11419804,1866027.05476739],[6474697.3182154,1866387.89185232],[6474571.63663572,1866573.12288792],[6474504.38738759,1866658.47283208],[6474485.89692834,1866648.69988012],[6474464.41106653,1866649.8530937],[6474429.64766456,1866664.87341353],[6474389.21432315,1866707.93175121],[6474354.91614361,1866779.35848683],[6474322.77937832,1866865.69957131],[6474296.0012012,1866921.09286518],[6474250.16137142,1866978.35984406],[6474209.08367397,1867007.59142976],[6474177.03975631,1867020.78498054],[6474113.79181483,1867023.51397929],[6474092.58810484,1867017.38833183],[6474069.8246858,1866995.25483315],[6474051.89984253,1866971.65184836],[6474023.48190397,1866877.84227057],[6474011.29261686,1866849.1277445],[6473969.9842767,1866798.29776435],[6473859.63666469,1866736.38577896],[6473820.23514596,1866717.21192172],[6473789.88643587,1866688.54988903],[6473692.11393721,1866579.65667129],[6473615.07238019,1866522.74402261],[6473523.85400605,1866482.61317422],[6473478.10964857,1866468.18865405],[6473411.75377187,1866443.27038243],[6473308.79131998,1866423.91771968],[6473212.80392376,1866409.27600823],[6473155.86601266,1866396.70450382],[6473070.18700074,1866388.21960776],[6472966.36464192,1866385.61101566],[6472909.18066818,1866392.3281977],[6472851.10102642,1866403.41545227],[6472826.89764878,1866406.76124804],[6472767.85376956,1866398.56375314],[6472728.12482347,1866371.38597029],[6472708.06185989,1866341.60287619],[6472694.04350713,1866308.89130856],[6472685.78334829,1866278.70992108],[6472681.7190496,1866234.3235013],[6472673.71774866,1866189.22054711],[6472663.39656912,1866075.34406874],[6472667.9506965,1865976.70838234],[6472664.85063529,1865951.60704011],[6472651.45432889,1865924.71633033],[6472634.74700359,1865904.02180599],[6472605.01082544,1865878.63404684],[6472584.97049962,1865856.85750303],[6472543.69890481,1865819.85853992],[6472475.69932966,1865751.27694461],[6472510.09921509,1865715.51190364],[6472604.74901478,1865582.40382534],[6472647.29258941,1865536.78938894],[6472684.11799632,1865502.47349289],[6472701.32368051,1865486.41052362],[6472720.95488617,1865471.79637119],[6472739.37743212,1865457.91351694],[6472808.00430296,1865430.41880541],[6472818.59483908,1865429.2961036],[6472995.59393103,1865406.58058473],[6473072.13548878,1865394.34831868],[6473105.40512647,1865385.88113913],[6473072.07085632,1865372.14953138],[6473052.97377063,1865362.37920406],[6473018.41378045,1865343.55606812],[6472983.86330467,1865328.00818999],[6472176.90546353,1865011.94072638],[6472032.37450123,1864959.96179773],[6471865.14803316,1864910.23417822],[6471696.12432356,1864867.06330788],[6471442.62927748,1864816.13719925],[6471236.04623812,1864764.34626246],[6471142.13757911,1864738.423071],[6470836.49464136,1864659.27160883],[6470519.09548673,1864596.8986661],[6470378.52153981,1864554.01355653],[6470267.68180253,1864434.25290018],[6470204.83937226,1864372.2113218],[6470093.59576416,1864319.77766939],[6469955.49261424,1864293.99128875],[6469732.91550316,1864260.09041837],[6469334.07420722,1864093.89511682],[6469190.64166854,1864008.08159064],[6469101.19822627,1863958.860204],[6468996.81648506,1863874.74844705],[6468920.35268311,1863714.49309768],[6468877.60471244,1863493.72372681],[6468820.6218539,1863171.10017017],[6468798.73671444,1862744.65195814],[6468765.04680176,1862318.60433608],[6468753.78271018,1862099.55904412],[6468822.29573603,1861934.12981759],[6468683.27428032,1861908.71613985],[6468633.60243501,1861899.76963027],[6468589.74619821,1861911.91364186],[6468469.48423024,1861883.89596519],[6468380.99846376,1861853.23360725],[6468206.17456557,1861801.36557083],[6468101.61926816,1861762.38367093],[6468082.51857357,1861752.61629637],[6468062.49235535,1861737.39322092],[6468044.25484848,1861713.06681196],[6468033.89987634,1861692.71907189],[6468028.69909635,1861674.90282428],[6468025.90284048,1861651.62037711],[6468018.33723445,1861455.49106303],[6468030.37921207,1861433.98256345],[6468029.67448866,1861401.5961266],[6467860.44638303,1861398.4780208],[6467798.69286197,1861398.66830924],[6467772.96225555,1861398.74770546],[6467811.45399867,1861413.91369438],[6467853.01299465,1861442.1712001],[6467881.2439256,1861467.55863117],[6467909.77078789,1861490.76168212],[6467935.6034283,1861523.7987086],[6467942.30978359,1861539.06279449],[6467947.05026241,1861603.82582569],[6467950.23660958,1861655.49274692],[6467963.15981953,1861723.50610158],[6467980.91668403,1861788.22910659],[6467981.04332426,1861829.35175148],[6468009.46159092,1861915.87754698],[6468045.79552871,1861918.67708367],[6468133.63103363,1861934.78368805],[6468142.11363311,1861936.94083722],[6468160.30192743,1861945.25512984],[6468207.90651849,1861970.94702242],[6468236.41992936,1861990.14745441],[6468309.89292191,1862060.88652697],[6468381.92103463,1862154.19249655],[6468391.65822551,1862170.53925808],[6468443.71294145,1862265.72711474],[6468469.98390144,1862343.52556045],[6468512.9070687,1862521.35142289],[6468525.28041068,1862607.92643091],[6468537.03859605,1862790.21422926],[6468531.85651681,1862976.19362338],[6468511.99368417,1863112.72426899],[6468460.51344247,1863402.19892266],[6468511.14460403,1863428.60997432],[6468549.3863475,1863461.9734439],[6468572.7360518,1863475.73097025],[6468612.45548347,1863497.44452204],[6468575.84201851,1863600.54640943],[6468558.52314553,1863678.11421244],[6468549.68227884,1863756.38411418],[6468556.0008394,1863842.97782297],[6468435.12863608,1863810.95916775],[6468306.13275665,1863794.97821936],[6468153.02667533,1863813.28068675],[6468069.92180671,1863857.20647725],[6468069.47167611,1864006.05108172],[6468047.60064425,1864374.40587248],[6468057.55207366,1864460.62425373],[6468068.07174373,1864534.83149721],[6468058.26762383,1864594.90883954],[6468037.98353195,1864691.77385917],[6468007.00818233,1865150.40903328],[6467976.42423636,1865637.42802526],[6467989.4970524,1865951.08735581],[6468001.0114717,1866151.93582326],[6465950.17285474,1866166.32523848],[6465228.95537715,1866179.52075776],[6465254.2056693,1866506.60526605],[6465242.32871769,1866579.0631682],[6465193.86914098,1866664.00989769],[6465133.79868841,1866809.76854855],[6465134.22158808,1866942.96192856],[6465171.11195552,1867027.63864532],[6465268.57179059,1867124.1326025],[6465353.99653779,1867147.8806002],[6465451.34121554,1867208.34737767],[6465524.77483806,1867268.52544163],[6465561.24657094,1867316.81179024],[6465598.5906779,1867449.8887006],[6465647.39769506,1867570.92035252],[6465721.05966373,1867703.88276173],[6465725.49174403,1867765.73503591],[6465738.0921198,1867826.46985762],[6465835.31835939,1867850.18209422],[6465920.74048193,1867873.93206042],[6465933.26671082,1868007.45122737],[6465933.91205111,1868116.26143998],[6465873.30813473,1868188.87255712],[6465901.16636281,1868289.59058964],[6465894.94229029,1868427.53593139],[6465839.260611,1868621.31682362],[6465850.1559367,1868717.35736936],[6465914.4770394,1868768.46786092],[6465931.27327535,1868816.4523727],[6465939.48323742,1868828.79979607],[6465951.92482075,1868839.31454489],[6465982.27320276,1868866.14915237],[6465988.64819369,1868872.31548217],[6466007.4841249,1868895.18355986],[6466021.16816054,1868915.88398974],[6466033.33185714,1868934.40528883],[6466043.08249943,1868955.4820305],[6466067.42301597,1868996.52856001],[6466107.91049117,1869071.73284931],[6466142.01575759,1869138.58708489],[6466145.70013554,1869155.31573562],[6466145.74377066,1869169.14445609],[6466129.00626168,1869236.15846834],[6466123.59189929,1869246.72931944],[6466107.90655416,1869263.15482099],[6466080.44333865,1869287.62394628],[6466067.75667691,1869295.30635005],[6466055.36463419,1869300.43987294],[6466017.58778505,1869317.29910091],[6465950.75257833,1869332.43031296],[6465876.95675159,1869347.58285046],[6465817.66352887,1869355.04806294],[6465765.63473153,1869362.85448228],[6465735.97663724,1869362.94798608],[6465691.74638523,1869348.53068376],[6465654.42918111,1869319.17114548],[6465624.67791112,1869289.78732903],[6465602.14382245,1869245.824137],[6465579.56281784,1869186.94036253],[6465572.04412775,1869106.17374519],[6465512.79650866,1869128.19602355],[6465431.43573205,1869143.73799619],[6465372.16613135,1869158.8462424],[6465342.4837589,1869151.2980248],[6465323.95721045,1869130.61334296],[6465301.1442508,1869094.29351275],[6465243.96716681,1869005.67815329],[6465223.35564758,1868995.55349578],[6465221.31792082,1869021.03475873],[6465177.53451855,1869147.8177148],[6465156.55784237,1869213.39012805],[6465146.77275132,1869372.45420614],[6465130.8718553,1869511.52224971],[6465161.5808011,1869651.8980342],[6465226.66666649,1869753.58916245],[6465272.77486859,1869787.65177803],[6465329.32301646,1869869.35441765],[6465358.83839442,1870015.55729359],[6465359.45125443,1870113.44954273],[6465359.60676602,1870162.57808174],[6465355.95618066,1870252.11404356],[6465327.91816282,1870285.68387769],[6465293.77451062,1870302.53195083],[6465267.82047932,1870325.1772598],[6465176.56962492,1870370.22903296],[6465079.22658759,1870402.56297645],[6464923.09229535,1870409.24570973],[6464782.99406952,1870414.78671233],[6464677.92597757,1870396.9251892],[6464529.68832763,1870317.69958016],[6464437.19961409,1870259.04021482],[6464308.02820998,1870180.48258382],[6464245.43807596,1870102.80388859],[6464089.61644731,1869924.25493008],[6464094.01473501,1869880.20643634],[6464091.19518523,1869850.37380162],[6464075.0439615,1869815.48933683],[6464046.15161416,1869771.18395369],[6463904.94184135,1869620.24650444],[6463815.34387174,1869520.45629211],[6463716.85647909,1869291.86737856],[6463690.80664739,1869284.67283499],[6463652.34968112,1869277.88249034],[6463622.05772948,1869269.2456916],[6463578.72150506,1869250.8257703],[6463549.2143292,1869203.97511519],[6463518.81378192,1869161.4945326],[6463503.88926247,1869132.06511253],[6463503.3987776,1869073.83947361],[6463487.26264571,1869044.04981785],[6463386.2775532,1868980.32615525],[6463363.51511839,1868960.38392641],[6463354.69262439,1868946.21957648],[6463350.99741967,1868926.58016874],[6463356.6476741,1868895.62844113],[6463383.9796562,1868831.12623633],[6463388.8041244,1868825.65183467],[6463443.98153932,1868761.78775233],[6463454.51630123,1868743.92163602],[6463449.27746354,1868714.82489264],[6463421.2056531,1868643.95097776],[6463406.59412533,1868617.79583125],[6463398.3933496,1868608.72464994],[6463378.43602893,1868239.40988678],[6463384.45865814,1868229.92827298],[6463387.94684216,1868185.51888736],[6463375.08629616,1868139.34244388],[6463384.05774008,1868105.83264905],[6463394.31461525,1868095.60989456],[6463459.0904417,1868098.31199045],[6463480.252157,1868090.96521613],[6463496.83218589,1868070.53217435],[6463503.10907985,1868046.12932193],[6463494.97818591,1867965.00115654],[6463496.95816997,1867922.05207068],[6463505.97292092,1867902.00747979],[6463530.99552311,1867871.72143364],[6463539.6969543,1867848.40256919],[6463541.45187305,1867829.4728061],[6463532.91185896,1867809.12080094],[6463404.81427222,1867691.98842169],[6463398.42451754,1867681.45530021],[6463398.96749577,1867662.16595757],[6463407.39464913,1867647.58166075],[6463447.24597037,1867616.8835417],[6463458.38178129,1867597.56007838],[6463484.50247903,1867532.33379325],[6463486.50083578,1867495.20753375],[6463480.65766823,1867466.47660351],[6463470.89291835,1867441.76174366],[6463438.70825286,1867409.84020117],[6463358.3819236,1867371.88848352],[6463308.10115527,1867359.6775429],[6463263.59465691,1867354.72643445],[6463149.08300886,1867321.61657344],[6463141.79430531,1867313.99781787],[6463139.80775958,1867261.23575385],[6463146.71326156,1867244.1091378],[6463165.73226337,1867229.12687565],[6463187.78964669,1867217.77420153],[6463221.37850964,1867215.84572658],[6463243.72788729,1867201.21681039],[6463266.03953533,1867174.94224148],[6463291.39218953,1867153.02494983],[6463315.8636114,1867139.48100585],[6463422.6908872,1867135.8602761],[6463446.57471149,1867127.77695426],[6463457.72364575,1867112.45610993],[6463460.34864202,1867081.87872562],[6463455.40409525,1867050.23342945],[6463448.66460352,1867025.14455439],[6463431.58063833,1866983.34901018],[6463309.46532655,1866845.45353714],[6463283.60020587,1866802.59467424],[6463258.73278719,1866787.39029954],[6463206.62689021,1866772.63802396],[6463183.87692259,1866757.06357105],[6463124.37044559,1866700.1207387],[6463099.44594038,1866667.44821301],[6463090.30979852,1866650.01024571],[6463087.21104965,1866627.82097282],[6463093.4879436,1866603.41779232],[6463190.71319894,1866531.41067694],[6463280.19633932,1866498.73224576],[6463325.24351932,1866483.30182153],[6463339.71233074,1866465.05939342],[6463363.73263778,1866405.2986517],[6463393.90451084,1866282.1958085],[6463405.57772258,1866241.76312326],[6463193.05998039,1866227.89339234],[6463088.61688755,1866220.9531135],[6462543.69607508,1866184.87573701],[6462571.7025969,1866234.27789769],[6462693.16239782,1866447.86781684],[6462709.00948812,1866481.2972312],[6462725.52980582,1866535.46742971],[6462725.73813885,1866599.51687925],[6462654.91901392,1866786.80237387],[6462648.69198865,1866826.48965336],[6462647.01220101,1866868.34622109],[6462659.91835064,1866927.98721233],[6462727.07114221,1867102.45054674],[6462757.22365835,1867253.74331044],[6462771.15080389,1867348.31699476],[6462769.17081983,1867390.90223598],[6462755.34669252,1867421.15252103],[6462731.81326145,1867443.79225259],[6462701.89663735,1867458.08258659],[6462681.92980225,1867460.69511567],[6462818.01851934,1867614.19096023],[6462814.14811803,1867727.01888366],[6462810.98211204,1867870.41336463],[6462807.71440016,1867982.51163031],[6462766.70133516,1868120.93498977],[6462718.88972341,1868216.07330582],[6462709.28835912,1868334.74308445],[6462724.52160515,1868458.78982393],[6462764.8926107,1868588.57835314],[6462791.76626012,1868662.73047858],[6462816.30428293,1868856.256778],[6462789.52315307,1868903.65336409],[6462748.5133689,1868949.64050338],[6462715.02129059,1868980.68278202],[6462806.30823417,1869132.86858909],[6462794.68653154,1869281.74961081],[6462789.35976748,1869412.05060649],[6462796.05595218,1869516.83785895],[6462790.76954238,1869659.51186851],[6462815.61858837,1869855.94794068],[6462807.14550333,1870135.46624368],[6462784.42900021,1870874.29852562],[6462792.33220419,1871257.48072311],[6462859.95120245,1871299.11189745],[6462890.83928186,1871305.56201951],[6462919.56168193,1871297.46262158],[6462928.35432033,1871302.52888735],[6462930.82118034,1871316.71357845],[6462962.90643652,1871319.15714452],[6462988.39229263,1871339.45403165],[6463038.78067237,1871386.96413465],[6464265.3205936,1871397.56845026],[6464581.49074735,1871377.26992272],[6464648.07168934,1871378.8772039],[6465913.73885147,1871418.17307973],[6466339.84388815,1871424.84104925],[6466585.56335475,1871423.34400414],[6467608.92771208,1871396.14358352],[6467858.76462689,1871944.52764566],[6467919.67136435,1872265.68138811],[6467810.14166458,1872270.38610582],[6467519.30087112,1872356.80593035],[6467338.59279494,1872437.79236366],[6467307.99474138,1872621.66710199],[6467387.22724018,1872800.83384179],[6467534.68700407,1872830.58248711],[6467682.14578374,1872860.33211669],[6468028.87888612,1872844.34165388],[6467992.79593222,1874294.31039101],[6467984.1466663,1874826.38804591],[6467983.8720604,1874835.48711433],[6467973.27004136,1875224.54988086],[6467974.23001376,1875830.83773199],[6467960.59814338,1876021.93785374],[6467963.11323167,1876150.7578804],[6467925.5880226,1876541.35935867],[6467895.75735639,1876777.63559724],[6467874.32464412,1876891.60886024],[6467615.84305657,1877839.6908444],[6466965.96898139,1877842.43526307],[6466864.37168501,1877861.67604934],[6466665.49532761,1877829.90739375],[6466666.7997877,1877860.10879435],[6466542.07653999,1877837.20758021],[6466231.1996858,1877787.5970865],[6466108.62112008,1877773.42519067],[6466015.42374614,1877770.07873873],[6465938.89826448,1877776.50622302],[6465857.87574199,1877796.04917422],[6465791.07990529,1877817.7309019],[6465722.20172247,1877850.70099933],[6465663.91998126,1877885.82135618],[6465597.5155482,1877935.52436943],[6465467.97406587,1878015.63219507],[6465420.55024885,1878039.80046776],[6465370.99028,1878058.1537881],[6465312.95066443,1878073.98611465],[6465250.96682876,1878086.19180594],[6465154.18251768,1878096.32499363],[6464887.68060033,1878110.27280842],[6464809.63937281,1878115.61630476],[6464476.29470283,1878135.96732566],[6463981.10872771,1878163.39248349],[6463857.07872048,1878168.15822473],[6463790.51844776,1878168.37246327],[6463716.67734548,1878162.42332476],[6463653.42185807,1878155.34885976],[6463598.92816922,1878144.60674906],[6463535.65037213,1878130.61792383],[6463439.9480805,1878100.72196899],[6463173.06328969,1877996.41207807],[6463096.70447446,1877960.63161717],[6463021.23673409,1877919.75306642],[6462977.56816106,1877888.59792703],[6462936.29984708,1877851.24791457],[6462901.9947778,1877815.33129901],[6462869.18576936,1877774.31495318],[6462833.92072769,1877722.38851789],[6462767.9428032,1877622.88898757],[6462714.41532032,1877537.54166807],[6462660.91506837,1877460.56507158],[6462604.08968993,1877384.69083573],[6462569.47884679,1877348.04784325],[6462530.94281238,1877313.9648865],[6462473.00424655,1877267.93575253],[6462434.78284425,1877237.49124205],[6462372.9295858,1877197.29772969],[6462152.45549011,1877040.4413256],[6462130.61300151,1877022.68052411],[6462110.28330602,1877004.91512945],[6462089.64521204,1876985.33051164],[6462068.09570202,1876964.6576408],[6462046.84015484,1876941.43654524],[6462028.31590298,1876920.75383189],[6462007.65517123,1876894.25551002],[6461990.63551041,1876871.02063495],[6461958.10996614,1876824.90915202],[6461904.00111926,1876747.93550827],[6461790.29885325,1876582.36094074],[6461761.72048184,1876540.6041104],[6461745.30941595,1876518.4588007],[6461726.47020392,1876494.13796918],[6461708.23991491,1876470.9070311],[6461691.22583151,1876449.49170725],[6461672.69993924,1876428.44514927],[6461655.99786326,1876409.94025435],[6461625.63963875,1876379.10663681],[6461602.26565626,1876355.89275908],[6461566.76144169,1876324.34884071],[6461531.56693797,1876294.98733394],[6461495.17164856,1876268.54084927],[6461460.90135612,1876244.27087069],[6461434.51720731,1876225.79812795],[6461402.98313145,1876205.52256624],[6461390.21149608,1876186.27653064],[6461355.35163756,1876166.74014112],[6461299.9042099,1876143.26806167],[6460877.54391856,1875968.89134131],[6460870.61413839,1876068.99224873],[6461134.19644046,1876173.65679795],[6461192.70948055,1876209.12754799],[6461327.30312105,1876285.83445983],[6461333.08198421,1876294.91351515],[6461377.04484816,1876322.42627127],[6461483.81995867,1876404.68402824],[6461580.6275637,1876492.43423145],[6461639.21737534,1876551.56045964],[6461691.14577912,1876609.25329092],[6461757.68078943,1876692.37226713],[6461938.52173942,1876941.06384236],[6462198.16507073,1877324.87727255],[6462313.30040558,1877467.52109842],[6462435.05088848,1877597.77124116],[6462546.15112408,1877709.86032049],[6462658.71494026,1877807.02422422],[6462776.4050615,1877899.07691474],[6462881.33404604,1877974.79563901],[6462964.99928132,1878024.38087028],[6463109.58897056,1878108.70522535],[6463206.53601108,1878149.15004969],[6463342.86783807,1878206.20836744],[6463441.31061137,1878241.55444574],[6463556.09850575,1878279.39527117],[6463668.12688965,1878305.96445908],[6464259.803213,1878461.27723019],[6464657.96734455,1878560.08220768],[6465687.87696816,1878766.06813502],[6465863.75467063,1878797.9024073],[6466039.63007653,1878829.00997458],[6466130.73690225,1878842.18876161],[6466211.85752171,1878854.67102732],[6466239.39882112,1878857.85999915],[6466687.77679196,1878957.98977792],[6466761.04013915,1878973.40970348],[6467150.9490331,1879049.34627521],[6467177.29479614,1879057.27080461],[6467294.15880306,1879084.20186865],[6467378.01596719,1879101.4101775],[6467470.34851296,1879120.04761817],[6467520.00493836,1879132.99510631],[6467529.68865161,1879133.69293995],[6467631.7114723,1879155.57643899],[6467834.85094701,1879199.347046],[6468038.59409539,1879243.11732492],[6468199.64603156,1879276.10251421],[6468266.55440091,1879291.54540561],[6468369.48109171,1879312.33671461],[6468587.45092587,1879358.97838052],[6468635.58734031,1879369.7487064],[6468641.0351672,1879370.45999147],[6468692.80674708,1879382.67486911],[6468804.21111611,1879405.98914039],[6469055.47749081,1879458.71938032],[6469345.50201248,1879522.97913139],[6469449.03237696,1879543.77240889],[6469524.70090444,1879555.18840313],[6469600.97441795,1879566.60275698],[6469780.74220675,1879587.16670409],[6469915.39654268,1879595.8576366],[6469929.01036847,1879595.81662616],[6470028.85143372,1879597.33532478],[6470141.39556491,1879597.72410376],[6470355.8647479,1879588.34518009],[6471850.9626859,1879373.54692934],[6471890.90783903,1879377.06824979],[6471929.02720734,1879376.95571715],[6471965.31521346,1879371.38978018],[6472008.85878666,1879363.98296657],[6472025.17405215,1879356.65653344],[6472039.6743596,1879349.33534962],[6472053.88792205,1879347.47380371],[6472499.62121163,1879277.01885149],[6472655.95629099,1879250.72262906],[6472699.79710788,1879241.49626423],[6472713.41323023,1879242.18425539],[6472823.18932073,1879226.57863455],[6472866.41990225,1879215.53501509],[6472983.46435511,1879202.45596546],[6473364.56125373,1879167.50260313],[6473953.26645271,1879155.24540272],[6474027.66956206,1879147.75230315],[6474072.29712322,1879096.31110339],[6474100.94504833,1879063.83936483],[6474194.43310428,1879065.02604292],[6474229.21881592,1879062.74290968],[6474191.51676984,1879102.88228826],[6474138.73830163,1879160.53378102],[6474217.11942369,1879168.67845447],[6474775.95819536,1879185.99962406],[6474850.39542539,1879190.51799032],[6474893.97213502,1879194.39692181],[6474956.61049734,1879198.94908069],[6474993.52284639,1879199.93562785],[6475267.93059236,1879201.70235761],[6475498.20388672,1879216.3332423],[6475631.65153146,1879226.50940892],[6475856.17647441,1879241.15965055],[6476009.30552159,1879257.10418166],[6476144.55828187,1879263.63796501],[6476232.2861754,1879260.84400573],[6476330.5675316,1879245.28333233],[6476445.75109473,1879215.48284981],[6476489.56894577,1879197.52815096],[6476544.56197773,1879172.99144046],[6476601.67147651,1879147.72146331],[6476658.4384561,1879108.25924912],[6476700.39607356,1879074.29768327],[6476713.38588446,1879067.34690577],[6476830.76235786,1878955.65972875],[6476902.49847624,1878859.38460328],[6476974.42455499,1878722.35034947],[6477011.61643119,1878606.15661718],[6477028.36247036,1878535.50973609],[6477041.47695301,1878464.50885288],[6477055.06157935,1878453.91733252],[6477058.93723001,1878433.16309696],[6477056.75252183,1878409.15033586],[6477050.31913203,1878380.41907753],[6477049.08160098,1878370.59625687],[6477059.81222875,1878312.70329463],[6477060.70461594,1878307.24201632],[6477064.26432216,1878281.75747253],[6476997.04361729,1878261.92908867],[6476998.80411348,1878242.27262057],[6477002.33527642,1878206.59878683],[6477005.5255606,1878157.09656069],[6477065.77383444,1878171.84982054],[6477066.66326888,1878165.29668026],[6477067.51333328,1878144.55097486],[6477068.69607438,1878134.72159253],[6477072.56319486,1878111.05594379],[6477075.49790198,1878078.29516365],[6477115.87218834,1877800.51242246],[6477117.8482354,1877749.55809864],[6477157.83111814,1877439.38760827],[6477191.7864504,1877246.41577002],[6477215.09875318,1877142.9979382],[6477288.97430421,1876725.37714142],[6477315.08581561,1876540.06933425],[6477341.28656574,1876386.7864159],[6477353.96600963,1876267.38566719],[6477371.18416098,1876147.9724513],[6477245.5304684,1876007.48413415],[6477140.76650988,1876089.29274477],[6477036.05045155,1876079.75830953],[6476154.80104946,1875912.63650011],[6476218.19433194,1875968.13838962],[6476247.67952621,1876016.45689042],[6476265.56959261,1876353.39604348],[6476262.86290355,1876466.94673491],[6476265.79301749,1876863.9750413],[6476269.11387891,1876969.13827747],[6476266.93376389,1877054.66571482],[6476269.03940395,1877158.0130087],[6476270.07057045,1877202.0444421],[6476259.03351267,1877258.11916545],[6476247.99120554,1877312.3740095],[6476211.86166379,1877375.43363105],[6476178.07660688,1877411.55661114],[6476137.62226813,1877442.96765567],[6476094.72337905,1877465.65102234],[6476053.92324024,1877481.41445136],[6475990.74682097,1877501.97183681],[6475857.39071153,1877527.09417638],[6475805.40292461,1877545.43732613],[6475624.59675147,1877588.52683175],[6475457.4004671,1877629.39553998],[6475331.06173612,1877674.88005531],[6475211.34143405,1877706.88099402],[6475199.69643749,1877654.8735221],[6475204.06946278,1877596.63410367],[6475253.75968078,1877515.33861569],[6475158.05378023,1877374.41001046],[6475090.56175028,1877366.59571712],[6475061.82721113,1877369.58915117],[6475030.99687442,1877380.23054023],[6475002.32040603,1877403.60321039],[6474967.89657052,1877427.35612933],[6474951.26175167,1877429.22292458],[6474934.5993738,1877421.62811911],[6474924.58921744,1877412.5589063],[6474916.96619679,1877391.83715101],[6474918.09152327,1877361.9927053],[6474941.19910194,1877295.69325896],[6474949.6262553,1877280.020381],[6474758.72724874,1877497.09749991],[6474839.05423418,1877231.57064679],[6474843.26288961,1877222.096907],[6474849.89837885,1877214.79967329],[6474865.00039148,1877205.65861018],[6474873.12341142,1877189.62287185],[6474839.48796059,1877171.52283199],[6474770.75052561,1877151.70330639],[6474760.45395233,1877148.4575761],[6474744.12753199,1877152.50743911],[6474725.73287313,1877174.03103052],[6474698.02064222,1877217.05295092],[6474670.84778063,1877237.14609818],[6474632.74219182,1877243.07817635],[6474612.4630212,1877240.22483395],[6474604.53488287,1877218.77637367],[6474608.72910263,1877204.20749676],[6474633.08503909,1877151.36931735],[6474624.53222975,1877123.00813724],[6474613.90297978,1877109.20960045],[6474589.07689962,1877103.45764014],[6474554.8659903,1877095.91335954],[6474451.60006113,1877063.45671281],[6474287.47955978,1877016.9823695],[6474245.13185102,1877020.74286284],[6474204.92423107,1877032.14048441],[6474167.104403,1877032.24908005],[6474125.29376696,1877012.35343908],[6474038.52518965,1876930.35782085],[6473960.28022227,1876866.53376469],[6473916.32195148,1876836.45506734],[6473889.99292071,1876834.34778687],[6473841.60978746,1876843.58530654],[6473734.67654069,1876903.57669099],[6473683.29734871,1876923.01301503],[6473603.76629391,1876937.80006747],[6473551.28146046,1876993.26783632],[6473473.92297475,1877131.05405755],[6473422.31871748,1877177.05760102],[6473306.77819948,1877189.76657243],[6473255.06042531,1877196.46735029],[6473231.55520941,1877124.84343648],[6473102.12363507,1877042.97380233],[6473054.08630186,1876963.05167197],[6473045.67358418,1876879.37495376],[6473119.47728492,1876768.16415402],[6473251.58700505,1876626.21488096],[6473264.67655335,1876445.30897042],[6473235.8124212,1876403.90548603],[6473141.6567153,1876384.16404431],[6473037.23724447,1876372.45900847],[6472913.76465115,1876363.72083193],[6472844.88646834,1876814.81894328],[6472599.80774885,1876813.71625455],[6472594.15979101,1876331.53879112],[6472608.86908767,1876085.12214704],[6472537.55258811,1876012.54679099],[6472440.42346123,1875908.0229896],[6472488.12582117,1875872.58275133],[6472535.48631807,1875823.67829336],[6472581.29333951,1875760.95003617],[6472637.92514868,1875674.89930561],[6472740.42369048,1875546.13538124],[6472757.2740602,1875514.06160799],[6472764.62870853,1875442.34779927],[6472772.20514131,1875342.97523728],[6472773.57456194,1875293.84210509],[6472781.05814709,1875266.16235445],[6472794.92787801,1875249.38153845],[6472817.85665116,1875226.38747668],[6473047.13191544,1875095.4355633],[6473097.26931128,1875064.3562112],[6473238.09489827,1875003.53575969],[6473378.31221841,1874941.62574281],[6473456.19268502,1874877.71376026],[6473530.8717126,1874857.48183368],[6473747.17389824,1874842.29878442],[6473862.72524297,1874830.31979884],[6473931.97120743,1874814.47139619],[6473964.00856341,1874802.00586276],[6474009.61971898,1874774.58037685],[6474037.66757932,1874742.47445141],[6474053.27680908,1874699.12280706],[6474059.21315233,1874659.0746357],[6474052.7289096,1874613.96741644],[6474038.95005782,1874557.59971449],[6474007.63218899,1874504.92163984],[6473968.74937031,1874452.26521872],[6473930.19529133,1874408.70589751],[6473879.0838155,1874312.77854058],[6473858.95589139,1874258.24843445],[6473842.74134754,1874196.79281324],[6473822.37326628,1874164.09896213],[6473974.89699936,1874065.76412831],[6474057.37982161,1874022.58439974],[6474225.65025145,1873927.84503324],[6474316.34303577,1873898.47073121],[6474367.10707115,1873873.57837819],[6474443.48327479,1873811.12899199],[6474471.51243438,1873772.10936248],[6474489.2171336,1873720.3817458],[6474503.35687725,1873480.518242],[6474512.27976482,1873109.65820545],[6474517.76663364,1873017.9345827],[6474527.86701298,1872952.39989905],[6474561.4765452,1872854.04570831],[6474628.51581988,1872699.91567831],[6474647.40457252,1872638.72285201],[6474654.46394569,1872567.73837297],[6474652.12963142,1872492.0495043],[6474641.55549948,1872392.36591911],[6474611.8914997,1872283.63871163],[6474610.8501626,1872237.06003776],[6474625.78386839,1872168.23631682],[6474647.41638353,1872113.95030482],[6474688.40746693,1872056.69776163],[6474761.12488313,1871982.61420563],[6474826.62774268,1871925.29178065],[6474911.46522038,1871856.63242953],[6474941.97075439,1871836.16592322],[6474992.46608935,1871821.82932945],[6475054.48732655,1871816.92152804],[6475122.30317493,1871827.64592223],[6475539.69726598,1871860.30598073],[6475733.697318,1871869.5831985],[6475815.07253028,1871859.89128315],[6475876.13904443,1871838.24761318],[6475888.83325209,1871832.75319842],[6475949.88729906,1871806.74273674],[6476005.1716692,1871773.47047439],[6476104.82999195,1871701.13396315],[6476117.8270207,1871695.63856415],[6476127.80174404,1871691.60740191],[6476151.72264175,1871696.63495381],[6476335.99272074,1871796.92286883],[6476421.2868907,1871457.87479489],[6476446.03685547,1871434.87843654],[6476605.95821582,1870943.86699617],[6476634.17143027,1870860.45044822],[6476656.32362972,1870882.22371119],[6476796.21844377,1870912.40214594],[6476930.88491879,1870912.39066301],[6477046.84243093,1870931.71970375],[6477124.06377774,1870950.79251125],[6477181.66933881,1870989.57198362],[6477239.68139537,1871065.83434229],[6477259.26273233,1871142.93101735],[6477297.60552552,1871219.61135443],[6477413.61487488,1871258.22940971],[6477509.95332046,1871296.53775413],[6477683.42190562,1871431.07266767],[6477799.1796149,1871488.61654904],[6477895.76609163,1871507.63817552],[6478030.48276344,1871526.91898797],[6478224.280716,1871461.97321425],[6478403.11609143,1870684.51434687],[6478505.20354457,1870279.55626173],[6478590.6916119,1869890.29270807],[6478679.6045431,1869535.22792463],[6478764.86787322,1869172.89543501],[6478859.04227988,1868747.94459617],[6478908.15146197,1868555.29723252],[6478913.38603458,1868477.04012604],[6478919.34895259,1868443.9069711],[6478978.58935386,1867969.92240939],[6478990.91709222,1867828.68803032],[6478999.5827623,1867787.90593612],[6479023.41835831,1867537.82820801],[6479040.95343834,1867419.50652599],[6479044.13847317,1867366.3655255],[6479053.68012626,1867313.5709812],[6479081.81853767,1867198.86018644],[6479106.63871232,1867088.16119699],[6479128.45495424,1866985.84047645],[6479142.5208791,1866927.2112948],[6479144.03596881,1866816.21112467],[6479132.66164117,1866751.46449766],[6479110.00222459,1866654.72349359],[6479092.28899521,1866596.18026982],[6479090.7240368,1866577.2610054],[6479090.61642541,1866537.5940671],[6479092.04391681,1866505.92908591],[6479106.45104854,1866461.4914851],[6479125.43297692,1866429.77925989],[6479163.41389398,1866372.5404962],[6479339.48779041,1866120.23081589],[6479366.31780472,1866080.49137113],[6479375.94311911,1866058.26633714],[6479382.2429789,1866037.50586799],[6479383.68359366,1866010.57185121],[6479376.98478429,1865883.94571906],[6479378.33091098,1865822.07540029],[6479382.86076018,1865706.33704793],[6479396.90207878,1865638.2456094],[6479406.12516277,1865467.17859562],[6479413.33086118,1865333.60037364],[6479417.94437167,1865248.79472004],[6479441.74650316,1865208.33546004],[6479461.82849558,1865247.22024721],[6479453.46367808,1865400.08945224],[6479452.36722295,1865442.30723993],[6479441.7875136,1865559.51770306],[6479458.81603266,1865588.585247],[6479468.8465302,1865604.20661584],[6479487.05582188,1865622.35357164],[6479510.10467359,1865639.39554214],[6479523.42814545,1865641.54317687],[6479537.35988416,1865644.78070508],[6479784.50881065,1865707.07261118],[6479819.11801338,1865633.46772906],[6479862.45719054,1865542.00722928],[6480011.18532535,1865246.46893595],[6480038.02747875,1865210.73243825],[6480102.42404066,1865070.45081373],[6480182.19853343,1864907.92906338],[6480208.35728885,1864842.71721393],[6480315.80857952,1864616.07153907]]],"spatialReference":{"wkid":102645,"latestWkid":2229}}
        """
        }
    }
}

#Preview {
    ChangeViewpointView()
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.