techiva / jquery-ui-map

Automatically exported from code.google.com/p/jquery-ui-map
0 stars 0 forks source link

Call function to change center and zoom of maps #78

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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 giacomo....@gmail.com on 22 Jul 2013 at 9:14

GoogleCodeExporter commented 8 years ago
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 gonzalo....@itecnis.com on 11 Sep 2014 at 6:24