static-maps-api icon indicating copy to clipboard operation
static-maps-api copied to clipboard

Google Logo

Open Fatimamostafa opened this issue 5 years ago • 3 comments

Will it cause any issue if the Google placeholder isn't visible?

Does it violates clause 3.2.3(b) of the terms, which requires developers to “display all attribution that (i) Google provides through the Services (including branding, logos, and copyright and trademark notices); or (ii) is specified in the Service Specific Terms (https://cloud.google.com/maps-platform/terms/maps-service-terms/).” In addition, developers are not allowed to “modify, obscure, or delete such attribution.”

Fatimamostafa avatar Jul 10 '19 12:07 Fatimamostafa

You already answered your own question: you should not hide that logo.

renaudcerrato avatar Jul 10 '19 12:07 renaudcerrato

Its not visible currently with this code

GlideApp.with(getFragment())
            .load(
                StaticMap()
                    .key(getString(R.string.google_maps_key))
                    .size(resources.displayMetrics.widthPixels, dimen(R.dimen._200sdp))
                    .zoom(18)
                    .marker(
                        StaticMap.Marker.Style.builder().color(
                            ContextCompat.getColor(
                                requireContext(),
                                R.color.colorAccent
                            )
                        ).build(),
                        StaticMap.GeoPoint(location.lat, location.lng)
                    ).toString()
            )
            .placeholder(R.drawable.placeholder_map)
            .error(R.drawable.placeholder_map)
            .into(locationImage)

Fatimamostafa avatar Jul 14 '19 11:07 Fatimamostafa

That library doesn't do any image preprocessing or post-processing. It just helps you to build a Google Static Map URL.

Debug your code.

Le dim. 14 juil. 2019 à 13:57, Fatima Mostafa [email protected] a écrit :

Its not visible currently with this code GlideApp.with(getFragment()) .load( StaticMap() .key(getString(R.string.google_maps_key)) .size(resources.displayMetrics.widthPixels, dimen(R.dimen._200sdp)) .zoom(18) .marker( StaticMap.Marker.Style.builder().color( ContextCompat.getColor( requireContext(), R.color.colorAccent ) ).build(), StaticMap.GeoPoint(location.lat, location.lng) ).toString() ) .placeholder(R.drawable.placeholder_map) .error(R.drawable.placeholder_map) .into(locationImage)

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/renaudcerrato/static-maps-api/issues/8?email_source=notifications&email_token=AAOXNRMBOECKSCF52OOX2VTP7MID7A5CNFSM4H7O3FEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZ4D4BY#issuecomment-511196679, or mute the thread https://github.com/notifications/unsubscribe-auth/AAOXNRNYALJ3YCRB5R4RU5LP7MID7ANCNFSM4H7O3FEA .

renaudcerrato avatar Jul 14 '19 12:07 renaudcerrato