I recently managed to get an Ingress invite, and love the way the maps are themed in that.
I know similar theming can be done for Google Maps in a browser, as shown here.
Does anybody know how Ingress themed the map on Android? Is this a feature only available to Google, or can we use it in our apps through the standard maps library?
You can customize the style or theme of the Google maps. Step 2 Select and click the theme you want to make change. Step 3 Copy that JSON code from left side. Step 4 Go to Add or Edit Map and Scroll down to 'Map Style Setting' section and paste it here to apply custom google maps skin.
To style your map, call GoogleMap. setMapStyle() passing a MapStyleOptions object that contains your style declarations in JSON format.
Honestly, this is a guess (a lot more of a guess for me than usual)
The MapView itself is a view. There's constructors to take in contexts and attributes. You might be able to play with a ContextThemeWrapper or extend the mapview and do things with onDraw().
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With