Google Maps API pricing on React Native

I have been trying to implement Google Maps in a React Native application for a client which will use a lot of map accesses daily. Have been a little lost in regards to pricing, however.

Searching about the topic, came across this question: React Native Maps Google pricing

Read this documentation for its pricing and use, then: https://developers.google.com/maps/documentation/android-sdk/usage-and-billing?hl=pt-br#dynamic-maps

Still, I am a little lost; My map does use custom styling, and the documentation refers to needing to use a “custom ID” when custom styling; I wont use any other functionality but the static map, however, which suggests it should remain free.

Here is the code for the Map as of now.

import { StyleSheet, Text, View, Dimensions, Platform, TouchableOpacity, Image, } from "react-native";
import React, { useEffect, useState, useContext } from "react";
import MapView, { Marker, Callout, PROVIDER_DEFAULT, PROVIDER_GOOGLE } from "react-native-maps";
import * as Location from 'expo-location'

import { AuthContext } from "../context/user.js";

import { useNavigation } from '@react-navigation/native';

const user = require("../../assets/UserWhite.png")
const marker = require("../../assets/marker.png")

const mapStyle = [
    {
        featureType: "administrative",
        elementType: "labels.text.fill",
        stylers: [{ visibility: "off" }],
    },
    {
        featureType: "poi",
        elementType: "labels.text.fill",
        stylers: [{ visibility: "off" }],
    },
    {
        featureType: "poi.park",
        elementType: "geometry.fill",
        stylers: [{ visibility: "off" }],
    },
    {
        featureType: "road",
        elementType: "geometry.fill",
        stylers: [{ color: "#FFFFFF" }],
    },
    {
        featureType: "road",
        elementType: "geometry.stroke",
        stylers: [{ color: "#FFFFFF" }],
    },
    {
        featureType: "water",
        elementType: "geometry.fill",
        stylers: [{ color: "blue" }],
    },
];


return (
        // <View style={styles.container}>
        <View>

            {(myLocation) &&
                <MapView
                    style={{ width: "100%", height: "100%" }}
                    // style = {styles.map}
                    initialRegion={
                        {
                            latitude: myLocation.latitude,
                            longitude: myLocation.longitude,
                            latitudeDelta: 0.0922,
                            longitudeDelta: 0.0421
                        }
                    }
                    provider={Platform.OS === 'android' ? "google" : PROVIDER_DEFAULT}
                    customMapStyle={mapStyle}
                >

                    {pin.latitude && pin.longitude &&
                        <Marker
                            coordinate={pin}
                            title="Localização atual"
                            image={require("../../assets/markerUser.png")}
                        />
                    }

                    {eventos && eventos.map(evento => (
                        <Marker
                            key={evento.id}
                            coordinate={{
                                latitude: parseFloat(evento.latitude),
                                longitude: parseFloat(evento.longitude)
                            }}
                            title={evento.titulo}
                            description={evento.localizacao}
                            image={marker}
                        />
                    ))}
                   

                </MapView>
            }
       </View>

let deviceWidth = Dimensions.get("window").width
let deviceHeight = Dimensions.get("window").height

const styles = StyleSheet.create({
    container: {
        flex: 1,
    },
    map: {
        width: deviceWidth,
        height: deviceHeight / 1.2,
    },
    userCircle: {
        position: "absolute",
        justifyContent: "center",
        alignItems: "center",
        left: deviceWidth / 1.25,
        top: deviceHeight / 15,
        width: deviceWidth / 8,
        height: deviceWidth / 8,
        borderRadius: 50,
        backgroundColor: "#E3E3E3"
    },
    img: {
        aspectRatio: 1,
        // height: deviceHeight / 25,
        width: "100%", height: "100%", borderRadius: deviceWidth
        // tintColor: "#F3722C"
    }
})

I need some clarification in regards to this concept of “Map ID”. Would I need one for the following code? What about if I wanted to use it in iOS? Also, where should I even use this API key?

New contributor

pato-sb is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật