angular-google-maps
angular-google-maps copied to clipboard
Add `mapId` map init option to `agm-map` directive
Not all google.maps.Map options are included in the mapId
and this is different than the mapTypeId
, it allows us to use the Google Maps API styling and Vector maps for the recently introduced WebGL features:
- https://developers.google.com/maps/documentation/javascript/styling
- https://issuetracker.google.com/issues/35821626
This is very important for our project and we would very much appreciate the inclusion of mapId
in the <agm-map>
component, because mapId
can only be set for the map options when initializing google.maps.Map(element, options)
as the setOptions({ mapId: "..."})
has no effect later as the documentation mentions,
Thank you.
This is really important and good thing For some reason this PR was canceled https://github.com/SebastianM/angular-google-maps/pull/1888
It doesn't seem to be a lot of effort to add this feature
@SebastianM Any news on the next update? Thank you.
This would be really helpful to have in there so we can control what style of map Google serves up on the GCP console.
I would also like to use this feature and considering the cancelled PR #1888 , it doesn't look complicated to set up. But considering the history of the project, the absence of updates for 5 months, @SebastianM Is the project still being maintained?
I am also trying to figure out how can I use mapID & webGLOverlay with AGM, unfortunately cannot find any way.
hello everyone, is there any way to set the mapId manually by modifying the agm source code? the code that is the folder node_modules/@agm/core in the node
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
do something about it please
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I'd also like to see this
If it helps, I ended up migrating my project to angular 13 and using the "official" google map component, my transition didn't require much modification https://github.com/angular/components/tree/master/src/google-maps#readme