| /******************************************************************************** |
| * Copyright (c) 2020 Contributors to the Eclipse Foundation |
| * |
| * See the NOTICE file(s) distributed with this work for additional |
| * information regarding copyright ownership. |
| * |
| * This program and the accompanying materials are made available under the |
| * terms of the Eclipse Public License v. 2.0 which is available at |
| * http://www.eclipse.org/legal/epl-2.0. |
| * |
| * SPDX-License-Identifier: EPL-2.0 |
| ********************************************************************************/ |
| export class Globals { |
| static INITIAL_LATITUDE = 52.640256; |
| static INITIAL_LONGITUDE = 11.495788; |
| static INITIAL_ZOOM = 6; |
| static MAX_ZOOM = 19; |
| static ICON_SIZE_X_COORDINATE = 41; |
| static ICON_SIZE_Y_COORDINATE = 51; |
| static ICON_ANCHOR_X_COORDINATE = 20; |
| static ICON_ANCHOR_Y_COORDINATE = 51; |
| static MAP_ID = 'map'; |
| static TITLE_ATTRIBUTION = '© <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'; |
| static TITLE_LAYER = 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png'; |
| } |