jquery goMap plugin and google maps api V3 fitBounds to a country -


i using gomap jquery plugin integrating google maps api v3. have external controls overlapped on map - list of countries , fit bounds off map clicked country.

gomap has fitbounds function fits bounds of markers on map. found question , answer regarding how fit bounds of map country google maps api v2 , v3 here, don't know how combine gomap plugin.

i haven't used gomap, appears can access google maps api map object $.gomap.map. can use google api fitbounds (or whatever) function directly. again, i'm not sure 1 way or other if there bad side-effects related state of gomap object.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -