How to get the map object? -
i have several maps in web application. in point of time have change center of map or marker position. can't use map object other .js file ("referenceerror: map not defined"). how map object, if know dom? know map uses id - "map_wrap".
thank attention.
the problem has been resolved. declare 2 variables (map , marker) before map initialization function. in function override them. have become global variables.
Comments
Post a Comment