I'm using here Android SDK and try to customize my map. I wondering, can I change map icons somehow? I mean such icons at the map:
I can change CategoryIcons from here api search, but didn't find where to change the map icons.
These icons are baked into the core resource library. It is not something an external developer can change.
Related
is there a possibility to have the map exactly like Google Maps Android app does ? I mean with the yellow roads etc. Using google maps api for android we have only hybrid, normal, satellite and no one looks like the app one. I tried the styling wizard, the one i need is the standard one from wizard, but nothing is generated as ROADMAP is the standard style.
You can style the Map View / Map Fragment to however you want
https://developers.google.com/maps/documentation/android-sdk/styling
Use the Map Style Wizard https://mapstyle.withgoogle.com/ to create a style that matches the one you are looking at and apply that to your codebase (using the instructions above)
I am wondering what are the legal ramifications of using an icon from the internet in my app. I am not much of an artist but there are gazillions of icons on the web. I was going to use one and tweak it a bit and use it for my android app. Is this legal to do?
Thanks.
If you wish you can use your icons from drawable folder by creating vector icons giving it your own colors and styles
I would like to use the "standard" Google Maps icon and the Google Maps direction icon as src in an ImageButton. When the ImageButton is pressed I would like to fire an Intent to start Google Maps. The icons I have in mind are those that appear in the following screenshot. These icons appear when you show a map using Google Maps lite mode.
I can't seem to find those or similar icons provided by Google anywhere. Is this happening because I am not supposed to use them?
You can find the direction and map icons in android studio here
Expand res > right click on drawables > new > Vector assets > click on
the button against Icon > select maps
Or you can download the svg's from here
Google encourage developers to use vector assets as they are scalable and follow material design specifications suggested by google. So it's better to use them.
If you still want to use the exact icons then you can get them here
I downloaded some free icons and created a notification. At first I thought something was broken but then I realized that the icon I had used was in the same color as the background.
The pack I downloaded included several versions like "holo_dark" and "holo_light". I assume that this has something to do with theming in different android versions or user customizable settings.
What is the intended way to figure out which icon to use in such cases?
The icons are specific to the theme that you will be using in your android application. You have to identify the theme in your application and then use the specific set of icons for your theme.
For more clarity you can refer the Android Asset Studio ActionBar and Tab Icon Generator and see the difference in icons generated for different themes.
Also this article will be very useful in understanding how Styles and Themes work in Android.
I am looking for the glossy blue Google Maps icon for the user's current position. I have seen it being used in several places like in the current version of Google+ on Android:
The icon also appears on the launcher icon of the Google Maps Android application and as an indicator for the user's current location on the map.
Unfortunately, it is not available in the Android SDK resources (although there is "ic_maps_indicator_current_position.png", but that is a different icon) and I could not find it on the web. But I think that this icon is so well-known -- there must a possibility to use it in your own application.
unzip the official GoogleMap.apk and find it in the resource folder.