---
title: "core.init.location.lot / lan / z is not working"
slug: "coreinitlocationlot-lan-z-is-not-working"
tags: ["Error message"]
updated: 2024-02-13T14:55:39Z
published: 2024-02-13T14:55:39Z
canonical: "knowledge.navvis.com/coreinitlocationlot-lan-z-is-not-working"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://knowledge.navvis.com/llms.txt
> Use this file to discover all available pages before exploring further.

# core.init.location.lot / lan / z is not working

## Introduction

### **Problem Desicription**

Setting initial location with core.init.location.lot / lan / z is not working (location is not set, no error in the console)

Example code:

'core.init.location.lon': 11.55031,

'core.init.location.lat': 48.14804,

'core.init.location.z': 2.91

### **Troubleshooting Procedure**

1. Make sure to use all 3 parameters (lon, lat and z)

2. If you are using all 3 parameters, but the location is still not set, check if on the instance you have configured Startup location (under Configuration). If you have configured Startup location, you will need to reset it to be able to use "core.init.location" function (see screenshot below).

![](https://cdn.document360.io/bf174766-fa1a-4fe1-a4d7-b1db1e7cb996/Images/Documentation/coreinitlocationlot-lan-z-is-not-working-image-6gt1kogg.png)

Alternatively you can use "moveToGeoLocation" function.
