2247134155 / jquery-ui-map

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

Search does not work #64

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Trying to perform a search by address using jquery-ui-map plug-in.

Firefox reports: TypeError: h[b] is undefined 
/js/ui-map/jquery.ui.map.full.min.js Line: 2

$(document).ready(function() {
        $('#map_canvas').gmap('search', { 'address': 'Stockholm' }, function(isFound,results) {
            if (isFound) {
                $('#map_canvas').gmap('getMap').panTo(results[0].geometry.location);
            }
        });
});

Original issue reported on code.google.com by ra...@angarka.ru on 1 Oct 2012 at 4:26

GoogleCodeExporter commented 9 years ago
Same error with "findMarker" 

$('#map').gmap('findMarker', 'someAttribut', someValue, function(found, marker) 
{
    if(found)
        marker.setVisible(true);
});

Original comment by tfs...@gmail.com on 18 Oct 2012 at 4:43