I get the following error when I set Use AJAX to Yes and apply filters to the view.

Error during map rendering: TypeError: this.center is null

The exposed filters are in a block and work fine when Use AJAX is set to no.

Comments

hitfactory’s picture

StatusFileSize
new1.55 KB
new5.67 KB

Attaching export of preset and error message from Firebug in case that helps.

tmcw’s picture

Category: bug » support

The root cause of this is that the OpenLayers module currently doesn't support Use AJAX; I'm surprised that it allowed that option.

hitfactory’s picture

Ah right. The Use AJAX option appears in the Open Layers Map display. Unfortunately I don't know enough about how the map gets rendered to figure this out so feel free to close the issue.

tmcw’s picture

Status: Active » Closed (works as designed)

Yeah, it appears that, without creating a new "alternate page" display plugin, it isn't possible for a style plugin to restrict whether a view has AJAX enabled or not. So, closing, although down the line it should be possible to enable AJAX with other work that's going down here.

Dave-B’s picture

subscribe