Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).ready(function() {
- $('#map_canvas').gmap('search', { 'address': 'Stockholm' }, function(isFound,results) {
- if (isFound) {
- $('#map_canvas').gmap('getMap').panTo(results[0].geometry.location);
- }
- });
- });
Add Comment
Please, Sign In to add comment