M
M
Max2018-07-26 20:52:10
Angular
Max, 2018-07-26 20:52:10

Angular google maps customization?

How to load map styles into an Angular application, for example from here https://mapstyle.withgoogle.com/, in JSON format.
Who knows, share

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Max, 2018-07-26
@maxIvanenqo

Maybe someone else will be interested - here's the answer.
Everything turned out to be very simple. Adding the directive [styles]="styles" to
In the component, the styles themselves are
styles=[{
}]

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question