mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-03-12 01:32:12 +00:00
refactor: polish map module ui/ux
This commit is contained in:
@@ -58,7 +58,11 @@ export class MapWidgetComponent implements OnInit {
|
||||
* Prepare the map
|
||||
*/
|
||||
ngOnInit() {
|
||||
const markerLayer = MapProvider.getPointMarker(this.place.geo.point);
|
||||
const markerLayer = MapProvider.getPointMarker(
|
||||
this.place.geo.point,
|
||||
'stapps-location',
|
||||
32,
|
||||
);
|
||||
this.options = {
|
||||
center: geoJSON(this.place.geo.polygon || this.place.geo.point)
|
||||
.getBounds()
|
||||
|
||||
Reference in New Issue
Block a user