All Projects → jineshfrancs → Themedgooglemap

jineshfrancs / Themedgooglemap

Licence: apache-2.0
Utility class to make GoogleMap with custom theme.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Themedgooglemap

js-markerclusterer
Create and manage clusters for large amounts of markers
Stars: ✭ 92 (-44.91%)
Mutual labels:  googlemaps
Flutter Cab
Stars: ✭ 19 (-88.62%)
Mutual labels:  googlemaps
Uberux
Project that demonstrates the entire animation stack present in the Uber app (android)
Stars: ✭ 1,201 (+619.16%)
Mutual labels:  googlemaps
flutter placez
Display & Search your nearby places. This app uses Flutter 1.0 PlatformView to display Google Map as a Flutter Widget in iOS & Android device
Stars: ✭ 47 (-71.86%)
Mutual labels:  googlemaps
Clusterkit
An iOS map clustering framework targeting MapKit, Google Maps and Mapbox.
Stars: ✭ 476 (+185.03%)
Mutual labels:  googlemaps
Androidtestingtutorial
Getting started with Espresso Unit Testing
Stars: ✭ 10 (-94.01%)
Mutual labels:  googlemaps
GoogleMaps-SP
Swift Package for Google Maps iOS SDK
Stars: ✭ 105 (-37.13%)
Mutual labels:  googlemaps
Robe React Ui
Robe React UI Components
Stars: ✭ 133 (-20.36%)
Mutual labels:  googlemaps
Flask Googlemaps
Easy way to add GoogleMaps to Flask applications. maintainer: @RiverFount
Stars: ✭ 550 (+229.34%)
Mutual labels:  googlemaps
Easymap
Ready to use Address Selection Library using Google Maps and Places API.
Stars: ✭ 66 (-60.48%)
Mutual labels:  googlemaps
google-maps-utility-library-v3-read-only
git clone of http://google-maps-utility-library-v3.googlecode.com/svn/
Stars: ✭ 51 (-69.46%)
Mutual labels:  googlemaps
Js Samples
Samples for the Google Maps JavaScript v3 API
Stars: ✭ 362 (+116.77%)
Mutual labels:  googlemaps
Ionic 3 Google Maps Google Places Geolocation
This repository is part of an ionic tutorial about Maps! In this tutorial we merged Google maps, Geolocation and Google Places. This ionic tutorial includes a working example you can reuse for your needs!
Stars: ✭ 32 (-80.84%)
Mutual labels:  googlemaps
school-finder
👀 Find schools by location
Stars: ✭ 16 (-90.42%)
Mutual labels:  googlemaps
Agm Direction
This is the directive for @agm/core (not official)
Stars: ✭ 77 (-53.89%)
Mutual labels:  googlemaps
GoogleMapsTileOverlay
GoogleMapsTileOverlay lets you customize Apple Maps MKMapView with the Google Maps StylingWizard
Stars: ✭ 68 (-59.28%)
Mutual labels:  googlemaps
Mapme
The Android maps adapter
Stars: ✭ 844 (+405.39%)
Mutual labels:  googlemaps
Carmarker Animation
This android library will help to show the marker move along the route and turn smoothly along the road curves.
Stars: ✭ 154 (-7.78%)
Mutual labels:  googlemaps
Livetaiwan
直播地圖
Stars: ✭ 83 (-50.3%)
Mutual labels:  googlemaps
Googlemapview
android google map view - imageView to make the map display process easier by entering latitude and longitude only by static map
Stars: ✭ 36 (-78.44%)
Mutual labels:  googlemaps

ThemedGoogleMap

Utility class to make GoogleMap with custom theme.

Create your own theme like this

GoogleMapStyler googleMapStyler = new GoogleMapStyler.Builder(MainActivity.this)
                        .setMainGeometryColorRes(R.color.maingeometrycolor)
                        .setAllPlaceTextStrokeAlpha(-80)
                        .setAllPlaceTextColorRes(R.color.adminstartivelabel)
                        .setAllMainTownTextColorRes(R.color.administativelocality)
                        .setAllPoiTextColorRes(R.color.poitext)
                        .setAllPoiParkBackgroundColorRes(R.color.poiparkbackground)
                        .setAllPoiParkTextColorRes(R.color.poilabel)
                        .setAllRoadBackgroundColorRes(R.color.roadbackground)
                        .setAllRoadTextColorRes(R.color.roadlabel)
                        .setAllRoadArterialBackgroundColorRes(R.color.roadarterialbackground)
                        .setAllRoadArterialStrokeColorRes(R.color.roadarterialstroke)
                        .setAllRoadHighwayBackgroundColorRes(R.color.roadhighway)
                        .setAllRoadHighwayStrokeColorRes(R.color.roadhighwaystroke)
                        .setAllRoadHighwayTextColorRes(R.color.roadhighwaylabel)
                        .setAllRoadLocalBackgroundColorRes(R.color.roadlocal)
                        .setAllRoadLocalStrokeColorRes(R.color.roadlocalstroke)
                        .setAllTransitStationTextColorRes(R.color.transitstationtext)
                        .setAllTransitBackgroundColorRes(R.color.transit)
                        .setAllWaterTextColorRes(R.color.waterlabel)
                        .setAllWaterBackgroundColorRes(R.color.water)
                        .setAllWaterTextStrokeAlpha(-20)
                        .build();

// Alternatively to use a Color int, remove the Res from the method name
// Example:
// setMainGeometryColor(Color.BLACK)
                        

Apply generated style to google map

 googleMap.setMapStyle(googleMapStyler.getMapStyleOptions());

Use in your project

1.Add it in your root build.gradle at the end of repositories:

	allprojects {
		repositories {
			...
			maven { url 'https://jitpack.io' }
		}
	}

2.Add the dependency in your app build.gradle file:

dependencies {
	       compile 'com.github.jineshfrancs:ThemedGoogleMap:1.0'
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].