Cannot read property get of null

0
Hi, i am facing this current problem of ‘Cannot read property 'get' of null” on my map. It was working fine previously with the same database and settings. but it just happened to have this error.    My database have no null value as i also tried to create a fresh database and connect it up, but it still shows this error. Anyone knows how to fix this error?   
asked
1 answers
2

You said you started with a fresh database. It seems that you don't have any objects in there. Before you show the map on a page, make sure an object is created first (with lat/long values configured) and pass that on to the data grid.

answered