Day133 — Google Map
1 min readDec 17, 2019
Here records things I learned about google map sdk for android.
Marker
Custom marker
Force always show info window
VectorDrawable as marker
lite mode (better performance with partial features)
Some key difference:
- no animation
- no gesture (zoom, rotate, tilt, drag)
- no street view
- just a static map image
If what you need is to display a map image using latitude and longitude, lite mode is the preferred approach.
Styling
Applying style to google map is as simple as one line, provided that you already have the style json.
If you are using raw resources, you can uglify the json to reduce the file size.
Hide map feature: