Git Product home page Git Product logo

Comments (3)

egeloen avatar egeloen commented on July 28, 2024

@ro0NL Thx for reporting the issue! If I remember well, I have added it in order to pass an empty object instead of an empty array if there is no options. Anyway according to your issue it was wrong...

Are you sure the marker cluster can take an empty array as 3rd argument?

from ivory-google-map.

egeloen avatar egeloen commented on July 28, 2024

I just try & it works with an empty array. The issue is fixed on master.

from ivory-google-map.

ro0NL avatar ro0NL commented on July 28, 2024

Technically it doesn't matter (http://jsfiddle.net/g9cLC/), based on the docs / what's expected it should be an object;
http://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclusterer/src/markerclusterer.js
* @param {Object=} opt_options support the following options:
var options = opt_options || {};
this.styles_ = options['styles'] || [];

Whatever makes you happy ;-)

from ivory-google-map.

Related Issues (20)

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.