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.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
310
愛知県コロナ対策サイトが立ち上がってから
amay077
0
100
Xamarin.Forms Hot Reload のススメ
amay077
0
870
クロスプラットフォームモバイルアプリ開発ツール総ざらい2019 〜Titanium Mobile から Kotlin/Native まで〜 #droidkaigi
amay077
11
10k
ハムスター検出器を1日で作ってみた #NGK2018B
amay077
1
1.1k
App Center から Azure Pipeline に乗り換えた話
amay077
0
1.3k
Xamarin.Android で始めるクロスプラットフォームモバイルアプリ開発 #jaghama
amay077
0
650
Xamarin.Android で始めるクロスプラットフォームモバイルアプリ開発 #jxug
amay077
0
960
Xamarin.Android で始めるクロスプラットフォームモバイルアプリ開発 #droidkaigi #droidkaigi1
amay077
3
3.6k
Other Decks in Programming
See All in Programming
マイコンでもRustのtestがしたい その2/KernelVM Tokyo 18
tnishinaga
2
2.3k
STUNMESH-go: Wireguard NAT穿隧工具的源起與介紹
tjjh89017
0
390
Namespace and Its Future
tagomoris
6
490
TanStack DB ~状態管理の新しい考え方~
bmthd
2
340
ライブ配信サービスの インフラのジレンマ -マルチクラウドに至ったワケ-
mirrativ
2
270
WebAssemblyインタプリタを書く ~Component Modelを添えて~
ruccho
1
920
ワープロって実は計算機で
pepepper
2
1.4k
フロントエンドのmonorepo化と責務分離のリアーキテクト
kajitack
2
140
Claude Codeで実装以外の開発フロー、どこまで自動化できるか?失敗と成功
ndadayo
2
1.5k
ゲームの物理
fadis
5
1.5k
Nuances on Kubernetes - RubyConf Taiwan 2025
envek
0
200
物語を動かす行動"量" #エンジニアニメ
konifar
14
5.5k
Featured
See All Featured
jQuery: Nuts, Bolts and Bling
dougneiner
64
7.9k
Raft: Consensus for Rubyists
vanstee
140
7.1k
Build your cross-platform service in a week with App Engine
jlugia
231
18k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
3.1k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
185
54k
The Pragmatic Product Professional
lauravandoore
36
6.8k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
61k
How STYLIGHT went responsive
nonsquared
100
5.7k
Stop Working from a Prison Cell
hatefulcrawdad
271
21k
We Have a Design System, Now What?
morganepeng
53
7.7k
VelocityConf: Rendering Performance Case Studies
addyosmani
332
24k
[RailsConf 2023] Rails as a piece of cake
palkan
56
5.8k
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Ͱ༻Մೳʢԕο
͓·͚͓ΘΓ