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
270
愛知県コロナ対策サイトが立ち上がってから
amay077
0
75
Xamarin.Forms Hot Reload のススメ
amay077
0
830
クロスプラットフォームモバイルアプリ開発ツール総ざらい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
610
Xamarin.Android で始めるクロスプラットフォームモバイルアプリ開発 #jxug
amay077
0
900
Xamarin.Android で始めるクロスプラットフォームモバイルアプリ開発 #droidkaigi #droidkaigi1
amay077
3
3.5k
Other Decks in Programming
See All in Programming
各クラウドサービスにおける.NETの対応と見解
ymd65536
0
110
MCP with Cloudflare Workers
yusukebe
2
220
Zoneless Testing
rainerhahnekamp
0
120
テスト自動化失敗から再挑戦しチームにオーナーシップを委譲した話/STAC2024 macho
ma_cho29
1
1.3k
Spatial Rendering for Apple Vision Pro
warrenm
0
110
テストコードのガイドライン 〜作成から運用まで〜
riku929hr
5
730
create_tableをしただけなのに〜囚われのuuid編〜
daisukeshinoku
0
270
Jakarta EE meets AI
ivargrimstad
0
260
「Chatwork」Android版アプリを 支える単体テストの現在
okuzawats
0
180
クリエイティブコーディングとRuby学習 / Creative Coding and Learning Ruby
chobishiba
0
3.9k
これでLambdaが不要に?!Step FunctionsのJSONata対応について
iwatatomoya
2
3.7k
rails statsで大解剖 🔍 “B/43流” のRailsの育て方を歴史とともに振り返ります
shoheimitani
2
940
Featured
See All Featured
Building a Modern Day E-commerce SEO Strategy
aleyda
38
7k
Testing 201, or: Great Expectations
jmmastey
40
7.1k
Faster Mobile Websites
deanohume
305
30k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
365
25k
No one is an island. Learnings from fostering a developers community.
thoeni
19
3k
Designing on Purpose - Digital PM Summit 2013
jponch
116
7k
Music & Morning Musume
bryan
46
6.2k
Mobile First: as difficult as doing things right
swwweet
222
9k
Practical Orchestrator
shlominoach
186
10k
Building Adaptive Systems
keathley
38
2.3k
A Philosophy of Restraint
colly
203
16k
We Have a Design System, Now What?
morganepeng
51
7.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Ͱ༻Մೳʢԕο
͓·͚͓ΘΓ