I have the following return from an API:
{
"0": {
    "lat": "-30.02897288697400000",
    "lng": "-51.22800440001900000"
},
"1": {
    "lat": "-30.02879088697400000",
    "lng": "-51.22803440001900000"
},
"2": {
    "lat": "-30.02846288697400000",
    "lng": "-51.22814140001900000"
},
"3": {
    "lat": "-30.02822088697400000",
    "lng": "-51.22821640001900000"
},
"4": {
    "lat": "-30.02760388697400000",
    "lng": "-51.22844040001900000"
}
 (...continues)
How do I map that into an Array to use it in my Angular app? So far I've tried creating an array of this object without luck:
export class MyClass {
  lat: string;
  lng: string;
}
and...
handleSuccessfulResponse(response) {
  this.myClass = response;
}
What am I doing wrong?
 
     
    