[OpenLayers-Users] map.setCenter throws maxExtent has no properties

Christopher Schmidt crschmidt at metacarta.com
Mon Jun 11 13:17:37 EDT 2007


On Mon, Jun 11, 2007 at 12:06:19PM -0500, Ed Fialkowski wrote:
> For some reason, the last 2 calls (map4.setCenter, and map5.setCenter) throw
> an error:
> Error: maxExtent has no properties
> Source File: http://openlayers.org/api/2/OpenLayers.js
> Line: 488

You possibly don't have a base layer on these maps? that's what the
error generally means.

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list