Suche senden
Hochladen
Speed up add custom marker on google map
•
1 gefällt mir
•
652 views
哲偉 楊
Folgen
Speed up add custom marker on google map
Weniger lesen
Mehr lesen
Ingenieurwesen
Melden
Teilen
Melden
Teilen
1 von 16
Jetzt herunterladen
Downloaden Sie, um offline zu lesen
Empfohlen
Introduction to serverless computing on Google Cloud
Introduction to serverless computing on Google Cloud
wesley chun
Google Map Code
Google Map Code
Web Development Phoenix
CShields_Resume2
CShields_Resume2
Chris Shields
Google Maps on iOS with Swift
Google Maps on iOS with Swift
Arun Nagarajan
Chrome Dev Summit Summary 2013 part 1 - what’s hot ?
Chrome Dev Summit Summary 2013 part 1 - what’s hot ?
Sacha Leprêtre
iOS Indie Developer Toolkit - CocoaHeads 3city
iOS Indie Developer Toolkit - CocoaHeads 3city
Michał Zygar
Станіслав Осіпов “Кросплатформова інтеграція рідних сервісів у гру”
Станіслав Осіпов “Кросплатформова інтеграція рідних сервісів у гру”
Lviv Startup Club
20180124 android taipei_arinterface
20180124 android taipei_arinterface
PRADA Hsiung
Empfohlen
Introduction to serverless computing on Google Cloud
Introduction to serverless computing on Google Cloud
wesley chun
Google Map Code
Google Map Code
Web Development Phoenix
CShields_Resume2
CShields_Resume2
Chris Shields
Google Maps on iOS with Swift
Google Maps on iOS with Swift
Arun Nagarajan
Chrome Dev Summit Summary 2013 part 1 - what’s hot ?
Chrome Dev Summit Summary 2013 part 1 - what’s hot ?
Sacha Leprêtre
iOS Indie Developer Toolkit - CocoaHeads 3city
iOS Indie Developer Toolkit - CocoaHeads 3city
Michał Zygar
Станіслав Осіпов “Кросплатформова інтеграція рідних сервісів у гру”
Станіслав Осіпов “Кросплатформова інтеграція рідних сервісів у гру”
Lviv Startup Club
20180124 android taipei_arinterface
20180124 android taipei_arinterface
PRADA Hsiung
Building spatial back ends with Node.js and MongoDB
Building spatial back ends with Node.js and MongoDB
Shekhar Gulati
5 Ways to Optimize Your LiDAR Data
5 Ways to Optimize Your LiDAR Data
Safe Software
Mastering MicroStation DGN: How to Integrate CAD and GIS
Mastering MicroStation DGN: How to Integrate CAD and GIS
Safe Software
Flutter study jam - Begineers (1st level)
Flutter study jam - Begineers (1st level)
Tarek Alabd
5 Ways to Improve Your LiDAR Workflows
5 Ways to Improve Your LiDAR Workflows
Safe Software
Code to Add Google Map to Websites
Code to Add Google Map to Websites
Fortune Innovations Dublin
CartoView - Configure and Publish Apps for GeoNode
CartoView - Configure and Publish Apps for GeoNode
Adam Joseph
Google Apps Script: Accessing G Suite & other Google services with JavaScript
Google Apps Script: Accessing G Suite & other Google services with JavaScript
wesley chun
Ez Community Gandbox.fr
Ez Community Gandbox.fr
Gilles Guirand
Introduction to Cloud Computing with Google Cloud
Introduction to Cloud Computing with Google Cloud
wesley chun
Exploring Google (Cloud) APIs with Python & JavaScript
Exploring Google (Cloud) APIs with Python & JavaScript
wesley chun
Using Google (Cloud) APIs
Using Google (Cloud) APIs
wesley chun
Building Custom Visual Composer Elements
Building Custom Visual Composer Elements
Burak Dogan
Discover Angular - Meetup 15/02/2017
Discover Angular - Meetup 15/02/2017
Stéphane Este-Gracias
Rene Groeschke
Rene Groeschke
CodeFest
Designerfair 2011
Designerfair 2011
douglee650
Angular2, Spring Boot, Docker Swarm
Angular2, Spring Boot, Docker Swarm
🐊 Erwin Alberto
Android L08 - Google Maps and Utilities
Android L08 - Google Maps and Utilities
Mohammad Shaker
Meteor.js for DOers
Meteor.js for DOers
ShavonnahTiera
Foss4g2016 Geopaparazzi Workshop
Foss4g2016 Geopaparazzi Workshop
Andrea Antonello
Specification unit test by Spek
Specification unit test by Spek
哲偉 楊
Code kata 的自我修煉
Code kata 的自我修煉
哲偉 楊
Weitere ähnliche Inhalte
Ähnlich wie Speed up add custom marker on google map
Building spatial back ends with Node.js and MongoDB
Building spatial back ends with Node.js and MongoDB
Shekhar Gulati
5 Ways to Optimize Your LiDAR Data
5 Ways to Optimize Your LiDAR Data
Safe Software
Mastering MicroStation DGN: How to Integrate CAD and GIS
Mastering MicroStation DGN: How to Integrate CAD and GIS
Safe Software
Flutter study jam - Begineers (1st level)
Flutter study jam - Begineers (1st level)
Tarek Alabd
5 Ways to Improve Your LiDAR Workflows
5 Ways to Improve Your LiDAR Workflows
Safe Software
Code to Add Google Map to Websites
Code to Add Google Map to Websites
Fortune Innovations Dublin
CartoView - Configure and Publish Apps for GeoNode
CartoView - Configure and Publish Apps for GeoNode
Adam Joseph
Google Apps Script: Accessing G Suite & other Google services with JavaScript
Google Apps Script: Accessing G Suite & other Google services with JavaScript
wesley chun
Ez Community Gandbox.fr
Ez Community Gandbox.fr
Gilles Guirand
Introduction to Cloud Computing with Google Cloud
Introduction to Cloud Computing with Google Cloud
wesley chun
Exploring Google (Cloud) APIs with Python & JavaScript
Exploring Google (Cloud) APIs with Python & JavaScript
wesley chun
Using Google (Cloud) APIs
Using Google (Cloud) APIs
wesley chun
Building Custom Visual Composer Elements
Building Custom Visual Composer Elements
Burak Dogan
Discover Angular - Meetup 15/02/2017
Discover Angular - Meetup 15/02/2017
Stéphane Este-Gracias
Rene Groeschke
Rene Groeschke
CodeFest
Designerfair 2011
Designerfair 2011
douglee650
Angular2, Spring Boot, Docker Swarm
Angular2, Spring Boot, Docker Swarm
🐊 Erwin Alberto
Android L08 - Google Maps and Utilities
Android L08 - Google Maps and Utilities
Mohammad Shaker
Meteor.js for DOers
Meteor.js for DOers
ShavonnahTiera
Foss4g2016 Geopaparazzi Workshop
Foss4g2016 Geopaparazzi Workshop
Andrea Antonello
Ähnlich wie Speed up add custom marker on google map
(20)
Building spatial back ends with Node.js and MongoDB
Building spatial back ends with Node.js and MongoDB
5 Ways to Optimize Your LiDAR Data
5 Ways to Optimize Your LiDAR Data
Mastering MicroStation DGN: How to Integrate CAD and GIS
Mastering MicroStation DGN: How to Integrate CAD and GIS
Flutter study jam - Begineers (1st level)
Flutter study jam - Begineers (1st level)
5 Ways to Improve Your LiDAR Workflows
5 Ways to Improve Your LiDAR Workflows
Code to Add Google Map to Websites
Code to Add Google Map to Websites
CartoView - Configure and Publish Apps for GeoNode
CartoView - Configure and Publish Apps for GeoNode
Google Apps Script: Accessing G Suite & other Google services with JavaScript
Google Apps Script: Accessing G Suite & other Google services with JavaScript
Ez Community Gandbox.fr
Ez Community Gandbox.fr
Introduction to Cloud Computing with Google Cloud
Introduction to Cloud Computing with Google Cloud
Exploring Google (Cloud) APIs with Python & JavaScript
Exploring Google (Cloud) APIs with Python & JavaScript
Using Google (Cloud) APIs
Using Google (Cloud) APIs
Building Custom Visual Composer Elements
Building Custom Visual Composer Elements
Discover Angular - Meetup 15/02/2017
Discover Angular - Meetup 15/02/2017
Rene Groeschke
Rene Groeschke
Designerfair 2011
Designerfair 2011
Angular2, Spring Boot, Docker Swarm
Angular2, Spring Boot, Docker Swarm
Android L08 - Google Maps and Utilities
Android L08 - Google Maps and Utilities
Meteor.js for DOers
Meteor.js for DOers
Foss4g2016 Geopaparazzi Workshop
Foss4g2016 Geopaparazzi Workshop
Mehr von 哲偉 楊
Specification unit test by Spek
Specification unit test by Spek
哲偉 楊
Code kata 的自我修煉
Code kata 的自我修煉
哲偉 楊
Coding dojo
Coding dojo
哲偉 楊
輕輕鬆鬆產生 changelog
輕輕鬆鬆產生 changelog
哲偉 楊
Spek
Spek
哲偉 楊
Jenkins for android developer at TWJUG
Jenkins for android developer at TWJUG
哲偉 楊
自己的 Jenkins 自己來 for Android developer
自己的 Jenkins 自己來 for Android developer
哲偉 楊
從開發到上線的華麗大冒險
從開發到上線的華麗大冒險
哲偉 楊
Kotlin初體驗
Kotlin初體驗
哲偉 楊
Kotlin 初體驗
Kotlin 初體驗
哲偉 楊
Unit test and ui testing with cucumber
Unit test and ui testing with cucumber
哲偉 楊
RxJava With retrolambda
RxJava With retrolambda
哲偉 楊
ORMLite Android
ORMLite Android
哲偉 楊
設計師合作經驗分享
設計師合作經驗分享
哲偉 楊
Dog point
Dog point
哲偉 楊
Gson
Gson
哲偉 楊
Hybrid design with bootstrap
Hybrid design with bootstrap
哲偉 楊
Mehr von 哲偉 楊
(17)
Specification unit test by Spek
Specification unit test by Spek
Code kata 的自我修煉
Code kata 的自我修煉
Coding dojo
Coding dojo
輕輕鬆鬆產生 changelog
輕輕鬆鬆產生 changelog
Spek
Spek
Jenkins for android developer at TWJUG
Jenkins for android developer at TWJUG
自己的 Jenkins 自己來 for Android developer
自己的 Jenkins 自己來 for Android developer
從開發到上線的華麗大冒險
從開發到上線的華麗大冒險
Kotlin初體驗
Kotlin初體驗
Kotlin 初體驗
Kotlin 初體驗
Unit test and ui testing with cucumber
Unit test and ui testing with cucumber
RxJava With retrolambda
RxJava With retrolambda
ORMLite Android
ORMLite Android
設計師合作經驗分享
設計師合作經驗分享
Dog point
Dog point
Gson
Gson
Hybrid design with bootstrap
Hybrid design with bootstrap
Kürzlich hochgeladen
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
BhangaleSonal
22-prompt engineering noted slide shown.pdf
22-prompt engineering noted slide shown.pdf
203318pmpc
Employee leave management system project.
Employee leave management system project.
Kamal Acharya
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
dharasingh5698
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Kandungan 087776558899
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
Quintin Balsdon
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
bhaskargani46
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
RishantSharmaFr
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
Epec Engineered Technologies
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
9953056974 Low Rate Call Girls In Saket, Delhi NCR
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
Kamal Acharya
Thermal Engineering Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
DineshKumar4165
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
sivaprakash250
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
Call Girls in Nagpur High Profile Call Girls
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
SUHANI PANDEY
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
mulugeta48
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
DineshKumar4165
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
soginsider
Kürzlich hochgeladen
(20)
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
22-prompt engineering noted slide shown.pdf
22-prompt engineering noted slide shown.pdf
Employee leave management system project.
Employee leave management system project.
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
Thermal Engineering Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Speed up add custom marker on google map
1.
SPEED UP ADD
CUSTOM MARKER ON GOOGLE MAP ANDYANG@ANDROID TAIPEI
2.
ABOUT ME ▸ Andy
楊哲偉 ▸ ⾞車車⿇麻吉 Android Developer ▸ kotlin, rxjava 愛好者 ▸ Android Code Club (Taipei) Organizer ▸ 最近愛上寫 coding dojo
3.
AGENDA ▸ Background ▸ Why
add makers very slowly on google map? ▸ How to improve? ▸ LEVEL 0 (no custom marker) ▸ LEVEL 1 (custom marker) ▸ LEVEL 2 (cache marker bitmap) ▸ LEVEL 3 (double cache & thread) ▸ Recap ▸ Q&A
4.
Live Demo Source
Code https://github.com/ bng86/SpeedUpMarker
5.
BACKGROUND ▸ Marker ▸ lat/lng ▸
icon (custom) ▸ Fetch data ▸ bounding box ▸ center lat/lng with radius ▸ google map api add marker (on main thread)
6.
WHY ADD MAKERS
VERY SLOWLY ON GOOGLE MAP? ▸ add each marker blocking UI thread 1~10 ms ▸ add marker can’t on background thread ▸ custom marker generator bitmap ▸ create marker instance after add maker ▸ Marker addMarker(markerOptions)
7.
LEVEL 0 ▸ add
marker without custom icon
8.
DEMO
9.
LEVEL 1 ▸ add
marker custom icon with dynamic data ▸ blocking ui thread
10.
DEMO
11.
LEVEL 2 ▸ reuse
bitmap resource for same data ▸ using data class define marker data ▸ LRUCache reuse Bitmap
12.
DEMO
13.
LEVEL 3 ▸ cache
marker & data (LRUCache) ▸ generator bitmap, check marker cache do in background thread ▸ delay emitter data distributed blocking main thread ▸ limit max alive marker on map
14.
DEMO
15.
RECAP ▸ cache bitmap ▸
cache marker ▸ generate and calculate do in background ▸ delay emitter data ▸ limit max alive marker
16.
Q&A
Jetzt herunterladen