MapLibre compose wrapper library (#877)

Heavily inspired from https://github.com/googlemaps/android-maps-compose It doesn't aim to be a full featured library like android-maps-compose, it's been stripped down to only handle our use cases.

Related to:
https://github.com/vector-im/element-meta/issues/1674
https://github.com/vector-im/element-meta/issues/1682
This commit is contained in:
Marco Romano 2023-07-17 16:22:29 +02:00 committed by GitHub
parent 31331d17ff
commit 004b86b05d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 1133 additions and 6 deletions

View file

@ -113,7 +113,7 @@ Compose:
CompositionLocalAllowlist:
active: true
# You can optionally define a list of CompositionLocals that are allowed here
allowedCompositionLocals: LocalCompoundColors, LocalSnackbarDispatcher
allowedCompositionLocals: LocalCompoundColors, LocalSnackbarDispatcher, LocalCameraPositionState
CompositionLocalNaming:
active: true
ContentEmitterReturningValues:

View file

@ -1,15 +1,15 @@
/\*
(.*\n)* \* Copyright \(c\) 20\d\d New Vector Ltd(.*\n)*
\*
\/\*
(?:.*\n)* \* Copyright \(c\) 20\d\d New Vector Ltd
(?:.*\n)* \*
\* Licensed under the Apache License, Version 2\.0 \(the "License"\);
\* you may not use this file except in compliance with the License\.
\* You may obtain a copy of the License at
\*
\* http(s)?://www\.apache\.org/licenses/LICENSE-2\.0
\* http(?:s)?:\/\/www\.apache\.org\/licenses\/LICENSE-2\.0
\*
\* Unless required by applicable law or agreed to in writing, software
\* distributed under the License is distributed on an "AS IS" BASIS,
\* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied\.
\* See the License for the specific language governing permissions and
\* limitations under the License\.
\*/
\*\/