Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call function to change center and zoom of maps #78

Open
GoogleCodeExporter opened this issue Nov 27, 2015 · 1 comment
Open

Call function to change center and zoom of maps #78

GoogleCodeExporter opened this issue Nov 27, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

Good morning,

I created a map using JSON to load several marker

I would like to introduce a function to display that allows me to change the 
center and zoom.

The function is called by different links within the HTML page,

function setregion() {
        
$ ('# map_canvas'). gmap ({
                                 'callback': 
function () {
var self = this;
/ / Marker
$ ('# map_canvas'). gmap.setCenter (17.3926,78.428435);
}
                                        
   
});
}


The feature introduced does not report errors but the map does not change.
I'm using jquery-ui-map-3.0-rc.

Thanks in advance.



Original issue reported on code.google.com by [email protected] on 22 Jul 2013 at 9:14

@GoogleCodeExporter
Copy link
Author

Could you solve this?
I also load a map with json markers, fullscreen. 
But when displayed, I have some whitespace beteween map and header/footer. 
Until I zoom in

Original comment by [email protected] on 11 Sep 2014 at 6:24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant