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

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

c# - Exception when attempting to modify Dictionary -