Giter VIP home page Giter VIP logo

google-maps-utility-library-v3-markerwithlabel's Introduction

google-maps-utility-library-v3-markerwithlabel

Dependencies  Dependencies  Build Status

Purpose:

Google code's hosting of http://google-maps-utility-library-v3.googlecode.com/svn/tags/markerwithlabel/1.1.10/src/markerwithlabel.js as a resource no longer works. This project does not seem to have been forked anywhere yet (via this list). Therefore this lib is being published here to work with bower and npm.

Official API Support:

Since August 2015, the official API supports adding a single character as custom label text on top of a custom icon. For some cases, this may be sufficient. There is also a maps API issue requesting the one char restriction be relaxed. This combined with the existing support for custom icons should help more people eliminate the need for the Marker With Label library. If possible please star that issue to encourage Google to fix it - thanks!

google-maps-utility-library-v3-markerwithlabel's People

Contributors

nmccready avatar robd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

google-maps-utility-library-v3-markerwithlabel's Issues

git clone failing

Hi,

I'm opening this issue because:

"npm install" is failing to pull down github.com/nmccready/google-maps-utility-library-v3-markerwithlabel.git

What's going wrong?

We have a dependency on angular-google-maps (v 2.4.1). This package depends on github.com/nmccready/google-maps-utility-library-v3-markerwithlabel.git
on running npm install, the following error is being given :
Cloning into bare repository '/Users/paul/.npm/_git-remotes/git-github-com-nmccready-google-maps-utility-library-v3-markerwithlabel-git-535ad55b'...
npm ERR! fatal: read error: Connection reset by peer

We can still browse to https://github.com/nmccready/google-maps-utility-library-v3-markerwithlabel successfuly.
However attempts to clone the repo fail with the same "Connection reset by peer" error.

How can the CLI team reproduce the problem?

run:
git clone git://github.com/nmccready/google-maps-utility-library-v3-markerwithlabel.git

supporting information:

running mac
Thanks you

Paul Sinkinson

Uncaught TypeError: Cannot read property 'removeChild' of null

On line 299 and 300, after Google removed version 3.31, this started to fail with Uncaught TypeError: Cannot read property 'removeChild' of null

Adding these conditions should fix the problem:

  if (this.labelDiv_.parentNode) {
    this.labelDiv_.parentNode.removeChild(this.labelDiv_);
  }
  
  if (this.eventDiv_.parentNode) {
    this.eventDiv_.parentNode.removeChild(this.eventDiv_);
  }
  
  if (this.listeners_) {
    // Remove event listeners:
    for (i = 0; i < this.listeners_.length; i++) {
      google.maps.event.removeListener(this.listeners_[i]);
    }
  }

Center ping

Set label center float , and not change position if move map

Installing npm packages with Meteor

I'm facing a problem installing the npm packages in my app when I run meteor npm install.
After this line I got some errors:
fetchMetadata: verb cache add spec google-maps-utility-library-v3-markerwithlabel@git://github.com/nmccready/google-maps-utility-library-v3-markerwithlabel.git
This is the first one:

git://github.com/nmccready/google-maps-utility-library-v3-markerwithlabel.git resetting remote C:\Users\Casa\AppData\Local\.meteor\packages\meteor-tool\1.3.5_1\mt-os.windows.x86_32\dev_bundle\.npm\_git-remote
s\git-github-com-nmccready-google-maps-utility-library-v3-markerwithlabel-git-535ad55b because of error: { [Error: Command failed: ] killed: false, code: 1, signal: null }

Thanks in advance!

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.