Google Maps in Swift - Camera not updating -


i'm using google maps in swift , in viewdidload.

i providing code:

let camera: gmscameraposition = gmscameraposition.camerawithlatitude(48.857165, longitude: 2.354613, zoom: 8.0) mapview1.camera = camera 

however, when executing program, camera not updating. using

@iboutlet weak var mapview1: gmsmapview 

and have hooked outlet correctly

you need implement

mapview1.animatetocameraposition(camera) 

Comments

Popular posts from this blog

html - Styling progress bar with inline style -

java - Oracle Sql developer error: could not install some modules -

How to use autoclose brackets in Jupyter notebook? -