How can I plot geoinformation from elasticsearch index on kibana maps? I am using kibana version 7.11.1

Hii.I have documents in my elasticsearch index which contains geographical information.How can I plot this information on kibana maps?

This is my document:-

{
    "@timestamp" => 2021-03-25T07:39:16.648Z,
         "myloc" => {
              "dma_code" => 819,
           "region_code" => "WA",
              "location" => {
            "lon" => -122.3451,
            "lat" => 47.6348
        },
             "city_name" => "Seattle",
           "region_name" => "Washington",
           "postal_code" => "98109",
              "latitude" => 47.6348,
        "continent_code" => "NA",
                    "ip" => "3.7.23.139",
         "country_code3" => "US",
          "country_name" => "United States",
             "longitude" => -122.3451,
              "timezone" => "America/Los_Angeles",
         "country_code2" => "US"
    },
          "host" => "0.0.0.0",
      "@version" => "1",
       "message" => "3.7.23.139"
}

Hi,

Could you have a look at our tutorial and then come back if you have any specific questions around this?

Make sure the location field is mapped as geo_point

Ok. I will refer that tutorial and come back to you if there is any query?

Yes,my "location" field mapping is set to geo-point