![]() ![]() Next, create the UtilsListFragment class that is used above so that it displays a simple list of items representing the various parts of the library you will learn about in this tutorial. ![]() Once you have imported these libraries and synced the project, you need to update the layout file for MainActivity.java so that it uses the custom fragment shown below. I should note that the Google Maps Utils library is technically still in beta, though it has been available for the last two years. ![]() compile ':play-services-maps:7.8.0'Ĭompile ':android-maps-utils:0.4' Next, open adle and add two new dependencies, one for Play Services to use Google Maps and another one for the Google Maps Utils library. For this tutorial, you need to get an API key and set up your project with a manifest as described there. In the first tutorial of this series, I went over how to set up a project using the Google Developer Console and adding an API key to your manifest. ![]() The source files for this tutorial can be found on GitHub. In this tutorial, you will learn how to use this utility library to add heat map visualizations for your data, cluster large numbers of markers for easier viewing, and use various utility methods for working with the spherical nature of the Earth or drawing routes on roads. Luckily, Google has created an open source library containing a set of utilities that Android developers can use to make their applications even better with enhanced maps. While the standard features of Google Maps are incredibly useful, there will be times that you want to do a little bit more. ![]()
0 Comments
Leave a Reply. |