[ios, macos, node] “Mapbox GL Style Specification” → “Mapbox Style Specification” (#5553)
This commit is contained in:
committed by
John Firebaugh
parent
d58bee6d90
commit
8947b0af27
@@ -1,6 +1,6 @@
|
||||
# Mapbox GL Native
|
||||
|
||||
A library for embedding interactive, customizable vector maps into native applications on multiple platforms. It takes stylesheets that conform to the [Mapbox GL Style Specification](https://github.com/mapbox/mapbox-gl-style-spec/), applies them to vector tiles that conform to the [Mapbox Vector Tile Specification](https://github.com/mapbox/vector-tile-spec), and renders them using OpenGL. [Mapbox GL JS](https://github.com/mapbox/mapbox-gl-js) is the WebGL-based counterpart, designed for use on the Web.
|
||||
A library for embedding interactive, customizable vector maps into native applications on multiple platforms. It takes stylesheets that conform to the [Mapbox Style Specification](https://github.com/mapbox/mapbox-gl-style-spec/), applies them to vector tiles that conform to the [Mapbox Vector Tile Specification](https://github.com/mapbox/vector-tile-spec), and renders them using OpenGL. [Mapbox GL JS](https://github.com/mapbox/mapbox-gl-js) is the WebGL-based counterpart, designed for use on the Web.
|
||||
|
||||
## The Mapbox GL ecosystem
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# [Mapbox iOS SDK](https://www.mapbox.com/ios-sdk/)
|
||||
|
||||
The Mapbox iOS SDK is an open-source framework for embedding interactive map views with scalable, customizable vector maps into Cocoa Touch applications on iOS 7.0 and above using Objective-C, Swift, or Interface Builder. It takes stylesheets that conform to the [Mapbox GL Style Specification](https://www.mapbox.com/mapbox-gl-style-spec/), applies them to vector tiles that conform to the [Mapbox Vector Tile Specification](https://www.mapbox.com/developers/vector-tiles/), and renders them using OpenGL.
|
||||
The Mapbox iOS SDK is an open-source framework for embedding interactive map views with scalable, customizable vector maps into Cocoa Touch applications on iOS 7.0 and above using Objective-C, Swift, or Interface Builder. It takes stylesheets that conform to the [Mapbox Style Specification](https://www.mapbox.com/mapbox-gl-style-spec/), applies them to vector tiles that conform to the [Mapbox Vector Tile Specification](https://www.mapbox.com/developers/vector-tiles/), and renders them using OpenGL.
|
||||
|
||||
[]()
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# [Mapbox iOS SDK](https://www.mapbox.com/ios-sdk/)
|
||||
|
||||
The Mapbox iOS SDK is an open-source framework for embedding interactive map views with scalable, customizable vector maps into Cocoa Touch applications on iOS 7.0 and above using Objective-C, Swift, or Interface Builder. It takes stylesheets that conform to the [Mapbox GL Style Specification](https://www.mapbox.com/mapbox-gl-style-spec/), applies them to vector tiles that conform to the [Mapbox Vector Tile Specification](https://www.mapbox.com/developers/vector-tiles/), and renders them using OpenGL.
|
||||
The Mapbox iOS SDK is an open-source framework for embedding interactive map views with scalable, customizable vector maps into Cocoa Touch applications on iOS 7.0 and above using Objective-C, Swift, or Interface Builder. It takes stylesheets that conform to the [Mapbox Style Specification](https://www.mapbox.com/mapbox-gl-style-spec/), applies them to vector tiles that conform to the [Mapbox Vector Tile Specification](https://www.mapbox.com/developers/vector-tiles/), and renders them using OpenGL.
|
||||
|
||||
For more information, check out the [Mapbox iOS SDK homepage](https://www.mapbox.com/ios-sdk/) and the [full changelog](https://github.com/mapbox/mapbox-gl-native/blob/master/platform/ios/CHANGELOG.md) online.
|
||||
|
||||
|
||||
@@ -60,7 +60,7 @@ typedef NS_OPTIONS(NSUInteger, MGLMapDebugMaskOptions) {
|
||||
The map view loads scalable vector tiles that conform to the
|
||||
<a href="https://github.com/mapbox/vector-tile-spec">Mapbox Vector Tile Specification</a>.
|
||||
It styles them with a style that conforms to the
|
||||
<a href="https://www.mapbox.com/mapbox-gl-style-spec/">Mapbox GL style specification</a>.
|
||||
<a href="https://www.mapbox.com/mapbox-gl-style-spec/">Mapbox Style Specification</a>.
|
||||
Such styles can be designed in
|
||||
<a href="https://www.mapbox.com/studio/">Mapbox Studio</a> and hosted on
|
||||
mapbox.com.
|
||||
|
||||
@@ -180,7 +180,7 @@ NS_ARRAY_OF(id <MGLAnnotation>) *MBXFlattenedShapes(NS_ARRAY_OF(id <MGLAnnotatio
|
||||
- (IBAction)chooseCustomStyle:(id)sender {
|
||||
NSAlert *alert = [[NSAlert alloc] init];
|
||||
alert.messageText = @"Apply custom style";
|
||||
alert.informativeText = @"Enter the URL to a JSON file that conforms to the Mapbox GL style specification, such as a style designed in Mapbox Studio:";
|
||||
alert.informativeText = @"Enter the URL to a JSON file that conforms to the Mapbox Style Specification, such as a style designed in Mapbox Studio:";
|
||||
NSTextField *textField = [[NSTextField alloc] initWithFrame:NSZeroRect];
|
||||
[textField sizeToFit];
|
||||
NSRect textFieldFrame = textField.frame;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# [Mapbox macOS SDK](https://github.com/mapbox/mapbox-gl-native/tree/master/platform/macos/)
|
||||
|
||||
The Mapbox macOS SDK is an open-source framework for embedding interactive map views with scalable, customizable vector maps into Cocoa applications on macOS 10.10.0 and above using Objective-C, Swift, or Interface Builder. It takes stylesheets that conform to the [Mapbox GL Style Specification](https://www.mapbox.com/mapbox-gl-style-spec/), applies them to vector tiles that conform to the [Mapbox Vector Tile Specification](https://www.mapbox.com/developers/vector-tiles/), and renders them using OpenGL.
|
||||
The Mapbox macOS SDK is an open-source framework for embedding interactive map views with scalable, customizable vector maps into Cocoa applications on macOS 10.10.0 and above using Objective-C, Swift, or Interface Builder. It takes stylesheets that conform to the [Mapbox Style Specification](https://www.mapbox.com/mapbox-gl-style-spec/), applies them to vector tiles that conform to the [Mapbox Vector Tile Specification](https://www.mapbox.com/developers/vector-tiles/), and renders them using OpenGL.
|
||||
|
||||
<img alt="" src="https://raw.githubusercontent.com/mapbox/mapbox-gl-native/master/platform/macos/screenshot.png" width="645">
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# [Mapbox macOS SDK](https://github.com/mapbox/mapbox-gl-native/tree/master/platform/macos/)
|
||||
|
||||
The Mapbox macOS SDK is an open-source framework for embedding interactive map views with scalable, customizable vector maps into Cocoa applications on macOS 10.10.0 and above using Objective-C, Swift, or Interface Builder. It takes stylesheets that conform to the [Mapbox GL Style Specification](https://www.mapbox.com/mapbox-gl-style-spec/), applies them to vector tiles that conform to the [Mapbox Vector Tile Specification](https://www.mapbox.com/developers/vector-tiles/), and renders them using OpenGL.
|
||||
The Mapbox macOS SDK is an open-source framework for embedding interactive map views with scalable, customizable vector maps into Cocoa applications on macOS 10.10.0 and above using Objective-C, Swift, or Interface Builder. It takes stylesheets that conform to the [Mapbox Style Specification](https://www.mapbox.com/mapbox-gl-style-spec/), applies them to vector tiles that conform to the [Mapbox Vector Tile Specification](https://www.mapbox.com/developers/vector-tiles/), and renders them using OpenGL.
|
||||
|
||||
<img alt="" src="https://raw.githubusercontent.com/mapbox/mapbox-gl-native/master/platform/macos/screenshot.png" width="645">
|
||||
|
||||
|
||||
@@ -49,7 +49,7 @@ typedef NS_OPTIONS(NSUInteger, MGLMapDebugMaskOptions) {
|
||||
The map view loads scalable vector tiles that conform to the
|
||||
<a href="https://github.com/mapbox/vector-tile-spec">Mapbox Vector Tile Specification</a>.
|
||||
It styles them with a style that conforms to the
|
||||
<a href="https://www.mapbox.com/mapbox-gl-style-spec/">Mapbox GL style specification</a>.
|
||||
<a href="https://www.mapbox.com/mapbox-gl-style-spec/">Mapbox Style Specification</a>.
|
||||
Such styles can be designed in
|
||||
<a href="https://www.mapbox.com/studio/">Mapbox Studio</a> and hosted on
|
||||
mapbox.com.
|
||||
|
||||
@@ -312,7 +312,7 @@ NodeMap::RenderOptions NodeMap::ParseOptions(v8::Local<v8::Object> obj) {
|
||||
* @param {Array<number>} [options.center=[0,0]] longitude, latitude center
|
||||
* of the map
|
||||
* @param {number} [options.bearing=0] rotation
|
||||
* @param {Array<string>} [options.classes=[]] GL Style Classes
|
||||
* @param {Array<string>} [options.classes=[]] style classes
|
||||
* @param {Function} callback
|
||||
* @returns {undefined} calls callback
|
||||
* @throws {Error} if stylesheet is not loaded or if map is already rendering
|
||||
|
||||
Reference in New Issue
Block a user