The City Docs
7.4
7.4
  • Welcome
  • ADMIN PANEL
    • Import Project
    • Structure
    • Notification
    • MySQL Database
    • Add New Category
    • News Info
    • Custom Color
    • Change Log
  • ANDROID
    • Getting Started
      • Installation
      • Import Project
    • Structure
    • Package Name ( app id )
    • Firebase [must]
    • REST API
      • Configure API Url
      • Validate Your Web
    • Category
      • Integration
      • Add New
    • Remote Config
    • Ad Networks
    • Maps Configuration
    • Sort By Distance
    • Lazy Load
    • SQLite Database
    • Custom Color
    • Change Log
  • License
Powered by GitBook
On this page
  1. ANDROID

Maps Configuration

PreviousAd NetworksNextSort By Distance

This android project used Google Map feature, So you must change GOOGLE_MAP_API_KEY by yours at res/valuse/googlemap.xml

Tutorial how to get Google Map API Key

# After you get the API_KEY you can placed you API key at android project

res/valuse/googlemap.xml
<!-- Google Map API KEY -->
<string name="GOOGLE_MAP_API_KEY">AIzaSyBiB9......................</string>

For ActivityMaps.java you need to change zooming location with your own city latitude longitude.

You can change at AppConfig.java -> General

AppConfig.java -> General
/* tools to get coordinate https://www.gps-coordinates.net/ */
public double default_map_latitude = -8.3304977;
public double default_map_langitude = 115.0906401;

/* for map zoom, larger for more zoom, used on Activity Maps*/
public int default_map_zoom = 9;
http://blog.dream-space.web.id/?p=89