# Location Mapping

**URL:** https://discuss.elastic.co/t/location-mapping/193615
**Category:** Logstash
**Created:** [August 2, 2019, 7:34pm UTC](https://discuss.elastic.co/t/location-mapping/193615 "2019-08-02T19:34:31Z")
**Posts on this page:** 1
**Showing post:** 40

<div class="post-metadata">

### Author: ![aaditya\_alekar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aaditya_alekar/32/49351_2.png) [@aaditya\_alekar](https://discuss.elastic.co/u/aaditya_alekar)
#### Post date: [August 5, 2019, 7:59pm UTC](https://discuss.elastic.co/t/location-mapping/193615/40 "2019-08-05T19:59:24Z")

</div>

{  
$schema: [https://vega.github.io/schema/vega/v3.0.json](https://vega.github.io/schema/vega/v3.0.json)  
config: {  
kibana: {  
type: "map"  
latitude: 37.0902  
longitude: 95.7129  
zoom: 4  
}  
}  
data: [  
{  
"name": "cities",  
"values": [  
{"city": "Boston", "lon": 42.308126191, "lat": -71.07692974, "pop": 4823991},  
{"city": "Boston", "lon": 42.34432328, "lat": -71.15778368, "pop": 2270800},  
{"city": "Boston", "lon": 42.37525782, "lat": -71.02466343, "pop": 4485211},  
{"city": "Boston", "lon": 42.32324363, "lat": -71.10892316, "pop": 397397},  
{"city": "Adelaide", "lon": 42.28076737, "lat": -71.04736497, "pop": 1295714}  
]  
transform: [  
{  
type: geopoint  
projection: projection  
fields: ["lon", "lat"]  
}  
]  
}  
]  
marks: [  
{  
type: symbol  
from: {data: "cities"}  
encode: {  
enter: {  
size: {value: 100}  
fill: {value: "black"}  
stroke: {value: "orange"}  
}  
update: {  
x: {field: "x"}  
y: {field: "y"}  
}  
}  
}  
]  
}

I want to plot the map of US with Boston as the main city.

---

_[View the full topic](https://discuss.elastic.co/t/location-mapping/193615)._
