Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Xamarin.Forms.GoogleMaps について
Search
amay077
June 17, 2017
Programming
0
1.4k
Xamarin.Forms.GoogleMaps について
2017.6.19 [なごや]学生でもわかるXamarin勉強会 -
https://jxug.connpass.com/event/57324/
の発表資料です。
amay077
June 17, 2017
Tweet
Share
More Decks by amay077
See All by amay077
愛知県新型コロナ対策サイト(非公式)の紹介
amay077
0
260
愛知県コロナ対策サイトが立ち上がってから
amay077
0
70
Xamarin.Forms Hot Reload のススメ
amay077
0
820
クロスプラットフォームモバイルアプリ開発ツール総ざらい2019 〜Titanium Mobile から Kotlin/Native まで〜 #droidkaigi
amay077
11
9.9k
ハムスター検出器を1日で作ってみた #NGK2018B
amay077
1
1k
App Center から Azure Pipeline に乗り換えた話
amay077
0
1.3k
Xamarin.Android で始めるクロスプラットフォームモバイルアプリ開発 #jaghama
amay077
0
600
Xamarin.Android で始めるクロスプラットフォームモバイルアプリ開発 #jxug
amay077
0
880
Xamarin.Android で始めるクロスプラットフォームモバイルアプリ開発 #droidkaigi #droidkaigi1
amay077
3
3.5k
Other Decks in Programming
See All in Programming
シールドクラスをはじめよう / Getting Started with Sealed Classes
mackey0225
3
400
カラム追加で増えるActiveRecordのメモリサイズ イメージできますか?
asayamakk
4
1.5k
現場で役立つモデリング 超入門
masuda220
PRO
13
2.9k
OpenTelemetryでRailsのパフォーマンス分析を始めてみよう(KoR2024)
ymtdzzz
4
1.5k
弊社の「意識チョット低いアーキテクチャ」10選
texmeijin
5
23k
macOS でできる リアルタイム動画像処理
biacco42
7
1.8k
Outline View in SwiftUI
1024jp
1
110
Java ジェネリクス入門 2024
nagise
0
600
GCCのプラグインを作る / I Made a GCC Plugin
shouth
1
150
PLoP 2024: The evolution of the microservice architecture pattern language
cer
PRO
0
1.6k
Vue SFCのtemplateでTypeScriptの型を活用しよう
tsukkee
3
1.5k
飲食業界向けマルチプロダクトを実現させる開発体制とリアルな現状
hiroya0601
1
390
Featured
See All Featured
The Cost Of JavaScript in 2023
addyosmani
45
6.6k
Git: the NoSQL Database
bkeepers
PRO
425
64k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
46
2.1k
Making Projects Easy
brettharned
115
5.9k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
26
1.4k
The World Runs on Bad Software
bkeepers
PRO
65
11k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
167
49k
StorybookのUI Testing Handbookを読んだ
zakiyama
26
5.2k
A Modern Web Designer's Workflow
chriscoyier
692
190k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
504
140k
How To Stay Up To Date on Web Technology
chriscoyier
788
250k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.2k
Transcript
Xamarin.Forms. GoogleMaps ʹ͍ͭͯ 2017.6.19 ֶੜͰΘ͔ΔXamarin @amay077
About me • Ԟࢁ ༟ਈ - @amay077ʢ͋Ί͍ʣ • ۀܥϓϩάϥϚ+α •
ѪݝࡏॅͷϑϧϦϞʔτϫʔΧʔ • ཧใγεςϜɺҐஔใϓϩάϥϛϯά • Android, iOS, Xamarin, Java, C#, Salesforce
Work for • B2B͚PaaSɺݿཧɾӡૹۀ͚SaaS • AWS, Elasticsearch, Cassandra, Lambda,
etc • શһ͕ϑϧϦϞʔτϫʔΧʔ ͓ࣄ༰ϦϞʔτͰͷಇ͖ํͳͲڵຯ͋Δํɺؾܰʹฉ͍͍ͯͩ͘͞
Books Essential Xamarin ӄ / ཅ ʮBooth XamarinʯͰݕࡧ
Target • Xamarin ͬͯΔ • Xamarin.Forms ·͋ฉ͍ͨ͜ͱ͋Δ • Google Maps
ͬͯΔ
Agenda 1. εϚϗΞϓϦͱਤϥΠϒϥϦ 2. Xamarin.Forms.Maps 3. Xamarin.Forms.GoogleMaps 4. ػೳհ 5.
Ͳ͏ͬͯ։ൃͯ͠Δʁ
εϚϗΞϓϦ ͱ ਤϥΠϒϥϦ
ඪ४ͷਤϥΠϒϥϦ • Android → Google Maps API(Google Play services) •
iOS → MapKit • UWP → Bing Maps SDK
Xamarinͷ߹ • Xamarin.Android → Google Maps API(Google Play services) •
Xamarin.iOS → MapKit
Xamarin.Formsͷ߹ • Android → Google Maps API(Google Play services) •
iOS → MapKit • UWP → Bing Maps SDK ʔ Xamarin.Forms.Maps ʔ
Xamarin .Forms.Maps
Xamarin.Forms.Maps • Xamarin.Forms͚ͷʮඪ४ʯʮެࣜʯਤ ϥΠϒϥϦ • https://developer.xamarin.com/guides/ xamarin-forms/user-interface/map/ • Android, iOS,
UWP ʹରԠ
Xamarin.Forms.Maps
͔͜͠͠Ε…
ශऑʂශऑΡʂʂ
Կ͕ශऑʁ • ϥΠϯ͕ඳ͚ͳ͍ • ϙϦΰϯ͕ඳ͚ͳ͍ • ϐϯ͕ΧελϚΠζͰ͖ͳ͍ • ΠϕϯτͳΜʹͳ͍
ެࣜʮΧελϚΠζ͢ΕͰ ͖Δ͓ʯͱݴ͍ͬͯ·͕͢… https://developer.xamarin.com/guides/xamarin-forms/application-fundamentals/custom-renderer/map/
ͬͯΒΕΔ͔ʂ
͜ΕΒਤϥΠϒϥϦͷ ඪ४ػೳͰ͋Δ͖ • ϥΠϯɺϙϦΰϯɺԁͷඳը • ϐϯͷΧελϚΠζ(৭ɺܗঢ়มߋ) • ਤͷҐஔζʔϜϨϕϧ͕มߋ͞Εͨ࣌ͷΠ ϕϯτ •
ҠಈζʔϜδΣενϟͷ༗ޮ/ແޮԽ
͞Βʹ͜ΕΒͰ͖ͳ͍ͱ ਤϥΠϒϥϦͱͯ͠ஏ͔͍ͣ͠ • ਤͷճసͱνϧτ(͖) • ̏DɺϚοϓ • ΧελϜλΠϧ
Google Maps API શ෦Ͱ͖ΔΑ • Android - Google Maps Android
API • iOS - Google Maps iOS SDK • UWP ʹ Google Maps ͋Γ·ͤΜ
͔ͩΒɺ࡞ͬͨ
Xamarin.Forms. “Google” Maps
Xamarin.Forms.GoogleMaps is… Yet another Maps library for Xamarin.Forms that
optimized for Google maps. GoogleϚοϓʹ࠷దԽ͞Εͨ Xamarin.Forms͚ͷ ʮ͏ͻͱͭʯͷਤϥΠϒϥϦ
Xamarin.Forms.GoogleMaps is… Google Maps SDK ͷػೳΛ શͯϥοϓͯ͠ఏڙ͢Δ(༧ఆͷ) Xamarin.Forms ͚ਤϥΠϒϥϦ
(UWPରԠ<Bing Maps༻> ͓·͚)
Xamarin.Forms.GoogleMaps is… • https://www.nuget.org/packages/ Xamarin.Forms.GoogleMaps • Current ver 2.1.0-beta5 •
46 Releases • 16,000 Downloads
෦ͷߏਤ (PPHMF.BQT "OESPJE"1* (PPHMF.BQTJ04 4%, #JOH .BQT4%, 9BNBSJO'PSNT(PPHMF.BQT.BQ .BQ3FOEFSFS
"OESPJE .BQ3FOEFSFS J04 .BQ3FOE FSFS681 Android iOS UWP ΞϓϦέʔγϣϯίʔυ
αϯϓϧ XFGoogleMapSample • Android ͚ DeployGate Ͱ৴த • bit.ly/xfgmapp •
iOS ൛ɺUWP൛ࣗͰϏϧυͯ͠Ͷ • ʻDEMOʼ https://github.com/amay077/Xamarin.Forms.GoogleMaps/tree/master/XFGoogleMapSample
Xamarin.Forms. GoogleMaps ͷ ػೳհ
≒GoogleMaps SDK ͷ ػೳհ
MapType(Android/iOS/UWP) • Street, Satellite, Hybrid, Terrain
ݱࡏҐஔදࣔ(Android/iOS/UWP)
ौใදࣔ(Android/iOS)
ਤදࣔ(Android/iOS)
ਤελΠϧมߋ(Android/iOS)
ਤͷΩϟϓνϟ(Android/iOS) .PNG
ਤܗͷՃ(Android/iOS) • ϙϦϥΠϯɺϙϦΰϯɺԁ • ϙϦΰϯͷ݀
ਤܗͷՃ(Android/iOS)
ϐϯͷՃ(Android/iOS/UWP) • ΧελϜܗঢ় • ਧ͖ग़͠(UWP ͰෆՄ) • υϥοάˍυϩοϓͰҠಈ
ը૾ͷՃ(Android/iOS)
ΧελϜλΠϧ(Android/iOS)
֤छΠϕϯτ(Android/iOS) • ࢹ͕มΘͬͨ࣌ • ਤϐϯਤܗΛλοϓͨ࣌͠ • ϐϯΛҠಈͤͨ࣌͞ • ਧ͖ग़͠Λλοϓʗԡͨ࣌͠͠ •
…
Coming soon
ϚʔΧʔΫϥελϦϯά https://github.com/amay077/Xamarin.Forms.GoogleMaps/issues/123
ώʔτϚοϓ https://developers.google.com/maps/documentation/android-api/utility/heatmap
Ͳ͏ͬͯ ։ൃͯ͠Δͷʁ
GitHub Ͱ։ൃͯ͠·͢ • https://github.com/amay077/ Xamarin.Forms.GoogleMaps • Stars✕130 • Contributors#✕16 •
IssueཱͯͨΒ୭͔͕࣮ͯ͘͠ΕΔΑ͏ʹ ͳ͖ͬͯͨ
Welcome your contribution! • Issues ͷʮwelcomecontributeʯλά • ͲͳͨʹͰͰ͖Δ؆୯ͳ͓ࣄͰ͢ • Xamarin.Forms.GoogleMaps
ʹϓϧϦΫΛૹ Δձ(2/12 ϑΣϯϦϧ໊ݹࢧࣾ͞·) • ·ͨΔʁ
Bitrise ʹΑΔࣗಈϏϧυɺσϓ ϩΠ • Xamarin.Android, iOS ʹରԠ • ݄200Ϗϧυ·Ͱແྉ •
Githubʹpush→Ϗϧυ→DeployGateʹ • ࣗಈςετͯ͠·ͤΜ
·ͱΊ
Xamarin.FormsͰ ਤ͏ͳΒ Xamarin.Forms.Maps ΑΓ Xamarin.Forms.GoogleMaps !
͝ਗ਼ௌ ͋Γ͕ͱ͏͍͟͝·ͨ͠%
͓·͚
Xamarin Ͱ͑Δ Google Maps Ҏ֎ͷ બࢶ
ArcGIS Runtime SDK for .NET • https://developers.arcgis.com/net/ • https://blog.esrij.com/2016/07/13/3d- arcgis-runti-b4a9/
• ษڧձ − https://geodev.connpass.com/ • ຊ֨తͳۀ͚ϞόΠϧਤγεςϜ͚
MapBox SDK • https://www.nuget.org/packages/ Xamarin.MapboxSDK.Android/ • https://www.nuget.org/packages/ Xamarin.MapboxSDK.iOS/ • OSS
ϑϧεΫϥονϕΫτϧϨϯμϦϯά ϚοϓϥΠϒϥϦʂʂʂ
CARTO SDK • https://carto.com/blog/cartodb-mobile-with- xamarin • http://chizudb.jp/ • ਤΛͬͨϏδϡΞϥΠθʔγϣϯ͕ಘҙ
Others • Yahoo! iOSϚοϓSDKɺMapion Android Maps APIɺ͍ͭNAVI SDK ͳͲωΠςΟϒ༻SDK… •
Binding ϓϩδΣΫτͰϥοϓ͢Ε Xamarin.Native Ͱ༻Մೳ • ͞ΒʹͦΕΛڞ௨APIͰϥοϓ͢Ε Xamarin.FormsͰ༻Մೳʢԕο
͓·͚͓ΘΓ