Reply To: Ajax response not working for setCenter() etc

Home Forums MapPress Support Ajax response not working for setCenter() etc Reply To: Ajax response not working for setCenter() etc

#13072
backbeat
Participant

Thanks Chris,

Just tried that and the setCenter(response) is still crashing the page.

When I alert(response) I get a valid lat, long in the alert, but seems like setCenter doesn’t like it. Could it be that the ajax response is not in the correct format for setCenter()? It all works fine if I manually add lat and long to the setCenter() function.

I can send you a link to the site if that would help, but I’d rather not post it here.

Thanks,
Mike