AGSSpatialReference *wgs102100 = [AGSSpatialReference spatialReferenceWithWKID:102100]; AGSEnvelope* envPoly = [AGSEnvelope envelopeWithXmin:843900 ymin:6033700 xmax:843950 ymax:6033790 spatialReference:wgs102100];
AGSOpenStreetMapLayer *osLyr = [AGSOpenStreetMapLayer openStreetMapLayer]; [self.mapView addMapLayer:osLyr withName:@OpenStreetMap Layer]; AGSSpatialReference *sr = [AGSSpatialReference spatialReferenceWithWKID:102100]; AGSEnvelope *env = [AGSEnvelope envelopeWithXmin: 9183090.953483 ymin:7363658.125409// correct = 7301109.281239 xmax:9301013.541211 ymax:7364392.063907// correct = 7454408.645285 spatialReference:sr]; [self.mapView zoomToEnvelope:env animated:YES];
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.