![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@angular/google-maps
Advanced tools
@angular/google-maps is an Angular package that provides a set of Angular components and services for integrating Google Maps into Angular applications. It allows developers to easily add maps, markers, and other map-related functionalities to their Angular projects.
Displaying a Google Map
This feature allows you to display a basic Google Map in your Angular application. The map's height and width can be customized using the height and width attributes.
{
"template": "<google-map height='400px' width='750px'></google-map>",
"component": "import { Component } from '@angular/core';\n\n@Component({\n selector: 'app-map',\n templateUrl: './map.component.html',\n styleUrls: ['./map.component.css']\n})\nexport class MapComponent {}"
}
Adding Markers to the Map
This feature allows you to add markers to the Google Map. The position of the marker is specified using latitude and longitude coordinates.
{
"template": "<google-map height='400px' width='750px'>\n <map-marker [position]="{lat: 37.421995, lng: -122.084092}"></map-marker>\n</google-map>",
"component": "import { Component } from '@angular/core';\n\n@Component({\n selector: 'app-map',\n templateUrl: './map.component.html',\n styleUrls: ['./map.component.css']\n})\nexport class MapComponent {}"
}
Handling Map Events
This feature allows you to handle events on the Google Map, such as clicks. The example shows how to log the event details when the map is clicked.
{
"template": "<google-map height='400px' width='750px' (mapClick)='onMapClick($event)'></google-map>",
"component": "import { Component } from '@angular/core';\n\n@Component({\n selector: 'app-map',\n templateUrl: './map.component.html',\n styleUrls: ['./map.component.css']\n})\nexport class MapComponent {\n onMapClick(event: google.maps.MapMouseEvent) {\n console.log('Map clicked', event);\n }\n}"
}
ngx-google-maps is an Angular package that provides components and services for integrating Google Maps into Angular applications. It offers similar functionalities to @angular/google-maps, such as displaying maps and adding markers, but with a different API and additional customization options.
The sources for this package are in the main Angular Material repo. Please file issues and pull requests against that repo.
License: MIT
19.2.0-next.2 "brazilianite-belt" (2025-01-30)
| Commit | Type | Description | | -- | -- | -- | | c1ff40f3b | fix | dialog: default aria-modal to false (#30411) | | de40f2eec | fix | platform: preserve compatibility with angular versions less than 19.1 (#30401) | | 8950ec372 | fix | table: Column sizing and scrolling bug when number of columns in table changes (#30378) | | 73022d8e2 | fix | text-field: auto sizing broken if user styles stretch the element (#30412) | | 8b876d8e4 | fix | tree: fix broken examples in stackblitz (#30387) |
| Commit | Type | Description | | -- | -- | -- | | 0776acc1e | fix | bottom-sheet: switch away from animations module (#30402) | | e91d5091b | fix | button-toggle: incorrect shape of focus indicator in vertical group (#30376) | | 86ad51501 | fix | select: avoid error if panel is closed too quickly (#30408) | | 11f02eecc | fix | select: fixed text color for selected options in multiple select (#30367) | | a44b34794 | fix | select: switch away from animations module | | eb8e998c6 | fix | snack-bar: switch away from animations module (#30381) | | 992aff18c | fix | timepicker: switch away from animations module (#30404) | | 21586aee8 | perf | button: Change frequently missed descendant selectors to child selectors (#30385) | | e4388c6f2 | perf | checkbox: Optimize css selectors (#30386) |
| Commit | Type | Description | | -- | -- | -- | | 61103c542 | fix | hide info window node when opened with content (#30392) |
<!-- CHANGELOG SPLIT MARKER --><a name="19.1.2"></a>
FAQs
Angular Google Maps
We found that @angular/google-maps demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.