Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8829855
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T07:55:51+00:00 2026-06-14T07:55:51+00:00

Trying to perform a search by address using jquery-ui-map plug-in. Firefox reports: TypeError: h[b]

  • 0

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);
            }
        });
});

Please help.

EDIT: Reported to developer at http://code.google.com/p/jquery-ui-map/issues/detail?id=64

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T07:55:52+00:00Added an answer on June 14, 2026 at 7:55 am

    instead of gmap(‘getMap’) one should use gmap(‘get’,’map’). Besides you swapped isFound and results The correct sample is:

    $(document).ready(function() {
            $('#map_canvas').gmap('search', { 'address': 'Stockholm' }, function(results,isFound) {
                if (isFound) {
                    $('#map_canvas').gmap('get','map').panTo(results[0].geometry.location);
                }
            });
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to perform a search-replace in several JCLs but I need multi-line capabilities,
I am trying to perform a search query using drop down boxes with a
I'm having an issue with trying to perform a full text search on a
I'm using the linkedin JS API I'm trying to perform people search , It's
I am trying to perform a Twitter search using the PEAR package Services_Twitter. Unfortunately
I am trying to perform a Bing Search by using the Windows Azure Marketplace
I am trying to perform searches in Japanese using the custom google search api
I am trying to perform a search for documents within a SharePoint site, but
I'm trying to perform a fulltext search with codeigniters built in Active Record methods.
I'm trying perform a relatively basic TCP socket send/receive operation on Windows CE using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.