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
72
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
610
Xamarin.Android で始めるクロスプラットフォームモバイルアプリ開発 #jxug
amay077
0
890
Xamarin.Android で始めるクロスプラットフォームモバイルアプリ開発 #droidkaigi #droidkaigi1
amay077
3
3.5k
Other Decks in Programming
See All in Programming
Less waste, more joy, and a lot more green: How Quarkus makes Java better
hollycummins
0
100
みんなでプロポーザルを書いてみた
yuriko1211
0
280
Remix on Hono on Cloudflare Workers
yusukebe
1
300
ふかぼれ!CSSセレクターモジュール / Fukabore! CSS Selectors Module
petamoriken
0
150
OnlineTestConf: Test Automation Friend or Foe
maaretp
0
120
Pinia Colada が実現するスマートな非同期処理
naokihaba
4
230
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
0
120
subpath importsで始めるモック生活
10tera
0
320
macOS でできる リアルタイム動画像処理
biacco42
9
2.4k
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
0
100
タクシーアプリ『GO』のリアルタイムデータ分析基盤における機械学習サービスの活用
mot_techtalk
4
1.5k
Better Code Design in PHP
afilina
PRO
0
130
Featured
See All Featured
A better future with KSS
kneath
238
17k
[RailsConf 2023] Rails as a piece of cake
palkan
52
4.9k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
229
52k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
1.9k
The Cult of Friendly URLs
andyhume
78
6k
The Language of Interfaces
destraynor
154
24k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
StorybookのUI Testing Handbookを読んだ
zakiyama
27
5.3k
Art, The Web, and Tiny UX
lynnandtonic
297
20k
How to Ace a Technical Interview
jacobian
276
23k
Documentation Writing (for coders)
carmenintech
65
4.4k
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.5k
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Ͱ༻Մೳʢԕο
͓·͚͓ΘΓ