Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
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.5k
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
320
愛知県コロナ対策サイトが立ち上がってから
amay077
0
110
Xamarin.Forms Hot Reload のススメ
amay077
0
890
クロスプラットフォームモバイルアプリ開発ツール総ざらい2019 〜Titanium Mobile から Kotlin/Native まで〜 #droidkaigi
amay077
11
10k
ハムスター検出器を1日で作ってみた #NGK2018B
amay077
1
1.1k
App Center から Azure Pipeline に乗り換えた話
amay077
0
1.4k
Xamarin.Android で始めるクロスプラットフォームモバイルアプリ開発 #jaghama
amay077
0
660
Xamarin.Android で始めるクロスプラットフォームモバイルアプリ開発 #jxug
amay077
0
970
Xamarin.Android で始めるクロスプラットフォームモバイルアプリ開発 #droidkaigi #droidkaigi1
amay077
3
3.6k
Other Decks in Programming
See All in Programming
Rails Girls Sapporo 2ndの裏側―準備の日々から見えた、私が得たもの / SAPPORO ENGINEER BASE #11
lemonade_37
2
190
Building AI Agents with TypeScript #TSKaigiHokuriku
izumin5210
5
1.1k
TypeScriptで設計する 堅牢さとUXを両立した非同期ワークフローの実現
moeka__c
5
2.7k
Level up your Gemini CLI - D&D Style!
palladius
1
130
Feature Flags Suck! - KubeCon Atlanta 2025
phodgson
0
190
全員アーキテクトで挑む、 巨大で高密度なドメインの紐解き方
agatan
8
11k
Honoを技術選定したAI要件定義プラットフォームAcsimでの意思決定
codenote
0
280
flutter_kaigi_2025.pdf
kyoheig3
2
380
ソフトウェア設計の課題・原則・実践技法
masuda220
PRO
23
19k
しっかり学ぶ java.lang.*
nagise
1
460
20251127_ぼっちのための懇親会対策会議
kokamoto01_metaps
2
220
Building AI with AI
inesmontani
PRO
1
380
Featured
See All Featured
VelocityConf: Rendering Performance Case Studies
addyosmani
333
24k
Build The Right Thing And Hit Your Dates
maggiecrowley
38
2.9k
The Cost Of JavaScript in 2023
addyosmani
55
9.3k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
51k
How to Think Like a Performance Engineer
csswizardry
28
2.3k
Unsuck your backbone
ammeep
671
58k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.4k
How to Ace a Technical Interview
jacobian
280
24k
The Pragmatic Product Professional
lauravandoore
36
7k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.8k
Product Roadmaps are Hard
iamctodd
PRO
55
12k
Rebuilding a faster, lazier Slack
samanthasiow
84
9.3k
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Ͱ༻Մೳʢԕο
͓·͚͓ΘΓ