Skip to content Skip to sidebar Skip to footer

Why Do I Get "map.set_center Is Not A Function"?

This code have been working until I updated last night. The code works perfectly on my localhost, but I get an error on my test server. The error message (from Firebug) is 'map.set

Solution 1:

It seems there is no set_center method in the Map class ; you should probably use setCenter, instead.


Post a Comment for "Why Do I Get "map.set_center Is Not A Function"?"