Google Maps APIs used in Fam-map component
The Fam-map component in Crisis map utilizes various Google Maps APIs to provide interactive mapping functionalities. This section lists the Google Maps APIs that are integrated into the Fam-map component, along with their usage information.
Maps - Dynamic Maps JavaScript API
| Product | Description | Library |
|---|---|---|
| Maps JavaScript API | The Fam-map component relies on the Dynamic Maps JavaScript API to load the dynamic maps. This API enables for the dynamic creation and manipulation of the maps. It also provides a foundation for the interactive features in the component. For detailed documentation and pricing information, see https://developers.google.com/maps/documentation/javascript. |
@googlemaps/js-api-loader |
| Features | Module | Default | Usage |
|---|---|---|---|
| Markers | google.maps.Marker | Enabled | Basic |
| Marker cluster | @googlemaps/markerclusterer | Enabled | Basic |
| Custom OverlayView | google.maps.OverlayView | Enabled | Basic |
| Polyline | google.maps.Polyline | Enabled | Basic |
| Polygon | google.maps.Polygon | Enabled | Basic |
| Circle | google.maps.Circle | Enabled | Basic |
| Rectangle | google.maps.Rectangle | Enabled | Basic |
| FeatureStyleFunction | google.maps.FeatureStyleFunctionOptions | Disabled | Basic |
| Customize map style | For a list of all available values for featureType, elementType, and stylers, see the https://developers.google.com/maps/documentation/javascript/style-reference. |
Enabled | Basic |
| Name | Description | Type | Required |
|---|---|---|---|
| mapProperties | Properties of Google Map to set when loading | array | No |
| Products | Description | Module | Default | Usage |
|---|---|---|---|---|
| Nearby Search | Billing depends on the fields that a user utilizes. | google.maps.places.PlacesService(mapRef). nearbySearch | Disabled | Basic |
| Places Details | Billing depends on the fields that a user utilizes. | google.maps.places.PlacesService | Disabled | Basic |
| Autocomplete - Per request+ | The Autocomplete – Per Request SKU is charged for any of these calls or requests that do not include a session token: JavaScript: the Maps JavaScript API’s Place Autocomplete service | google.maps.places.AutocompleteService(). getQueryPredictions({input, language}) | Disabled | Basic |
Note:
For details about the properties and handlers usage in the Geo-map component, see the Geo-map Readme file. For information on the Google Maps APIs in the Geo-map component, see the KB article: KB1588661