Coder Social home page Coder Social logo

google-maps-extensions's People

Contributors

deimosx0x avatar

google-maps-extensions's Issues

Problem implementation

hey dude, im beginning in this stuff and I just wanna know how implements your 
javascript archives.

Thanks.
Edgar galvan

Original issue reported on code.google.com by [email protected] on 12 Jan 2011 at 5:49

a.lat is not a function

My code: note that polygons[bucket][id] is an array of arrays full of polygons 
that are working and displaying properly. im trying to make sure that the map 
zooms to fit all of the visible ones

    function resize_map()
    {
        bounds = new google.maps.LatLngBounds()
        for(bucket in polygons)
      {
            for(id in polygons[bucket])
            {
                if(polygons[bucket][id].getVisible() == true)
                {
                    bounds = map.getBounds();
                    bounds.extend(polygons[bucket][id].getBounds());
                }
            }
      }     
    }

What I am seeing in my JS console in firefox browser:

a.lat is not a function
intersects(a=ge { ca=fe, ea=be, getCenter=function(), more...})main.js (line 14)
resize_map()/search/last/ (line 404)
redo_map(tab="state")/search/last/ (line 493)
select(event=Object { type="tabsselect", timeStamp=1337877084664, 
jQuery17105264853755688902=true, more...}, ui=Object { tab=a, 
panel=div#state.ui-tabs-panel, index=1})script.js (line 21)
focus(b="select", c=Object { type="tabsselect", timeStamp=1337877084664, 
jQuery17105264853755688902=true, more...}, d=Object { tab=a, 
panel=div#state.ui-tabs-panel, index=1})jquery-ui.min.js (line 9)
using()jquery-ui.min.js (line 14)
add(c=Object { originalEvent=Event click, type="click", timeStamp=2142255604, 
more...})jquery.min.js (line 3)
add(a=click clientX=98, clientY=85)jquery.min.js (line 3)
[Break On This Error]   

...a)};H.cb=Vc(4);ra(H,function(a){this.ca[ib](a.lat());this.ea[ib](a.lng());ret
urn...

main.js (line 14)

thanks

Original issue reported on code.google.com by [email protected] on 24 May 2012 at 4:35

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.