Skip to content

Instantly share code, notes, and snippets.

View vatsal1992's full-sized avatar
🎯
Focusing

Vatsal Shukla vatsal1992

🎯
Focusing
View GitHub Profile
@vatsal1992
vatsal1992 / LocationService.swift
Last active April 15, 2019 02:32 — forked from igroomgrim/LocationService.swift
Simply Singleton CLLocationManager Class in Swift
//
// LocationService.swift
//
//
// Created by Anak Mirasing on 5/18/2558 BE.
//
//
import Foundation
import CoreLocation
@vatsal1992
vatsal1992 / MKMapViewExtension.swift
Last active October 19, 2016 10:58 — forked from mnbayan/MKMapViewExtension.swift
MKMapView extension to center map to coordinates with defined zoom level using Swift3 language
//
// MKMapViewExtension.swift
// AutocompleteTextfieldSwift
//
// Created by Mylene Bayan on 2/22/15.
// Copyright (c) 2015 MaiLin. All rights reserved.
//
let MERCATOR_OFFSET = 268435456.0
let MERCATOR_RADIUS = 85445659.44705395