title: Swift & ArcGIS - Hard code point location: AGSPoint wont work, despite AGSEnvelope working correctly
body: <p>I'm currently trying to work with ArcGIS Maps in Xcode and am having issues with hard coding a location. My code is currently as follows:</p>
  
  <pre><code>func mapViewDidLoad(mapView: AGSMapView!) {
  
      self.graphicLayer = AGSGraphicsLayer()
  
      self.mapView.addMapLayer(self.graphicLayer, withName: "Graphics Layer")
  
      let markerSymbol = AGSSimpleMarkerSymbol()
      markerSymbol.color = UIColor.blueColor()
  
      let markerPoint = AGSPoint(x: 10, y: 49, spatialReference: AGSSpatialReference(WKID: 4326))
  
      let Graphic = AGSGraphic(geometry: markerPoint, symbol: markerSymbol, attributes: nil)
  
      self.graphicLayer.addGraphic(Graphic)
  
      let envelope = AGSEnvelope(xmin: 8.148, ymin:48.188, xmax:11.114, ymax:50.375, spatialReference:AGSSpatialReference(WKID: 4326))
  
      self.mapView.zoomToEnvelope(envelope, animated:true)
  
  }    
  </code></pre>
  
  <p>The issue I'm experiencing is that the envelope is working correctly, however the marker symbol is centered in the middle of the world map and I'm unable to position it. I'm sure I'm just missing something simple but any help would be hugely appreciated.</p>