1
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
/.idea/*
|
||||
*.db
|
||||
web/node_modules/
|
||||
web/dist/
|
||||
@@ -50,7 +50,7 @@ type amapPoi struct {
|
||||
Name string `json:"name"`
|
||||
Type string `json:"type"`
|
||||
Typecode string `json:"typecode"`
|
||||
Address string `json:"address"`
|
||||
Address amapString `json:"address"`
|
||||
Tel amapString `json:"tel"`
|
||||
Location string `json:"location"`
|
||||
BusinessArea amapString `json:"business_area"`
|
||||
@@ -175,7 +175,7 @@ func (s *poiService) toPoiItem(p *amapPoi) *dto.PoiItem {
|
||||
return &dto.PoiItem{
|
||||
PoiId: p.Id,
|
||||
Name: p.Name,
|
||||
Address: p.Address,
|
||||
Address: string(p.Address),
|
||||
Phone: string(p.Tel),
|
||||
Category: p.Type,
|
||||
City: string(p.City),
|
||||
|
||||
@@ -371,6 +371,7 @@ function provinceChanged() {
|
||||
html, body, #app {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
@@ -88,7 +88,6 @@ function addMarkers(pois) {
|
||||
})
|
||||
|
||||
currentMarkers.push(marker)
|
||||
bounds.extend([lat, lng])
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user