Code Monkey home page Code Monkey logo

markerclusterer's Introduction

Google Maps V3 Marker Clusterer

This is a fork of Xiaoxi Wu's MarkerClusterer library for Google Maps V3.

The original repository can be found here: http://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclusterer/

NOTE: I will likely only be editing src/markerclusterer.js, since that's really the only part I care about. The docs, examples, images, and compiled version all came along when I forked from the original SVN repository.

Added Features

  • Support for offsetX and offsetY style options that can be used to make cluster icons off-center. Useful if you want a pin-shaped cluster marker, for example.
  • Support a negative value for the X anchor. This adds padding-right instead of padding-left, in order to cut back the area labels can use on the right side instead of the left side.
  • Support for textAlign style option, that takes left, center, right, to override the default value used by the library. Useful with a negative X anchor for right-justification.
  • Support for fontFamily style option that allows you to style the text label with a different font.
  • Support for fontWeight style option that allows you to override the default bold text label.
  • Don't re-center the map on the clicked cluster if the map is already at maximum zoom and not performing any additional zoom-in.

markerclusterer's People

Contributors

scottwb avatar

Watchers

 avatar

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.