-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from mapbox/traffic-plugin
Adds Traffic plugin
- Loading branch information
Showing
31 changed files
with
741 additions
and
269 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
.DS_Store | ||
|
||
*.framework | ||
*.build/* | ||
xcuserdata | ||
*.xccheckout | ||
*.moved-aside | ||
*.xcuserstate | ||
*.xcscmblueprint | ||
mapbox_access_token | ||
|
||
Carthage/ | ||
Pods | ||
*.xcworkspace |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Contributing | ||
|
||
We welcome contributions to Mapbox Plugins for iOS. In order to add a plugin, please open an issue outlining the plugin. This allow contributors to discuss the proposal and also ensure that there isn't already work being done on that feature. | ||
|
||
If you are interested in reporting a bug, please open an issue that includes steps to reproduce the issue. Suggestions for how to improve existing plugins are also welcome. | ||
|
||
|
||
# Code of conduct | ||
|
||
Everyone is invited to participate in Mapbox’s open source projects and public discussions: we want to create a welcoming and friendly environment. Harassment of participants or other unethical and unprofessional behavior will not be tolerated in our spaces. The [Contributor Covenant](http://contributor-covenant.org) applies to all projects under the Mapbox organization and we ask that you please read [the full text](http://contributor-covenant.org/version/1/2/0/). | ||
|
||
You can learn more about our open source philosophy on [mapbox.com](https://www.mapbox.com/about/open/). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Copyright © 2017, Mapbox | ||
|
||
Permission to use, copy, modify, and/or distribute this software for any | ||
purpose with or without fee is hereby granted, provided that the above | ||
copyright notice and this permission notice appear in all copies. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | ||
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | ||
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | ||
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | ||
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | ||
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | ||
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
|
||
Pod::Spec.new do |s| | ||
|
||
# ――― Spec Metadata ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # | ||
# | ||
|
||
s.name = "MapboxPlugins" | ||
s.version = "0.0.1" | ||
s.summary = "Experimental plugins to supercharge your maps." | ||
|
||
# This description is used to generate tags and improve search results. | ||
s.description = "Add plugins to your Mapbox basemaps. Each plugin is packaged as a subspec. At the moment, the following plugin is available: | ||
* “Traffic” adds traffic congestion layers to a map view. | ||
Mapbox Plugins require version 3.6 of the Mapbox iOS SDK or higher." | ||
s.homepage = "https://github.com/mapbox/mapbox-plugins-ios/" | ||
s.screenshot = 'https://raw.githubusercontent.com/mapbox/mapbox-plugins-ios/master/TrafficPlugin/trafficplugin.gif' | ||
# ――― Spec License ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # | ||
|
||
s.license = { :type => "ISC", :file => "LICENSE.md" } | ||
|
||
# ――― Author Metadata ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # | ||
|
||
s.author = { "Mapbox" => "[email protected]" } | ||
s.social_media_url = "https://twitter.com/mapbox" | ||
|
||
# ――― Platform Specifics ――――――――――――――――――――――――――――――――――――――――――――――――――――――― # | ||
# | ||
|
||
s.platform = :ios, "8.0" | ||
|
||
# ――― Source Location ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # | ||
|
||
s.source = { :git => "https://github.com/mapbox/mapbox-plugins-ios.git", :branch => "traffic-plugin" } | ||
|
||
s.module_name = 'MapboxPlugins' | ||
|
||
s.subspec 'PluginKit' do |core| | ||
core.source_files = 'PluginKit/*.h' | ||
core.dependency 'Mapbox-iOS-SDK', '~> 3.6.0' | ||
end | ||
|
||
s.subspec 'Traffic' do |traffic| | ||
traffic.source_files = 'TrafficPlugin/*.{h,m}' | ||
traffic.dependency 'MapboxPlugins/PluginKit' | ||
end | ||
|
||
end |
Oops, something went wrong.