Cannot read property ‘0’ of null

You are here:

If the map does not display and instead it displays this error, most likely it’s something related with your markers coordinates.

Cannot read property '0' of null

This is how the error looks like:

Cannot read property '0' of null

This might be improved in future versions of the plugin, but right now some operations fail when the coordinates added for a marker sit outside the visible area of the chosen map.

For example, if you’re using the US map but add coordinates for a location in Europe, you might come across this issue.

Review your marker coordinates and if this stars happening after a particular marker was added, make sure the coordinates are correct.

Posted by Carlos Moreira

Lead developer of Interactive Geo Maps plugin.