Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue54 custom styles #59

Merged
merged 10 commits into from
Apr 17, 2019
2 changes: 1 addition & 1 deletion ios/Classes/MapboxMapController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ class MapboxMapController: NSObject, FlutterPlatformView, MGLMapViewDelegate, Ma
// Currently the iOS Mapbox SDK does not have a builder for json.
NSLog("setStyleString - JSON style currently not supported")
} else {
mapView.styleURL = MapboxMapStyle.fromUrl(styleString: styleString)
mapView.styleURL = URL(string: styleString)
}
}
func setRotateGesturesEnabled(rotateGesturesEnabled: Bool) {
Expand Down
28 changes: 0 additions & 28 deletions ios/Classes/MapboxMapStyle.swift

This file was deleted.