diff --git a/templates/map/umap.tmpl b/templates/map/umap.tmpl index f320c689c9..83e1143805 100644 --- a/templates/map/umap.tmpl +++ b/templates/map/umap.tmpl @@ -2821,7 +2821,9 @@ var addressPoints = [ {{range .Users}} - [parseFloat({{.Location}}.split(',')[0]) , parseFloat({{.Location}}.split(',')[1]), "{{avatar .}} {{.HomeLink}} {{.FullName}} {{.Description}}"], + {{if .LocationCoordinate}} + [parseFloat({{.LocationCoordinate}}.split(',')[0]) , parseFloat({{.LocationCoordinate}}.split(',')[1]), "{{avatar .}} {{.HomeLink}} {{.FullName}} {{.Description}}"], + {{end}} {{else}} {{end}} @@ -2831,16 +2833,15 @@
- Mouse over a cluster to see the bounds of its children and click a cluster to zoom to those bounds